|
|
647b27c |
Name: teckit
|
|
|
647b27c |
Version: 2.2.1
|
|
|
6c2fb30 |
Release: 2%{?dist}
|
|
|
647b27c |
Summary: Conversion library and mapping compiler
|
|
|
6c2fb30 |
License: LGPLv2+ or CPL
|
|
|
647b27c |
Group: Development/Libraries
|
|
|
647b27c |
URL: http://scripts.sil.org/teckit
|
|
|
647b27c |
Source0: http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_release_2006-09-19.tar.gz
|
|
|
647b27c |
BuildRequires: expat-devel zlib-devel libtool
|
|
|
647b27c |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
647b27c |
|
|
|
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
|
|
|
647b27c |
%setup -q -n TECkit_release_2006-09-19
|
|
|
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
|
|
|
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
|