Name: enca Summary: Character set analyzer and detector Version: 1.13 Release: 1%{?_dist_release} License: GPLv2 Group: Applications/Text Source: http://dl.cihar.com/enca/enca-%{version}.tar.bz2 URL: http://gitorious.org/enca BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Enca is an Extremely Naive Charset Analyser. It detects character set and encoding of text files and can also convert them to other encodings using either a built-in converter or external libraries and tools like libiconv, librecode, or cstocs. Currently, it has support for Belarussian, Bulgarian, Croatian, Czech, Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian, Chinese and some multibyte encodings (mostly variants of Unicode) independent on the language. This package also contains shared Enca library other programs can make use of. Install %{name} if you need to cope with text files of dubious origin and unknown encoding and convert them to some reasonable encoding. %package devel Summary: Header files and libraries for %{name} charset analyzer Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains the static libraries and header files for writing programs using the Extremely Naive Charset Analyser library, and its API documentation. Install %{name}-devel if you are going to create applications using the Enca library. %prep %setup -q %build %configure \ --disable-dependency-tracking \ --without-librecode \ --disable-external \ --disable-static \ --disable-gtk-doc %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT HTML_DIR=/tmp/html %{__rm} -rf $RPM_BUILD_ROOT/tmp/html %{__rm} -rf $RPM_BUILD_ROOT/%{_libexecdir} %{__rm} -f $RPM_BUILD_ROOT/%{_libdir}/*.la %check %{__make} check %clean %{__rm} -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/libenca.so.* %{_mandir}/*/* %doc AUTHORS COPYING FAQ README THANKS TODO %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/pkgconfig/* %{?_with_static: %{_libdir}/*.a} %{_libdir}/*.so %doc devel-docs/html/*.html README.devel %changelog * Thu Jan 20 2011 Kazutaka HARADA 1.13-1 - new upstream release * Wed Dec 30 2009 Kazutaka HARADA 1.10-1 - initial build for Vine Linux based on fedora development * Tue Aug 25 2009 Dmitry Butskoy - 1.10-1 - Update to 1.10 - Change urls for new upstream * Fri Jul 24 2009 Fedora Release Engineering - 1.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 1.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 18 2008 Fedora Release Engineering - 1.9-4 - Autorebuild for GCC 4.3 * Thu Aug 16 2007 Dmitry Butskoy - Change License tag to GPLv2 * Fri Sep 1 2006 Dmitry Butskoy - 1.9-3 - rebuild for FC6 * Tue Feb 14 2006 Dmitry Butskoy - 1.9-2 - rebuild for FC5 * Mon Dec 19 2005 Dmitry Butskoy - 1.9-1 - upgrade to 1.9 * Mon Nov 28 2005 Dmitry Butskoy - 1.8-1 - upgrade to 1.8 - update description * Fri Sep 16 2005 Dmitry Butskoy - 1.7-4 - clenup in docs - Accepted for Fedora Extra (review by Ville Skytta ) * Thu Sep 9 2005 Dmitry Butskoy - 1.7-3 - build static libs conditionally - disable external converters (#167820) * Thu Sep 8 2005 Dmitry Butskoy - 1.7-2 - more cleanups (#167820) * Thu Sep 8 2005 Dmitry Butskoy - 1.7-1 - spec cleanups for Fedora Extra - avoid build with librecode, use just glibc's iconv - avoid any gtk dependencies, html docs are already present in the source * Mon May 17 2004 David Necas (Yeti) - doubled percents in changelog * Mon Dec 22 2003 David Necas (Yeti) - moved wrappers to libexec * Thu Nov 6 2003 David Necas (Yeti) - added b-piconv - fixed HTML doc install paths * Tue Oct 14 2003 David Necas (Yeti) - testing whether $RPM_BUILD_ROOT is not / - updated for new HTML doc location - changed make -> %%__make, rm -> %%__rm * Sat Aug 2 2003 David Necas (Yeti) - cleaning $RPM_BUILD_ROOT in %%install * Sat Jun 28 2003 David Necas (Yeti) - removed --disable-gtk-doc, no longer needed * Fri Jun 20 2003 David Necas (Yeti) - added enca.pc to devel package * Sat Jun 14 2003 David Necas (Yeti) - updated description - added --disable-gtk-doc * Mon Dec 23 2002 David Necas (Yeti) - added libenca.so * Fri Dec 20 2002 David Necas (Yeti) - fixed URL and Source to trific.ath.cx * Mon Oct 21 2002 David Necas (Yeti) - added FAQ to docs * Thu Oct 10 2002 David Necas (Yeti) - removed twice-listed %%{docdir}/html * Sat Sep 21 2002 David Necas (Yeti) - added b-umap * Sun Sep 15 2002 David Necas (Yeti) - added enconv * Thu Aug 29 2002 David Necas (Yeti) - removed bzip2-devel buildprereq * Sat Aug 24 2002 David Necas (Yeti) - added postinstall and postuninstall scriptlets * Wed Aug 21 2002 David Necas (Yeti) - updated to enca-0.10.0-pre2 - added libenca - split into enca and enca-devel - removed cache - fixed HTML_DIR * Tue Jul 10 2001 David Necas (Yeti) - changed rpm macros in Source and URL to autoconf macros to ease debian/ stuff generation * Sun May 20 2001 David Necas (Yeti) - added BuildPrereq: bzip2-devel * Wed May 2 2001 David Necas (Yeti) - changed group to standard (but much less appropriate) Applications/Text - rpm macros are used instead of autoconf macros (after the first definition) * Sun Mar 11 2001 David Necas (Yeti) - added defattr, doc attributes - uses global configure cache - heavy use of predefined directories - configure moved to build section as is usual * Sun Feb 25 2001 David Necas (Yeti) - updated to enca-0.9.0pre4 (including files and descriptions) - added sed dependency * Sun Oct 25 2000 David Necas (Yeti) - updated to enca-0.7.5 * Sun Oct 11 2000 David Necas (Yeti) - removed redundant Provides: enca * Sun Oct 1 2000 David Necas (Yeti) - updated to enca-0.7.1 - man page forced to be intstalled to ${prefix}/share/man * Tue Sep 26 2000 David Necas (Yeti) - updated to enca-0.7.0 - spec autogenerated by configure * Tue Sep 19 2000 David Necas (Yeti) - fixed not installing bcstocs * Wed Sep 13 2000 David Necas (Yeti) - first packaged (0.6.2)