Update to 2.5.12

This commit is contained in:
lyn1001 2023-09-16 15:47:50 +08:00
parent 83c15efd69
commit 65fcbeeaf6
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
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 <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
- Upgrade to version 2.5.9