update to 2.5.7 [release 2.5.7-1mamba;Thu Aug 10 2017]

This commit is contained in:
Silvan Calarco 2024-01-06 05:54:38 +01:00
parent e222c9488f
commit f2fc87fee7

View File

@ -1,14 +1,14 @@
%define pkg_version %(echo %version | tr . _)
Name: libteckit
Version: 2.5.1
Release: 2mamba
Version: 2.5.7
Release: 1mamba
Summary: A Text Encoding Conversion toolkit
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://scripts.sil.org/teckit
Source: http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_%{pkg_version}.tar.gz
Source: https://github.com/silnrsi/teckit.git/v%{version}/teckit-%{version}.tar.bz2
Patch0: libteckit-2.5.1-includes.patch
License: Common Public License Version 0.5, GPL, LGPL
## AUTOBUILDREQ-BEGIN
@ -46,15 +46,15 @@ A Text Encoding Conversion toolkit.
This package contains static libraries need for development.
%prep
%setup -q -n TECkit_%{pkg_version}
%setup -q -n teckit-%{version}
%patch0 -p1
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
chmod 755 ./autogen.sh
chmod 755 ./configure
rm -rf zlib*
#sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
#chmod 755 ./autogen.sh
#rm -rf zlib*
%build
./autogen.sh
sh ./autogen.sh
%configure
%make
@ -78,6 +78,9 @@ rm -rf zlib*
%attr(0755,root,root) %{_bindir}/txtconv
%attr(0755,root,root) %{_libdir}/libTECkit.so.*
%attr(0755,root,root) %{_libdir}/libTECkit_Compiler.so.*
%{_mandir}/man1/sfconv.1*
%{_mandir}/man1/teckit_compile.1*
%{_mandir}/man1/txtconv.1*
%doc AUTHORS COPYING
%files devel
@ -86,6 +89,7 @@ rm -rf zlib*
%{_includedir}/teckit/*.h
%{_libdir}/libTECkit.so
%{_libdir}/libTECkit_Compiler.so
%{_libdir}/pkgconfig/teckit.pc
%doc docs/*.pdf
%doc ChangeLog NEWS README
%doc license/L*.txt
@ -96,6 +100,9 @@ rm -rf zlib*
%{_libdir}/libTECkit_Compiler.*a
%changelog
* Thu Aug 10 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.7-1mamba
- update to 2.5.7
* Sun Mar 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.1-2mamba
- rebuilt in devel