Name: teckit Version: 2.5.8 Release: 1%{?dist} Summary: Conversion library and mapping compiler License: LGPLv2+ or CPL Group: Development/Libraries URL: http://scripts.sil.org/teckit Source0: https://github.com/silnrsi/teckit/releases/download/v%{version}/teckit-%{version}.tar.gz BuildRequires: expat-devel zlib-devel libtool Patch0: TECkit_2_5_1-includes.patch %description TECkit is a low-level toolkit intended to be used by other applications that need to perform encoding conversions (e.g., when importing legacy data into a Unicode-based application). The primary component of the TECkit package is therefore a library that performs conversions; this is the "TECkit engine". The engine relies on mapping tables in a specific binary format (for which documentation is available); there is a compiler that creates such tables from a human-readable mapping description (a simple text file). %package devel Summary: Conversion library and mapping compiler Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel TECkit is a low-level toolkit intended to be used by other applications that need to perform encoding conversions (e.g., when importing legacy data into a Unicode-based application). The primary component of the TECkit package is therefore a library that performs conversions; this is the "TECkit engine". The engine relies on mapping tables in a specific binary format (for which documentation is available); there is a compiler that creates such tables from a human-readable mapping description (a simple text file). %prep %setup -q %patch0 -p1 -b .includes %{__rm} -r zlib* %build %configure --disable-static make %{_smp_mflags} %install make install DESTDIR=%{buildroot} %{__rm} -f %{buildroot}%{_libdir}/*.la %check make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %files %license COPYING %doc AUTHORS INSTALL NEWS README %license license/{LICENSING.txt,License_CPLv05.txt,License_LGPLv21.txt} %{_bindir}/sfconv %{_bindir}/teckit_compile %{_bindir}/txtconv %{_libdir}/libTECkit.so.* %{_libdir}/libTECkit_Compiler.so.* %{_mandir}/man1/* %files devel %doc docs/*.pdf %{_includedir}/teckit/ %{_libdir}/libTECkit.so %{_libdir}/libTECkit_Compiler.so %{_libdir}/pkgconfig/teckit.pc %changelog * Thu Aug 09 2018 Than Ngo - 2.5.8-1 - Related: #1578798, update to 2.5.8 * Tue May 22 2018 Than Ngo - 2.5.7-3 - Resolves: #1578798, Fix FTBFS * Fri Feb 09 2018 Fedora Release Engineering - 2.5.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Sep 12 2017 Tom Callaway - 2.5.7-1 - update to 2.5.7 * Thu Aug 03 2017 Fedora Release Engineering - 2.5.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.5.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.5.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 2.5.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 2.5.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 2.5.1-13 - Rebuilt for GCC 5 C++11 ABI change * Mon Aug 18 2014 Fedora Release Engineering - 2.5.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 2.5.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 2.5.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 2.5.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 2.5.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 2.5.1-7 - Rebuilt for c++ ABI breakage * Sat Jan 14 2012 Fedora Release Engineering - 2.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 2.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jul 26 2009 Fedora Release Engineering - 2.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Mar 05 2009 Caolán McNamara - 2.5.1-3 - include stdio.h for sprintf * Wed Feb 25 2009 Fedora Release Engineering - 2.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed May 21 2008 Jindrich Novy 2.5.1-1 - update to 2.5.1 * Tue Jan 08 2008 Jindrich Novy 2.2.1-3 - gcc-4.3 fixes * Thu Aug 23 2007 Jindrich Novy 2.2.1-2 - update License - rebuild for ppc32 * Tue Jul 17 2007 Jindrich Novy 2.2.1-1 - first Fedora build * Wed Jul 11 2007 Jindrich Novy 2.2.1-0.3 - add missing licenses as documentation * Wed Jul 11 2007 Jindrich Novy 2.2.1-0.2 - review fixes (#247615) - add libtool BR - enable parallel build - fix filelist - run ldconfig in post * Tue Jul 10 2007 Jindrich Novy 2.2.1-0.1 - port TECkit to Fedora - remove static libs * Fri Jun 22 2007 David Walluck 2.2.1-3mdv2008.0 + Revision: 42653 - workaround broken fix-eol rpm-helper script - bump release - BuildRequires: libexpat-devel - Import teckit * Thu Jun 21 2007 David Walluck 0:2.2.1-1mdv2008.0 - release