Summary: Z39.50 protocol support library
Summary(pl.UTF-8): Biblioteka obsługująca protokół Z39.50
Name: yaz
-Version: 5.0.12
+Version: 5.27.1
Release: 1
License: BSD-like
Group: Libraries
Source0: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
-# Source0-md5: cf058dbff163a4ccb859851f56a367c7
-URL: http://www.indexdata.dk/yaz/
+# Source0-md5: 8654b751e51c790eab403a6023e1b0fa
+URL: http://www.indexdata.com/yaz/
BuildRequires: autoconf >= 2.60
-BuildRequires: automake >= 1:1.9
+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 >= 0.40
BuildRequires: libtool >= 1:1.4.2-9
BuildRequires: libwrap-devel
BuildRequires: libxml2-devel >= 2.0
BuildRequires: libxslt-devel >= 1.1.0
-BuildRequires: openssl-devel >= 0.9.7d
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
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki YAZ
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 >= 0.40
Requires: libwrap-devel
Requires: libxml2-devel >= 2.0
Requires: libxslt-devel >= 1.1.0
-Requires: openssl-devel >= 0.9.7d
%description devel
Header files for YAZ library.
%{__autoconf}
%{__automake}
%configure \
- --enable-shared \
- --enable-tcpd \
- --with-openssl
+ --enable-tcpd
%{__make}
mv -f $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
%{_aclocaldir}/yaz.m4