Blame SPECS/libdatrie.spec

6cd356
Name:           libdatrie
6cd356
Version:        0.2.13
6cd356
Release:        4%{?dist}
6cd356
Summary:        Implementation of Double-Array structure for representing trie
6cd356
License:        LGPLv2+
6cd356
URL:            http://linux.thai.net/projects/datrie
6cd356
Source0:        http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz
6cd356
BuildRequires:  autoconf, automake, libtool
6cd356
BuildRequires:  autoconf-archive
6cd356
BuildRequires:  doxygen
6cd356
BuildRequires: make
6cd356
6cd356
%description
6cd356
datrie is an implementation of double-array structure for representing trie.
6cd356
6cd356
Trie is a kind of digital search tree, an efficient indexing method with O(1) 
6cd356
time complexity for searching. Comparably as efficient as hashing, trie also 
6cd356
provides flexibility on incremental matching and key spelling manipulation. 
6cd356
This makes it ideal for lexical analyzers, as well as spelling dictionaries.
6cd356
6cd356
Details of the implementation: http://linux.thai.net/~thep/datrie/datrie.html
6cd356
6cd356
%package        devel
6cd356
Summary:        Development files for %{name}
6cd356
Requires:       %{name}%{?_isa} = %{version}-%{release}
6cd356
6cd356
%description    devel
6cd356
This package contains libraries and header files for
6cd356
developing applications that use %{name}.
6cd356
6cd356
%prep
6cd356
%setup -q
6cd356
6cd356
%build
6cd356
autoreconf -f -i -v
6cd356
#sed -i '/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64|' configure
6cd356
%configure --disable-static \
6cd356
           --with-html-docdir=%{_pkgdocdir}-devel
6cd356
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
6cd356
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
6cd356
%make_build
6cd356
6cd356
%install
6cd356
%make_install
6cd356
rm -frv %{buildroot}%{_pkgdocdir}
6cd356
find %{buildroot} -name '*.*a' -delete -print
6cd356
6cd356
%check
6cd356
LD_LIBRARY_PATH=../datrie/.libs %make_build check
6cd356
6cd356
%ldconfig_scriptlets
6cd356
6cd356
%files
6cd356
%license COPYING
6cd356
%{_libdir}/libdatrie.so.*
6cd356
6cd356
%files devel
6cd356
%doc AUTHORS ChangeLog NEWS README*
6cd356
%{_includedir}/datrie/
6cd356
%{_libdir}/libdatrie.so
6cd356
%{_libdir}/pkgconfig/datrie-0.2.pc
6cd356
%{_bindir}/trietool*
6cd356
%{_mandir}/man1/trietool*
6cd356
%{_pkgdocdir}-devel/*.{html,css,png,js,svg}
6cd356
6cd356
%changelog
6cd356
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.13-4
6cd356
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
6cd356
  Related: rhbz#1991688
6cd356
6cd356
* Fri Jun 25 2021 Peng Wu <pwu@redhat.com> - 0.2.13-3
6cd356
- Rebuild the package
6cd356
- Resolves: #1973518
6cd356
6cd356
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.13-2
6cd356
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
6cd356
6cd356
* Mon Feb  1 2021 Peng Wu <pwu@redhat.com> - 0.2.13-1
6cd356
- Update to 0.2.13
6cd356
6cd356
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-14
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6cd356
6cd356
* Wed Oct 14 2020 Peng Wu <pwu@redhat.com> - 0.2.9-13
6cd356
- Fixes FTBFS
6cd356
6cd356
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-12
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6cd356
6cd356
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-11
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6cd356
6cd356
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-10
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6cd356
6cd356
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-9
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6cd356
6cd356
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-8
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6cd356
6cd356
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-7
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6cd356
6cd356
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-6
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6cd356
6cd356
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-5
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6cd356
6cd356
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-4
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6cd356
6cd356
* Wed Apr  6 2016 Peng Wu <pwu@redhat.com> - 0.2.9-3
6cd356
- Fixes docs build
6cd356
6cd356
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6cd356
6cd356
* Thu Jun 18 2015 Christopher Meng <rpm@cicku.me> - 0.2.9-1
6cd356
- Update to 0.2.9
6cd356
6cd356
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-6
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6cd356
6cd356
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-5
6cd356
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6cd356
6cd356
* Wed Jun 18 2014 Christopher Meng <rpm@cicku.me> - 0.2.8-4
6cd356
- Move docs to %%_pkgdocdir
6cd356
6cd356
* Mon Feb 24 2014 Christopher Meng <rpm@cicku.me> - 0.2.8-3
6cd356
- Disable rpath.
6cd356
6cd356
* Sat Feb 08 2014 Christopher Meng <rpm@cicku.me> - 0.2.8-2
6cd356
- Reform the subpackages.
6cd356
- Add check section to ensure the availability.
6cd356
6cd356
* Tue Jan 07 2014 Christopher Meng <rpm@cicku.me> - 0.2.8-1
6cd356
- Initial Package.