Blame SPECS/enca.spec

3c6fb4
Name: enca
3c6fb4
Summary: Character set analyzer and detector
3c6fb4
Version: 1.19
3c6fb4
Release: 1%{?dist}
3c6fb4
License: GPLv2
3c6fb4
Group: Applications/Text
3c6fb4
Source: http://dl.cihar.com/enca/enca-%{version}.tar.xz
3c6fb4
URL: http://cihar.com/software/enca
3c6fb4
3c6fb4
3c6fb4
%description
3c6fb4
Enca is an Extremely Naive Charset Analyser. It detects character set and
3c6fb4
encoding of text files and can also convert them to other encodings using
3c6fb4
either a built-in converter or external libraries and tools like libiconv,
3c6fb4
librecode, or cstocs.
3c6fb4
3c6fb4
Currently, it has support for Belarussian, Bulgarian, Croatian, Czech,
3c6fb4
Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian,
3c6fb4
Chinese and some multibyte encodings (mostly variants of Unicode)
3c6fb4
independent on the language.
3c6fb4
3c6fb4
This package also contains shared Enca library other programs can make use of.
3c6fb4
3c6fb4
Install %{name} if you need to cope with text files of dubious origin
3c6fb4
and unknown encoding and convert them to some reasonable encoding.
3c6fb4
3c6fb4
3c6fb4
%package devel
3c6fb4
Summary: Header files and libraries for %{name} charset analyzer
3c6fb4
Group: Development/Libraries
3c6fb4
Requires: %{name} = %{version}-%{release}
3c6fb4
Requires: pkgconfig
3c6fb4
3c6fb4
%description devel
3c6fb4
The %{name}-devel package contains the header files for writing
3c6fb4
programs using the Extremely Naive Charset Analyser library,
3c6fb4
and its API documentation.
3c6fb4
3c6fb4
Install %{name}-devel if you are going to create applications using the Enca
3c6fb4
library.
3c6fb4
3c6fb4
3c6fb4
%prep
3c6fb4
%setup -q
3c6fb4
3c6fb4
3c6fb4
%build
3c6fb4
3c6fb4
%configure \
3c6fb4
	--disable-dependency-tracking \
3c6fb4
	--disable-rpath \
3c6fb4
	--without-librecode \
3c6fb4
	--disable-external \
3c6fb4
	--disable-static \
3c6fb4
	--disable-gtk-doc
3c6fb4
3c6fb4
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
3c6fb4
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
3c6fb4
3c6fb4
make %{?_smp_mflags}
3c6fb4
3c6fb4
3c6fb4
%install
3c6fb4
3c6fb4
make install DESTDIR=$RPM_BUILD_ROOT HTML_DIR=/tmp/html
3c6fb4
3c6fb4
rm -rf $RPM_BUILD_ROOT/tmp/html
3c6fb4
rm -rf $RPM_BUILD_ROOT/%{_libexecdir}
3c6fb4
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
3c6fb4
3c6fb4
3c6fb4
%check
3c6fb4
make check LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}
3c6fb4
3c6fb4
3c6fb4
%ldconfig_scriptlets
3c6fb4
3c6fb4
3c6fb4
%files
3c6fb4
%{_bindir}/*
3c6fb4
%{_libdir}/libenca.so.*
3c6fb4
%{_mandir}/*/*
3c6fb4
%doc AUTHORS COPYING FAQ README THANKS TODO
3c6fb4
3c6fb4
%files devel
3c6fb4
%{_includedir}/*
3c6fb4
%{_libdir}/pkgconfig/*
3c6fb4
%{_libdir}/*.so
3c6fb4
%doc DEVELOP.md
3c6fb4
3c6fb4
3c6fb4
%changelog
3c6fb4
* Wed Mar 28 2018 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.19-1
3c6fb4
- update to 1.19
3c6fb4
- avoid rpath in binaries
3c6fb4
3c6fb4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-6
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3c6fb4
3c6fb4
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.18-5
3c6fb4
- Switch to %%ldconfig_scriptlets
3c6fb4
3c6fb4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3c6fb4
3c6fb4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-3
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3c6fb4
3c6fb4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-2
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3c6fb4
3c6fb4
* Wed Feb 10 2016 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.18-1
3c6fb4
- update to 1.18
3c6fb4
3c6fb4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-2
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3c6fb4
3c6fb4
* Thu Sep 10 2015 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.16-1
3c6fb4
- update to 1.16
3c6fb4
3c6fb4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-4
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3c6fb4
3c6fb4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-3
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3c6fb4
3c6fb4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-2
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3c6fb4
3c6fb4
* Wed Mar 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.15-1
3c6fb4
- update to 1.15
3c6fb4
3c6fb4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3c6fb4
3c6fb4
* Tue Mar  5 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.14-1
3c6fb4
- update to 1.14
3c6fb4
3c6fb4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-5
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3c6fb4
3c6fb4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3c6fb4
3c6fb4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3c6fb4
3c6fb4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-2
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3c6fb4
3c6fb4
* Mon Mar 29 2010 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.13-1
3c6fb4
- update to 1.13
3c6fb4
3c6fb4
* Tue Aug 25 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.10-1
3c6fb4
- Update to 1.10
3c6fb4
- Change urls for new upstream
3c6fb4
3c6fb4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-6
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3c6fb4
3c6fb4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
3c6fb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3c6fb4
3c6fb4
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9-4
3c6fb4
- Autorebuild for GCC 4.3
3c6fb4
3c6fb4
* Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
3c6fb4
- Change License tag to GPLv2
3c6fb4
3c6fb4
* Fri Sep  1 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-3
3c6fb4
- rebuild for FC6
3c6fb4
3c6fb4
* Tue Feb 14 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-2
3c6fb4
- rebuild for FC5
3c6fb4
3c6fb4
* Mon Dec 19 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-1
3c6fb4
- upgrade to 1.9
3c6fb4
3c6fb4
* Mon Nov 28 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.8-1
3c6fb4
- upgrade to 1.8
3c6fb4
- update description