Blame SPECS/enca.spec

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