diff --git a/libdatrie-0.2.13.tar.xz b/libdatrie-0.2.13.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..2cc586a6c82ea02e67f864ab0582203b31677fde Binary files /dev/null and b/libdatrie-0.2.13.tar.xz differ diff --git a/libdatrie-0.2.9.tar.xz b/libdatrie-0.2.9.tar.xz deleted file mode 100644 index 537f030cf5dd81f1dc2bbceae91670eca8b86d9d..0000000000000000000000000000000000000000 Binary files a/libdatrie-0.2.9.tar.xz and /dev/null differ diff --git a/libdatrie-fixes-docs.patch b/libdatrie-fixes-docs.patch deleted file mode 100644 index 514d038cd10b007727285d4ccb5842559288bb8c..0000000000000000000000000000000000000000 --- a/libdatrie-fixes-docs.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: libdatrie-0.2.9/configure.ac -=================================================================== ---- libdatrie-0.2.9.orig/configure.ac -+++ libdatrie-0.2.9/configure.ac -@@ -113,7 +113,8 @@ if test "x$enable_doxygen_doc" = "xyes"; - else - AC_MSG_CHECKING([doxygen >= $DOXYGEN_REQ_VER]) - DOXYGEN_VER=$($DOXYGEN --version) -- if expr $DOXYGEN_VER \< $DOXYGEN_REQ_VER > /dev/null; then -+ AS_VERSION_COMPARE($DOXYGEN_VER, $DOXYGEN_REQ_VER, [HAVE_DOXYGEN=0], [HAVE_DOXYGEN=1], [HAVE_DOXYGEN=1]) -+ if [test "$HAVE_DOXYGEN" = "0"]; then - AC_MSG_RESULT([$DOXYGEN_VER, no, documentation disabled]) - enable_doxygen_doc="no" - else diff --git a/libdatrie.spec b/libdatrie.spec index 219ea47ac5ce0a6bd5bd04268e6b852590a3e626..36959e740668641d7e88a4adc8fe5e4e28d11d20 100644 --- a/libdatrie.spec +++ b/libdatrie.spec @@ -1,13 +1,15 @@ +%define anolis_release .0.1 Name: libdatrie -Version: 0.2.9 -Release: 7%{?dist} +Version: 0.2.13 +Release: 4%{anolis_release}%{?dist} Summary: Implementation of Double-Array structure for representing trie License: LGPLv2+ URL: http://linux.thai.net/projects/datrie Source0: http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz -Patch0: libdatrie-fixes-docs.patch BuildRequires: autoconf, automake, libtool +BuildRequires: autoconf-archive BuildRequires: doxygen +BuildRequires: make %description datrie is an implementation of double-array structure for representing trie. @@ -27,9 +29,17 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains libraries and header files for developing applications that use %{name}. +%package devel-doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name}-devel = %{version}-%{release} + + +%description devel-doc +Doc pages for %{name} + %prep %setup -q -%patch0 -p1 -b .docs %build autoreconf -f -i -v @@ -48,24 +58,62 @@ find %{buildroot} -name '*.*a' -delete -print %check LD_LIBRARY_PATH=../datrie/.libs %make_build check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING %{_libdir}/libdatrie.so.* %files devel -%doc AUTHORS ChangeLog NEWS README* %{_includedir}/datrie/ %{_libdir}/libdatrie.so %{_libdir}/pkgconfig/datrie-0.2.pc %{_bindir}/trietool* %{_mandir}/man1/trietool* -%{_pkgdocdir}-devel/*.{html,css,png,js} +%{_pkgdocdir}-devel/*.{html,css,png,js,svg} + +%files devel-doc +%doc AUTHORS ChangeLog NEWS README* %changelog +* Fri Nov 25 2022 Chang Gao - 0.2.13-4.0.1 +- Add doc sub package + +* Mon Aug 09 2021 Mohan Boddu - 0.2.13-4 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Jun 25 2021 Peng Wu - 0.2.13-3 +- Rebuild the package +- Resolves: #1973518 + +* Fri Apr 16 2021 Mohan Boddu - 0.2.13-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Mon Feb 1 2021 Peng Wu - 0.2.13-1 +- Update to 0.2.13 + +* Tue Jan 26 2021 Fedora Release Engineering - 0.2.9-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Oct 14 2020 Peng Wu - 0.2.9-13 +- Fixes FTBFS + +* Tue Jul 28 2020 Fedora Release Engineering - 0.2.9-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.2.9-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.2.9-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.2.9-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.2.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.2.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild