Summary: Z39.50 protocol support library
Summary(pl.UTF-8): Biblioteka obsługująca protokół Z39.50
Name: yaz
-Version: 5.0.19
-Release: 1
+Version: 5.30.3
+Release: 4
License: BSD-like
Group: Libraries
Source0: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
-# Source0-md5: b20fc2d4d6a804ae2e3e3291d58996c1
-URL: http://www.indexdata.dk/yaz/
+# Source0-md5: b32756b44fcde17bee09ea53b2ee334c
+URL: https://www.indexdata.com/resources/software/yaz/
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.11.1
BuildRequires: bison
BuildRequires: gnutls-devel
+BuildRequires: hiredis-devel >= 0.10
BuildRequires: libgcrypt-devel >= 1.2
BuildRequires: libicu-devel >= 3.4
-BuildRequires: libmemcached-devel
+BuildRequires: libmemcached-devel >= 0.40
BuildRequires: libtool >= 1:1.4.2-9
BuildRequires: libwrap-devel
BuildRequires: libxml2-devel >= 2.0
BuildRequires: pkgconfig
BuildRequires: readline-devel >= 5.0
BuildRequires: tcl >= 8.2
+Requires: hiredis >= 0.10
+Requires: libgcrypt >= 1.2
+Requires: libmemcached >= 0.40
+Requires: libxslt >= 1.1.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gnutls-devel
+Requires: hiredis-devel >= 0.10
Requires: libgcrypt-devel >= 1.2
Requires: libicu-devel >= 3.4
-Requires: libmemcached-devel
+Requires: libmemcached-devel >= 0.40
Requires: libwrap-devel
Requires: libxml2-devel >= 2.0
Requires: libxslt-devel >= 1.1.0
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
+%{__autoheader}
%{__automake}
%configure \
--enable-tcpd
docDATA_INSTALL="install -p" \
DESTDIR=$RPM_BUILD_ROOT
-mv -f $RPM_BUILD_ROOT%{_docdir}/yaz doc-dist
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/yaz doc-dist
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libyaz*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog LICENSE NEWS README
+%doc ChangeLog LICENSE NEWS README.md
%attr(755,root,root) %{_bindir}/yaz-asncomp
%attr(755,root,root) %{_bindir}/yaz-client*
%attr(755,root,root) %{_bindir}/yaz-iconv
%attr(755,root,root) %{_bindir}/yaz-illclient
%attr(755,root,root) %{_bindir}/yaz-json-parse
%attr(755,root,root) %{_bindir}/yaz-marcdump
+%attr(755,root,root) %{_bindir}/yaz-record-conv
%attr(755,root,root) %{_bindir}/yaz-url
%attr(755,root,root) %{_bindir}/yaz-ztest*
%attr(755,root,root) %{_bindir}/zoomsh
%{_mandir}/man1/yaz-illclient.1*
%{_mandir}/man1/yaz-json-parse.1*
%{_mandir}/man1/yaz-marcdump.1*
+%{_mandir}/man1/yaz-record-conv.1*
%{_mandir}/man1/yaz-url.1*
%{_mandir}/man1/zoomsh.1*
%{_mandir}/man7/bib1-attr.7*
%attr(755,root,root) %{_libdir}/libyaz.so
%attr(755,root,root) %{_libdir}/libyaz_icu.so
%attr(755,root,root) %{_libdir}/libyaz_server.so
-%{_libdir}/libyaz.la
-%{_libdir}/libyaz_icu.la
-%{_libdir}/libyaz_server.la
%{_includedir}/yaz
%{_pkgconfigdir}/yaz.pc
+%{_pkgconfigdir}/yaz-icu.pc
+%{_pkgconfigdir}/yaz-server.pc
%{_aclocaldir}/yaz.m4
%{_mandir}/man1/yaz-config.1*