647b27c
Name:           teckit
f7ccc37
Version:        2.5.1
f59e100
Release:        14%{?dist}
647b27c
Summary:        Conversion library and mapping compiler
6c2fb30
License:        LGPLv2+ or CPL
647b27c
Group:          Development/Libraries
647b27c
URL:            http://scripts.sil.org/teckit
f7ccc37
Source0:        http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_2_5_1.tar.gz
647b27c
BuildRequires:  expat-devel zlib-devel libtool
647b27c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
647b27c
Caolan McNamara 789f698
Patch0:         TECkit_2_5_1-includes.patch
Caolan McNamara 789f698
647b27c
%description
647b27c
TECkit is a low-level toolkit intended to be used by other
647b27c
applications that need to perform encoding conversions (e.g., when
647b27c
importing legacy data into a Unicode-based application). The
647b27c
primary component of the TECkit package is therefore a library that
647b27c
performs conversions; this is the "TECkit engine". The engine
647b27c
relies on mapping tables in a specific binary format (for which
647b27c
documentation is available); there is a compiler that creates such
647b27c
tables from a human-readable mapping description (a simple text file).
647b27c
647b27c
%package devel
647b27c
Summary:        Conversion library and mapping compiler
647b27c
Group:          Development/Libraries
647b27c
Requires:       %{name} = %{version}-%{release}
647b27c
Provides:       %{name}-devel = %{version}-%{release}
647b27c
647b27c
%description devel
647b27c
TECkit is a low-level toolkit intended to be used by other
647b27c
applications that need to perform encoding conversions (e.g., when
647b27c
importing legacy data into a Unicode-based application). The
647b27c
primary component of the TECkit package is therefore a library that
647b27c
performs conversions; this is the "TECkit engine". The engine
647b27c
relies on mapping tables in a specific binary format (for which
647b27c
documentation is available); there is a compiler that creates such
647b27c
tables from a human-readable mapping description (a simple text file).
647b27c
647b27c
%prep
f7ccc37
%setup -q -n TECkit_2_5_1
Caolan McNamara 789f698
%patch0 -p1 -b .includes
6fdbfed
647b27c
%{__chmod} 0755 ./autogen.sh
647b27c
%{__chmod} 0755 ./configure
647b27c
%{__rm} -r zlib*
647b27c
647b27c
%build
647b27c
./autogen.sh
647b27c
%configure --disable-static
647b27c
make %{_smp_mflags}
647b27c
647b27c
%install
647b27c
%{__rm} -rf %{buildroot}
647b27c
make install DESTDIR=%{buildroot}
647b27c
%{__rm} -f %{buildroot}%{_libdir}/*.la
647b27c
647b27c
%check
647b27c
make check
647b27c
647b27c
%clean
647b27c
%{__rm} -rf %{buildroot}
647b27c
647b27c
%post -p /sbin/ldconfig
647b27c
647b27c
%postun -p /sbin/ldconfig
647b27c
647b27c
%post devel -p /sbin/ldconfig
647b27c
647b27c
%postun devel -p /sbin/ldconfig
647b27c
647b27c
%files
647b27c
%defattr(0644,root,root,0755)
647b27c
%doc AUTHORS COPYING INSTALL NEWS README
647b27c
%doc license/{LICENSING.txt,License_CPLv05.txt,License_LGPLv21.txt}
647b27c
%attr(0755,root,root) %{_bindir}/sfconv
647b27c
%attr(0755,root,root) %{_bindir}/teckit_compile
647b27c
%attr(0755,root,root) %{_bindir}/txtconv
647b27c
%attr(0755,root,root) %{_libdir}/libTECkit.so.*
647b27c
%attr(0755,root,root) %{_libdir}/libTECkit_Compiler.so.*
647b27c
647b27c
%files devel
647b27c
%defattr(0644,root,root,0755)
647b27c
%doc docs/*.pdf
647b27c
%{_includedir}/teckit/
647b27c
%{_libdir}/libTECkit.so
647b27c
%{_libdir}/libTECkit_Compiler.so
647b27c
647b27c
%changelog
f59e100
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-14
f59e100
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f59e100
1c461cb
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.5.1-13
1c461cb
- Rebuilt for GCC 5 C++11 ABI change
1c461cb
7fbbb22
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-12
7fbbb22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7fbbb22
cae0dd7
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-11
cae0dd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cae0dd7
c5daefe
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-10
c5daefe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c5daefe
ddf7fca
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-9
ddf7fca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ddf7fca
e829794
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-8
e829794
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e829794
66b7c1d
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-7
66b7c1d
- Rebuilt for c++ ABI breakage
66b7c1d
a46a105
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-6
a46a105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a46a105
aa3bb10
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-5
aa3bb10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aa3bb10
423ef20
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-4
423ef20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
423ef20
Caolan McNamara 789f698
* Wed Mar 05 2009 Caolán McNamara <caolanm@redhat.com> - 2.5.1-3
Caolan McNamara 789f698
- include stdio.h for sprintf
Caolan McNamara 789f698
3a75d25
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
3a75d25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3a75d25
f7ccc37
* Wed May 21 2008 Jindrich Novy <jnovy@redhat.com> 2.5.1-1
f7ccc37
- update to 2.5.1
f7ccc37
6fdbfed
* Tue Jan 08 2008 Jindrich Novy <jnovy@redhat.com> 2.2.1-3
6fdbfed
- gcc-4.3 fixes
6fdbfed
6c2fb30
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> 2.2.1-2
6c2fb30
- update License
6c2fb30
- rebuild for ppc32
6c2fb30
dbc08c6
* Tue Jul 17 2007 Jindrich Novy <jnovy@redhat.com> 2.2.1-1
dbc08c6
- first Fedora build
dbc08c6
647b27c
* Wed Jul 11 2007 Jindrich Novy <jnovy@redhat.com> 2.2.1-0.3
647b27c
- add missing licenses as documentation
647b27c
647b27c
* Wed Jul 11 2007 Jindrich Novy <jnovy@redhat.com> 2.2.1-0.2
647b27c
- review fixes (#247615)
647b27c
- add libtool BR
647b27c
- enable parallel build
647b27c
- fix filelist
647b27c
- run ldconfig in post
647b27c
647b27c
* Tue Jul 10 2007 Jindrich Novy <jnovy@redhat.com> 2.2.1-0.1
647b27c
- port TECkit to Fedora
647b27c
- remove static libs
647b27c
647b27c
* Fri Jun 22 2007 David Walluck <walluck@mandriva.org> 2.2.1-3mdv2008.0
647b27c
+ Revision: 42653
647b27c
- workaround broken fix-eol rpm-helper script
647b27c
- bump release
647b27c
- BuildRequires: libexpat-devel
647b27c
- Import teckit
647b27c
647b27c
* Thu Jun 21 2007 David Walluck <walluck@mandriva.org> 0:2.2.1-1mdv2008.0
647b27c
- release