# showkey -- keystroke echoer
-VERS=$(shell sed <showkey.spec -n -e '/Version: \(.*\)/s//\1/p')
+VERS=1.6
showkey: showkey.c
$(CC) -DREVISION=$(VERS) showkey.c -o showkey
xmlto html-nochunks showkey.xml
clean:
- rm -f showkey showkey.o showkey.1 *.rpm *.tar.gz
+ rm -f showkey showkey.o showkey.1 *.tar.gz
rm -f MANIFEST SHIPPER.*
install: showkey.1
rm /usr/bin/showkey
rm /usr/share/man/man1/showkey.1
-SOURCES = README COPYING Makefile showkey.c showkey.xml showkey.spec
+SOURCES = README COPYING NEWS control Makefile showkey.c showkey.xml
showkey-$(VERS).tar.gz: $(SOURCES) showkey.1
@ls $(SOURCES) showkey.1 | sed s:^:showkey-$(VERS)/: >MANIFEST
--- /dev/null
+1.6 @ 2012-03-03:
+ Packaging update for new version of shipper. No more RPM spec.
+
+1.5 @ 2003-10-21:
+ Feature added: now displays control-key formulas as well as ASCII memonics.
+ Documentation has been significantly upgraded.
+
+1.4 @ 2003-12-29
+ RPMs can now be built by non-root user.
+
+1.3 @ 2002-08-27
+ Change the implementation to use termios(3) for better portability.
+ Only reference portable signals.
--- /dev/null
+# This is not a real Debian control file
+# It's project metadata for the shipper tool
+
+Package: showkey
+
+Description: a simple keystroke visualizer
+ All this program does is read keystrokes and spit them back at you in
+ a simple, printable form. This is one of these silly little utilities
+ that you never think you'll need until some unexpected situation pops
+ up and you have to have it. Then you get to be mugged by the details
+ of tty-interface code, yippee. Never again!
+
+XBS-Destinations: freecode
+
+Homepage: http://www.catb.org/~esr/showkey
+++ /dev/null
-Name: showkey
-Version: 1.5
-Release: 1
-URL: http://www.catb.org/~esr/showkey/
-Source0: %{name}-%{version}.tar.gz
-License: MIT
-Group: Utilities/System
-Summary: echo raw keystrokes in a readable form
-Packager: Eric S. Raymond <esr@thyrsus.com>
-BuildRoot: %{_tmppath}/%{name}-root
-#Destinations: freshmeat
-
-%description
-All this program does is read keystrokes and spit them back at you in
-a simple, printable form. This is one of these silly little utilities
-that you never think you'll need until some unexpected situation pops
-up and you have to have it. Then you get to be mugged by the details
-of tty-interface code, yippee. Never again!
-
-%prep
-%setup -q
-
-%build
-make %{?_smp_mflags} showkey showkey.1
-
-%install
-[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
-mkdir -p "$RPM_BUILD_ROOT"%{_bindir}
-mkdir -p "$RPM_BUILD_ROOT"%{_mandir}/man1/
-cp showkey "$RPM_BUILD_ROOT"%{_bindir}
-cp showkey.1 "$RPM_BUILD_ROOT"%{_mandir}/man1/
-
-%clean
-[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
-
-%files
-%defattr(-,root,root,-)
-%{_mandir}/man1/showkey.1*
-%{_bindir}/showkey
-%doc README
-
-%changelog
-* Thu Oct 21 2003 Eric S. Raymond <esr@snark.thyrsus.com> 1.5-1
-- Feature added: now displays control-key formulas as well as ASCII memonics.
-- Documentation has been significantly upgraded.
-
-* Mon Dec 29 2003 Eric S. Raymond <esr@snark.thyrsus.com> 1.4-1
-- RPMs can now be built by non-root user.
-
-* Tue Aug 27 2002 Eric S. Raymond <esr@snark.thyrsus.com> 1.3-1
-- Change the implementation to use termios(3) for better portability.
-- Only reference portable signals.