117 lines
3.4 KiB

%define pkg_version %(echo %version | tr . _)
Name: libteckit
Version: 2.5.12
Release: 1mamba
Summary: A Text Encoding Conversion toolkit
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <>
Patch0: libteckit-2.5.1-includes.patch
License: Common Public License Version 0.5, GPL, LGPL
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-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).
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A Text Encoding Conversion toolkit.
This package contains static libraries and header files need for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
A Text Encoding Conversion toolkit.
This package contains static libraries needed for development.
%setup -q -n teckit-%{version}
%patch 0 -p1
sh ./
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%attr(0755,root,root) %{_bindir}/sfconv
%attr(0755,root,root) %{_bindir}/teckit_compile
%attr(0755,root,root) %{_bindir}/txtconv
%attr(0755,root,root) %{_libdir}/*
%attr(0755,root,root) %{_libdir}/*
%files devel
%dir %{_includedir}/teckit
%doc docs/*.pdf
%doc ChangeLog NEWS README
%doc license/L*.txt
%files static
* Mon Feb 12 2024 Silvan Calarco <> 2.5.12-1mamba
- update to 2.5.12
* Tue May 11 2021 Automatic Build System <> 2.5.10-1mamba
- automatic update by autodist
* Tue Jul 16 2019 Silvan Calarco <> 2.5.9-1mamba
- update to 2.5.9
* Thu Aug 10 2017 Silvan Calarco <> 2.5.7-1mamba
- update to 2.5.7
* Sun Mar 31 2013 Silvan Calarco <> 2.5.1-2mamba
- rebuilt in devel
* Thu Nov 11 2010 gil <> 2.5.1-1mamba
- package created by autospec