!9 Update to 2.5.12

From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-09-18 04:51:58 +00:00 committed by Gitee
commit 38370fee02
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 19 additions and 17 deletions

View File

@ -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 <iomanip>
#include <algorithm>
#include <cstring>
+#include <stdio.h>
#include "zlib.h"

BIN
teckit-2.5.12.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,11 @@
Name: teckit Name: teckit
Version: 2.5.9 Version: 2.5.12
Release: 1 Release: 1
Summary: A library and compiler for mapping and transposition Summary: A library and compiler for mapping and transposition
License: LGPLv2+ or CPL License: LGPLv2+ or CPL
URL: https://github.com/silnrsi/teckit URL: https://github.com/silnrsi/teckit
Source0: https://github.com/silnrsi/teckit/releases/download/v%{version}/teckit-%{version}.tar.gz Source0: https://github.com/silnrsi/teckit/releases/download/v%{version}/teckit-%{version}.tar.gz
BuildRequires: expat-devel zlib-devel libtool gcc-c++ BuildRequires: expat-devel zlib-devel libtool gcc-c++
Patch0000: TECkit_2_5_1-includes.patch
%description %description
Resort to this library dedicated to encoding conversions and make sure Resort to this library dedicated to encoding conversions and make sure
the development and testing of mapping tables raises no issues whatsoever. the development and testing of mapping tables raises no issues whatsoever.
@ -27,10 +26,21 @@ Help documents for teckit package.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
rm -r zlib* rm -r zlib-*/*.{c,h} SFconv/expat
%build %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 %make_build V=1
%install %install
@ -49,8 +59,8 @@ make check
%postun devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig
%files %files
%license COPYING AUTHORS %license license/*
%license license/{LICENSING.txt,License_CPLv05.txt,License_LGPLv21.txt} %doc AUTHORS NEWS README
%{_bindir}/{sfconv,teckit_compile,txtconv} %{_bindir}/{sfconv,teckit_compile,txtconv}
%{_libdir}/{libTECkit.so.*,libTECkit_Compiler.so.*} %{_libdir}/{libTECkit.so.*,libTECkit_Compiler.so.*}
@ -64,6 +74,9 @@ make check
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Sat Sep 16 2023 liyanan <thistleslyn@163.com> - 2.5.12-1
- Update to 2.5.12
* Thu Jun 16 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.5.9-1 * Thu Jun 16 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.5.9-1
- Upgrade to version 2.5.9 - Upgrade to version 2.5.9