Compare commits

..

No commits in common. "rawhide" and "f31" have entirely different histories.

2 changed files with 46 additions and 195 deletions

View file

@ -1 +1 @@
SHA512 (yaz-5.37.3.tar.gz) = c0cfb5cc722172b64f1cc9d2a5f04eec890506fcb3497a3bf19d8f17ae31bda5e8abc999a453a0eb9781d104e1b624658657b0006f9497039beb97e6ff40fd4c
8a3ee871e7817445539df1b0c83dae52 yaz-5.14.11.tar.gz

247
yaz.spec
View file

@ -1,35 +1,24 @@
Name: yaz
Version: 5.37.3
Release: 3%{?dist}
Version: 5.14.11
Release: 18%{?dist}
Summary: Z39.50/SRW/SRU toolkit
# SPDX confirmed
License: BSD-3-Clause
License: BSD
URL: http://www.indexdata.com/yaz/
Source0: http://ftp.indexdata.com/pub/yaz/yaz-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: bison
BuildRequires: make
# When autoreconf is needed:
%if 0
BuildRequires: autoconf
BuildRequires: automake
%endif
BuildRequires: pkgconfig(libexslt)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(hiredis)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(libmemcached)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
BuildRequires: ncurses-devel
BuildRequires: chrpath
BuildRequires: gnutls-devel
BuildRequires: hiredis-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libicu-devel
BuildRequires: libmemcached-devel
BuildRequires: libpcap-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: readline-devel
BuildRequires: /usr/bin/tclsh
Requires: lib%{name}%{?_isa} = %{version}-%{release}
BuildRequires: tcl
BuildRequires: gcc
%description
YAZ is a programmers toolkit supporting the development of Z39.50/SRW/SRU
@ -54,7 +43,11 @@ This packages contains shared libraries for %{name}.
%package -n lib%{name}-devel
Summary: Development files for %{name}
Requires: gnutls-devel%{?_isa}
Requires: lib%{name}%{?_isa} = %{version}-%{release}
Requires: libmemcached-devel%{?_isa}
Requires: libxml2-devel%{?_isa}
Requires: readline-devel%{?_isa}
%description -n lib%{name}-devel
This package contains libraries and header files for
@ -73,17 +66,12 @@ server and client.
%setup -q
%build
sed -i.rpath configure \
-e 's|hardcode_libdir_flag_spec=|hardcode_libdir_flag_spec_goodby=|' \
-e '\@sys_lib_dlsearch_path_spec=@s|/lib /usr/lib|/lib /usr/lib %{_libdir} /%{_lib}|' \
%{nil}
%configure \
--enable-shared \
--with-memcached \
--with-redis \
--disable-static \
%{nil}
--disable-rpath
%make_build
@ -93,51 +81,57 @@ sed -i.rpath configure \
# Remove cruft
find %{buildroot} -name '*.*a' -delete -print
# Delete rpath
chrpath --delete %{buildroot}%{_bindir}/yaz-icu
chrpath --delete %{buildroot}%{_bindir}/yaz-url
chrpath --delete %{buildroot}%{_bindir}/yaz-json-parse
chrpath --delete %{buildroot}%{_bindir}/yaz-illclient
chrpath --delete %{buildroot}%{_bindir}/yaz-client
chrpath --delete %{buildroot}%{_bindir}/yaz-marcdump
chrpath --delete %{buildroot}%{_bindir}/zoomsh
chrpath --delete %{buildroot}%{_bindir}/yaz-iconv
chrpath --delete %{buildroot}%{_bindir}/yaz-ztest
%check
make check
%ldconfig_scriptlets -n lib%{name}
%post -n lib%{name} -p /sbin/ldconfig
%ldconfig_scriptlets -n lib%{name}
%postun -n lib%{name} -p /sbin/ldconfig
%files
%doc NEWS
%doc README.md
%doc NEWS README
%license LICENSE
%{_bindir}/yaz-client
%{_bindir}/yaz-iconv
%{_bindir}/yaz-icu
%{_bindir}/yaz-illclient
%{_bindir}/yaz-json-parse
%{_bindir}/yaz-marcdump
%{_bindir}/yaz-record-conv
%{_bindir}/yaz-url
%{_bindir}/yaz-ztest
%{_bindir}/yaz-marcdump
%{_bindir}/yaz-iconv
%{_bindir}/yaz-illclient
%{_bindir}/yaz-icu
%{_bindir}/yaz-json-parse
%{_bindir}/yaz-url
%{_bindir}/zoomsh
%{_mandir}/man1/yaz-client.*
%{_mandir}/man1/yaz-iconv.*
%{_mandir}/man1/yaz-icu.*
%{_mandir}/man1/yaz-illclient.*
%{_mandir}/man1/yaz-json-parse.*
%{_mandir}/man7/yaz-log.*
%{_mandir}/man1/yaz-marcdump.*
%{_mandir}/man1/yaz-record-conv.*
%{_mandir}/man1/yaz-url.*
%{_mandir}/man8/yaz-ztest.*
%{_mandir}/man1/zoomsh.*
%{_mandir}/man1/yaz-marcdump.*
%{_mandir}/man1/yaz-iconv.*
%{_mandir}/man1/yaz-icu.*
%{_mandir}/man7/yaz-log.*
%{_mandir}/man1/yaz-json-parse.*
%{_mandir}/man1/yaz-url.*
%files -n lib%{name}
%license LICENSE
%{_libdir}/libyaz.so.5*
%{_libdir}/libyaz_icu.so.5*
%{_libdir}/libyaz_server.so.5*
%{_libdir}/*.so.*
%{_mandir}/man7/yaz.*
%{_mandir}/man7/bib1-attr.*
%files -n lib%{name}-devel
%doc NEWS README.md
%{_bindir}/yaz-asncomp
%doc NEWS README
%{_bindir}/yaz-config
%{_bindir}/yaz-asncomp
%{_libdir}/pkgconfig/*
%{_libdir}/*.so
%{_includedir}/%{name}/
@ -150,149 +144,6 @@ make check
%{_pkgdocdir}
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.37.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Mon Jun 08 2026 František Zatloukal <fzatlouk@redhat.com> - 5.37.3-2
- Rebuilt for icu 78.3
* Thu May 21 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.37.3-1
- 5.37.3
* Sat May 02 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.37.1-1
- 5.37.1
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.37.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sun Jan 11 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.37.0-1
- 5.37.0
* Wed Aug 06 2025 František Zatloukal <fzatlouk@redhat.com> - 5.35.1-3
- Rebuilt for icu 77.1
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.35.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu May 22 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.35.1-1
- 5.35.1
* Thu May 08 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.35.0-1
- 5.35.0
* Fri Feb 28 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.4-1
- 5.34.4
* Fri Jan 31 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.3-4
- F42: Rebuild with tcl9
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.34.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Jan 14 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.3-2
- Fix compilation with C23 with bool keyword
* Thu Jan 09 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.3-1
- 5.34.3
* Mon Dec 09 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.2-2
- Explicitly add icu-uc pkgconf deps for yaz-icu
* Fri Sep 20 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.2-1
- 5.34.2
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.34.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jun 19 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.1-1
- 5.34.1
* Sat May 11 2024 Kevin Fenzi <kevin@scrye.com> - 5.34.0-9
- rebuild for hiredis soname bump
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 5.34.0-8
- Rebuild for ICU 74
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.34.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 18 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.0-6
- Use %%ldconfig_scriptlets instead of /usr/sbin/ldconfig
(ref: DNF5 file deps change: bug 2180842)
* Mon Nov 20 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.0-5
- Fix header file inclusion for libxml2 2.12.0
- Fix header file inclusion for glibc 2.39
* Sat Jul 22 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 5.34.0-3
- Rebuilt for ICU 73.2
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.34.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jan 13 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.34.0-1
- 5.34.0
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 5.33.0-2
- Rebuild for ICU 72
* Wed Dec 14 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.33.0-1
- 5.33.0
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 5.32.0-3
- Rebuilt for ICU 71.1
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.32.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.32.0-1
- 5.32.0
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.31.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 18 2022 Kevin Fenzi <kevin@scrye.com> - 5.31.1-3
- Rebuild for hiredis 1.0.2
* Thu Dec 23 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.31.1-2
- Make yaz binary rpm Requires libyaz rpm
* Mon Dec 20 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.31.1-1
- 5.31.1
* Tue Nov 2 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.31.0-1
- 5.31.0
* Tue Nov 2 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.14.11-27
- Remove rpath harder, don't use chrpath
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.11-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 5.14.11-25
- Rebuild for ICU 69
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 5.14.11-24
- Rebuild for ICU 69
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.11-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.11-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 5.14.11-21
- Rebuild for ICU 67
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.11-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 5.14.11-19
- Rebuild for ICU 65
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.11-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild