--- recode.spec 2004-06-20 17:55:18 +0400 +++ recode.spec 2004-11-29 00:48:40 +0300 @@ -1,14 +1,16 @@ Name: recode Version: 3.6 -Release: alt5 +Release: alt6 License: GPL Group: Text tools -Source: http://www.iro.umontreal.ca/contrib/recode/%name-%version.tar.bz2 Url: http://www.iro.umontreal.ca/~pinard/ +Source: http://www.iro.umontreal.ca/contrib/recode/%name-%version.tar.bz2 +Patch: recode.patch + Summary: The `recode' library converts files between character sets and usages -Summary(ru_RU.KOI8-R): Библиотека recode конвертирует файлы из разных кодировок. +Summary(ru_RU.KOI8-R): Библиотека recode конвертирует файлы из разных кодировок %description The `recode' library converts files between character sets and usages. @@ -33,23 +35,14 @@ %prep %setup -q +%patch -p1 %build -if [ ! -f configure ]; then - CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh \ - --prefix=%prefix -else - CFLAGS="$RPM_OPT_FLAGS" ./configure \ - --prefix=%prefix -fi - +%configure %make_build %install -make install-strip \ - prefix=$RPM_BUILD_ROOT%prefix \ - infodir=$RPM_BUILD_ROOT%_infodir \ - mandir=$RPM_BUILD_ROOT%_mandir +%makeinstall cd $RPM_BUILD_ROOT%prefix/lib strip --strip-debug *.so* @@ -61,10 +54,10 @@ %post %post_ldconfig -%postun -p %postun_ldconfig +%postun +%postun_ldconfig %files -f %name.lang -%defattr(-, bin, bin) %_bindir/* %_libdir/*.so* %_infodir/%name.info* @@ -72,12 +65,14 @@ %doc ABOUT-NLS AUTHORS BACKLOG COPYING COPYING-LIB ChangeLog INSTALL THANKS TODO %files devel -%defattr(0555, bin, bin) - %_includedir/* %_libdir/*.a %changelog +* Mon Nov 29 2004 Vitaly Lipatov 3.6-alt6 +- add a patch file from kota@szbk.u-szeged.hu (needed for pybliographer) +- spec review + * Sun Jun 20 2004 Maxim Tyurin 3.6-alt5 - added find_lang