]> granicus.if.org Git - recode/commitdiff
contrib/recode.spec2
authorFrançois Pinard <pinard@iro.umontreal.ca>
Fri, 22 Feb 2008 19:49:38 +0000 (14:49 -0500)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Fri, 22 Feb 2008 22:03:59 +0000 (17:03 -0500)
THANKS
contrib/README
contrib/recode.spec1 [moved from contrib/recode.spec with 100% similarity]
contrib/recode.spec2 [new file with mode: 0644]

diff --git a/THANKS b/THANKS
index f2cb48fd5fbf829d0b2e022a4b4c1f707b07e73f..03d28baca0c22995ddeac107e6c46c0cd6b8f185 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -24,6 +24,8 @@ Arnaldo Mandel                am@ime.usp.br
 Bastian Schlueter      buzz@gmx.de
                        http://home.pages.de/~buzz
 Ben Sittler            bsittler@knownow.com
+Bennett Todd           bet@rahul.net
+                       http://bent.latency.net/
 Bernt Guldbrandtsen    bg@rs580.sh.dk
 Bert Schweitzer                b.schweitzer@tu-bs.de
 Branimir Dolicki
index 0e40235e0ae7b7889bdec960935e367080cfe8e3..d8578fa6954738b1d52665bd9bf208e4ceec2f00 100644 (file)
@@ -59,10 +59,26 @@ help me at deciding what should be kept and what should go away.
   These makefiles allow building Recode 3.4k on Amiga.  Submitted by
   Stefan Haubenthal, 1998-11.
 
-+ :file:`recode.spec`
++ :file:`recode.spec1`
 
-  RPM spec file to prepare Recode on RedHat.  Submitted by David Lebel,
-  2000-06.
+  RPM spec file to prepare Recode 3.5c on RedHat.  Submitted by David
+  Lebel, 2000-06.
+
++ :file:`recode.spec2`
+
+  RPM spec file to prepare Recode 3.5d on RedHat.  Submitted by Bennett
+  Todd, 2002-01.  Bennett writes (more or less):
+
+    This spec file allows portable building.  Users could download the
+    tar archive and simply ``rpm -ta`` it to build themselves source and
+    binary :code:`rpm`\ s.  If they had their :code:`rpm` directory,
+    they could even do it while not being ``root``.  For example, my
+    :file:`~/.rpmmacros` reads::
+
+      %_topdir    /home/bet/rpm
+
+    without a leading tab. Hence my :file:`/usr/src/redhat/` is still
+    ``root:root``, and yet I can do my :code:`rpm` building as myself.
 
 External pointers
 =================
similarity index 100%
rename from contrib/recode.spec
rename to contrib/recode.spec1
diff --git a/contrib/recode.spec2 b/contrib/recode.spec2
new file mode 100644 (file)
index 0000000..0e62781
--- /dev/null
@@ -0,0 +1,47 @@
+Name:    recode
+Version: 3.5d
+Release: 2
+Summary: Converter between charsets and surfaces
+Group:   Utilities/Text
+
+Vendor:    Progiciels Bourbeau-Pinard inc.
+Copyright: GPL, LGPL
+Packager:  Franc,ois Pinard <pinard@iro.umontreal.ca>
+
+Source: http://recode.progiciels-bpi.ca/archives/recode-3.5d.tar.gz
+URL:    http://recode.progiciels-bpi.ca/
+
+Buildroot: /var/tmp/%{name}-rpmroot
+
+%description
+The recode library converts files between character sets and usages.
+It recognises or produces more than 300 different character sets
+and transliterates files between almost any pair.  When exact
+transliteration are not possible, it gets rid of offending characters
+or fall back on approximations.  The recode program is a handy
+front-end to the library.
+
+%prep
+%setup
+
+%build
+./configure --prefix=/usr
+make
+
+%install
+mkdir -p $RPM_BUILD_ROOT/usr
+make prefix=$RPM_BUILD_ROOT/usr install
+
+%changelog
+* Thu Jan 31 2002 Bennett Todd <bet@rahul.net>
+  3.5d-2: started w/ spec file from tarball, made spec portable
+
+%files
+%defattr(-,root,root)
+%doc ABOUT-NLS AUTHORS BACKLOG ChangeLog COPYING COPYING-LIB INSTALL NEWS PATCHES-AC README README-alpha THANKS TODO doc
+/usr/bin/*
+/usr/include/*
+/usr/lib/*
+%doc /usr/info/%{name}*
+%doc /usr/man/*/*
+/usr/share/locale/*/LC_MESSAGES/*