From: François Pinard Date: Fri, 22 Feb 2008 19:49:38 +0000 (-0500) Subject: contrib/recode.spec2 X-Git-Tag: v3.7-beta1~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca62b39483c22a400f5537e7b5afd3f40af8e15c;p=recode contrib/recode.spec2 --- diff --git a/THANKS b/THANKS index f2cb48f..03d28ba 100644 --- 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 diff --git a/contrib/README b/contrib/README index 0e40235..d8578fa 100644 --- a/contrib/README +++ b/contrib/README @@ -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 ================= diff --git a/contrib/recode.spec b/contrib/recode.spec1 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 index 0000000..0e62781 --- /dev/null +++ b/contrib/recode.spec2 @@ -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 + +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 + 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/*