diff --git a/TECkit_2_5_1-includes.patch b/TECkit_2_5_1-includes.patch deleted file mode 100644 index 3787f2c..0000000 --- a/TECkit_2_5_1-includes.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ru TECkit_2_5_1.orig/source/Compiler.cpp TECkit_2_5_1/source/Compiler.cpp ---- TECkit_2_5_1.orig/source/Compiler.cpp 2009-03-05 10:29:22.000000000 +0000 -+++ TECkit_2_5_1/source/Compiler.cpp 2009-03-05 10:29:50.000000000 +0000 -@@ -33,6 +33,7 @@ - #include - #include - #include -+#include - - #include "zlib.h" - diff --git a/teckit-2.5.12.tar.gz b/teckit-2.5.12.tar.gz new file mode 100644 index 0000000..5f6267a Binary files /dev/null and b/teckit-2.5.12.tar.gz differ diff --git a/teckit-2.5.9.tar.gz b/teckit-2.5.9.tar.gz deleted file mode 100644 index c53de58..0000000 Binary files a/teckit-2.5.9.tar.gz and /dev/null differ diff --git a/teckit.spec b/teckit.spec index 93e3334..561530b 100644 --- a/teckit.spec +++ b/teckit.spec @@ -1,12 +1,11 @@ Name: teckit -Version: 2.5.9 +Version: 2.5.12 Release: 1 Summary: A library and compiler for mapping and transposition License: LGPLv2+ or CPL URL: https://github.com/silnrsi/teckit Source0: https://github.com/silnrsi/teckit/releases/download/v%{version}/teckit-%{version}.tar.gz BuildRequires: expat-devel zlib-devel libtool gcc-c++ -Patch0000: TECkit_2_5_1-includes.patch %description Resort to this library dedicated to encoding conversions and make sure the development and testing of mapping tables raises no issues whatsoever. @@ -27,10 +26,21 @@ Help documents for teckit package. %prep %autosetup -n %{name}-%{version} -p1 -rm -r zlib* +rm -r zlib-*/*.{c,h} SFconv/expat %build -%configure --disable-static +autoreconf -fi +%configure \ + --disable-debug \ + --disable-final \ + --without-old-lib-names \ + --disable-profile \ + --disable-profilefn \ + --enable-shared \ + --disable-static \ + --with-system-zlib \ + --disable-tetex-build + %make_build V=1 %install @@ -49,8 +59,8 @@ make check %postun devel -p /sbin/ldconfig %files -%license COPYING AUTHORS -%license license/{LICENSING.txt,License_CPLv05.txt,License_LGPLv21.txt} +%license license/* +%doc AUTHORS NEWS README %{_bindir}/{sfconv,teckit_compile,txtconv} %{_libdir}/{libTECkit.so.*,libTECkit_Compiler.so.*} @@ -64,6 +74,9 @@ make check %{_mandir}/man1/* %changelog +* Sat Sep 16 2023 liyanan - 2.5.12-1 +- Update to 2.5.12 + * Thu Jun 16 2022 SimpleUpdate Robot - 2.5.9-1 - Upgrade to version 2.5.9