From 647b27c6de9004804fb570bf8564111fe6665fa7 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Jul 17 2007 07:02:29 +0000 Subject: - initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..8c866a5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +TECkit_release_2006-09-19.tar.gz diff --git a/sources b/sources index e69de29..141c915 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6b7538aa53aa844db8bb95c1219d62d1 TECkit_release_2006-09-19.tar.gz diff --git a/teckit.spec b/teckit.spec new file mode 100644 index 0000000..bdf8a8a --- /dev/null +++ b/teckit.spec @@ -0,0 +1,108 @@ +Name: teckit +Version: 2.2.1 +Release: 0.3%{?dist} +Summary: Conversion library and mapping compiler +License: LGPL +Group: Development/Libraries +URL: http://scripts.sil.org/teckit +Source0: http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_release_2006-09-19.tar.gz +BuildRequires: expat-devel zlib-devel libtool +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%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} = %{version}-%{release} +Provides: %{name}-devel = %{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 -n TECkit_release_2006-09-19 +%{__chmod} 0755 ./autogen.sh +%{__chmod} 0755 ./configure +%{__rm} -r zlib* + +%build +./autogen.sh +%configure --disable-static +make %{_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +make install DESTDIR=%{buildroot} +%{__rm} -f %{buildroot}%{_libdir}/*.la + +%check +make check + +%clean +%{__rm} -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post devel -p /sbin/ldconfig + +%postun devel -p /sbin/ldconfig + +%files +%defattr(0644,root,root,0755) +%doc AUTHORS COPYING INSTALL NEWS README +%doc license/{LICENSING.txt,License_CPLv05.txt,License_LGPLv21.txt} +%attr(0755,root,root) %{_bindir}/sfconv +%attr(0755,root,root) %{_bindir}/teckit_compile +%attr(0755,root,root) %{_bindir}/txtconv +%attr(0755,root,root) %{_libdir}/libTECkit.so.* +%attr(0755,root,root) %{_libdir}/libTECkit_Compiler.so.* + +%files devel +%defattr(0644,root,root,0755) +%doc docs/*.pdf +%{_includedir}/teckit/ +%{_libdir}/libTECkit.so +%{_libdir}/libTECkit_Compiler.so + +%changelog +* 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