91 lines
2.2 KiB
RPMSpec
91 lines
2.2 KiB
RPMSpec
Name: teckit
|
|
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++
|
|
%description
|
|
Resort to this library dedicated to encoding conversions and make sure
|
|
the development and testing of mapping tables raises no issues whatsoever.
|
|
|
|
%package devel
|
|
Summary: Libraries and header files for developing applications that use teckit
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Libraries and header files for developing applications that use teckit.
|
|
|
|
%package help
|
|
Summary: Help documents for teckit package
|
|
|
|
%description help
|
|
Help documents for teckit package.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
rm -r zlib-*/*.{c,h} SFconv/expat
|
|
|
|
%build
|
|
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
|
|
%make_install
|
|
%delete_la
|
|
|
|
%check
|
|
make check
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%post devel -p /sbin/ldconfig
|
|
|
|
%postun devel -p /sbin/ldconfig
|
|
|
|
%files
|
|
%license license/*
|
|
%doc AUTHORS NEWS README
|
|
%{_bindir}/{sfconv,teckit_compile,txtconv}
|
|
%{_libdir}/{libTECkit.so.*,libTECkit_Compiler.so.*}
|
|
|
|
%files devel
|
|
%{_includedir}/teckit/
|
|
%{_libdir}/{libTECkit.so,libTECkit_Compiler.so,pkgconfig/teckit.pc}
|
|
|
|
%files help
|
|
%doc INSTALL NEWS README
|
|
%doc docs/*.pdf
|
|
%{_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
|
|
|
|
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.5.7-5
|
|
- Completing build dependencies to fix gcc-c++ compiler missing error
|
|
|
|
* Thu Oct 22 2020 caodongxia <caodongxia@huawei.com> - 2.5.7-4
|
|
- fix build failure and modify url
|
|
|
|
* Thu Dec 12 2019 wutao <wutao61@huawei.com> - 2.5.7-3
|
|
- Package init
|