]> thyrsus.com Git - hexdump.git/commitdiff
Remove RPM spec, add shipper control file.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 3 Dec 2012 20:25:15 +0000 (15:25 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 3 Dec 2012 20:25:15 +0000 (15:25 -0500)
Makefile
NEWS [new file with mode: 0644]
README
control [new file with mode: 0644]
hexdump.spec [deleted file]

index 81a583fd72ef8da4a5db5feadad876080805a3cb..b85bdab18a5e28019f9c77cc29a276b71ba0472e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-# Makefile for Eric Raymond's silly hex dumper
+# Makefile for Eric Raymond's CP/M-like hex dumper
 
-VERS=$(shell sed <hexdump.spec -n -e '/Version: \(.*\)/s//\1/p')
+VERS=1.8
 
 hexdump: hexdump.c
        $(CC) -DRELEASE=\"$(VERS)\" -O hexdump.c -o hexdump
 
-SOURCES = README COPYING Makefile hexdump.c hexdump.xml hexdump.spec
+SOURCES = README COPYING NEWS control Makefile hexdump.c hexdump.xml
 
 hexdump-$(VERS).tar.gz: $(SOURCES) hexdump.1 
        @ls $(SOURCES) hexdump.1 | sed s:^:hexdump-$(VERS)/: >MANIFEST
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..4787388
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,27 @@
+                       hexdump news
+
+1.8: 2012-12-03
+  Use C99 bools.  Code passes cppcheck audit.
+
+1.7: 2010-10-20
+  Code fully ANSIfied. License changed to BSD.  RPM spec removed.
+
+1.6: 2003-12-29
+  Source RPMs no longer depend on --define myversion
+
+1.5: 2003-12-26
+  Name changed to 'hexdump'.
+
+1.4: 2003-03-04
+  Packaging fixes.
+
+1.3: 2002-07-30
+  Documentation converted to XML-DocBook.  A Windows NT port fix.
+
+1.2: 1999-09-13
+  Added RPM spec.
+
+1.1: 1998-06-29
+  Minor string header port fix.  Archving production.
+
+Based on a 1.0 written in 1983.
diff --git a/README b/README
index 07cf1f332d61fe36412e14b64dbf041c2041678d..144b2b1a79f5ec61ca014c35b3cbe3d7de0865ce 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,10 @@
                                HEXDUMP
                (by Eric S. Raymond <esr@thyrsus.com>)
 
+Yes, it's yet another hex dumper.  This one produces a nice CP/M-like
+format by default and can do EBCDIC.  It's internationalized, too.
+Has many useful formatting functions.
+
 This hex dumper was born because
 
        a) od octal format is appallingly ugly
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..1ef4d7e
--- /dev/null
+++ b/control
@@ -0,0 +1,15 @@
+# This is not a real Debian control file
+# It's project metadata for the shipper tool
+
+Package: hexdump
+
+Description: Dump binary files in a CP/M like hex format.
+ Yes, it's yet another hex dumper.  This one produces a nice CP/M-like
+ format by default and can do EBCDIC.  It's internationalized, too.
+ Has many optional formatting functions.
+
+XBS-Destinations: freecode
+
+Homepage: http://www.catb.org/~esr/hexdump
+
+XBS-Project-Tag-List: hex, binary, dump
diff --git a/hexdump.spec b/hexdump.spec
deleted file mode 100644 (file)
index ee44e6a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-Name: hexdump
-Version: 1.7
-Release: 1
-Summary: yet another hex dumper
-URL: http://www.catb.org/~esr/hexdump/
-Source0: %{name}-%{version}.tar.gz
-License: BSD
-Group: Development/Tools
-BuildRoot: %{_tmppath}/%{name}-root
-#Destinations: freshmeat
-
-%%description 
-Yes, it's yet another hex dumper.  This one produces a nice CP/M-like
-format by default and can do EBCDIC.  It's internationalized, too.
-Has many nifty formatting functions.
-
-%prep
-%setup -q
-
-%build
-make hexdump hexdump.1
-
-%install
-[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
-mkdir -p "$RPM_BUILD_ROOT"/usr/bin
-mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man1/
-cp hexdump "$RPM_BUILD_ROOT"/usr/bin
-cp hexdump.1 "$RPM_BUILD_ROOT"/usr/share/man/man1/
-
-%clean
-[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
-
-%files
-%doc README COPYING
-%defattr(-,root,root,-)
-%{_mandir}/man1/hexdump.1*
-%{_bindir}/hexdump
-
-%changelog
-* Wed Oct 20 2010 Eric S. Raymond <esr@snark.thyrsus.com> 1.7-1
-- Code fully ANSIfied.
-- License changed to BSD.
-
-* Mon Dec 29 2003 Eric S. Raymond <esr@snark.thyrsus.com> 1.6-1
-- Source RPMs no longer depend on --define myversion
-