--- enca.spec.orig 2007-04-16 02:02:28 +0400 +++ enca.spec 2008-01-12 04:12:20 +0300 @@ -2,7 +2,7 @@ Name: enca Version: 1.9 -Release: alt2.0 +Release: alt3 Summary: A program that guesses encoding of text files License: GPL @@ -14,8 +14,13 @@ Source: http://trific.ath.cx/Ftp/enca/en PreReq: sed, lib%name = %version-%release BuildPreReq: bzip2-devel -# Automatically added by buildreq on Fri Apr 22 2005 -BuildRequires: gcc-c++ libstdc++-devel perl-Encode perl-Unicode-Map recode xorg-x11-locales +# Optional requires for external convertors: +# recode recode-devel +# perl-Encode perl-Unicode-Map perl-Unicode-Map8 +%add_findreq_skiplist %_libexecdir/%name/ + +# Automatically added by buildreq on Sat Jan 12 2008 +BuildRequires: gcc-c++ gtk-doc Summary(ru_RU.KOI8-R): Программа, "угадывающая" кодировку текстовых файлов Summary(uk_UA.KOI8-U): Програма, що "вгаду╓" кодування текстових файл╕в @@ -89,30 +94,26 @@ programs using the Extremely Naive Chars %build unset CC CXX -%configure -# SMP-incompatible build.??? +%configure %{subst_enable static} --without-librecode %make_build %install %makeinstall HTML_DIR=%buildroot%_docdir/%name-%version/html -%if_disabled static -%__rm -f %buildroot%_libdir/*.a -%endif - %files -%_bindir/* +%_bindir/enca +%_bindir/enconv +%_libexecdir/%name/ %doc %_man1dir/* %doc AUTHORS COPYING ChangeLog ChangeLog.prelib NEWS README THANKS TODO %files -n lib%name -%_libdir/*.so.* +%_libdir/libenca.so.* %files -n lib%name-devel -%_includedir/* -%_libdir/*.so -%_libexecdir/%name/ -%_libdir/pkgconfig/enca.pc +%_includedir/enca.h +%_libdir/libenca.so +%_pkgconfigdir/enca.pc %doc README.devel INSTALL devel-docs/html %if_enabled static @@ -124,6 +125,13 @@ unset CC CXX %postun -n lib%name -p %postun_ldconfig %changelog +* Sat Jan 12 2008 Vitaly Lipatov 1.9-alt3 +- cleanup spec, update buildreq +- move libdir/%name to main package +- disable requires from external convertors +- strict entries in files sections +- really disabled build with librecode + * Mon Apr 16 2007 ALT QA Team Robot 1.9-alt2.0 - Automated rebuild.