X-Git-Url: http://git.pld-linux.org/?p=packages%2Fyaz.git;a=blobdiff_plain;f=yaz.spec;h=1f58016fb854c108c778c03cf2576ab0b6283afb;hp=ae59ebe59358701c3d2c8182daa2aef79e194186;hb=3a33e52;hpb=362c7d8aa822f8a8cef8d46c0d5201bdc569dd6d diff --git a/yaz.spec b/yaz.spec index ae59ebe..1f58016 100644 --- a/yaz.spec +++ b/yaz.spec @@ -1,72 +1,84 @@ Summary: Z39.50 protocol support library -Summary(pl): Biblioteka obs³uguj±ca protokó³ Z39.50 +Summary(pl.UTF-8): Biblioteka obsługująca protokół Z39.50 Name: yaz -Version: 2.1.10 -Release: 1 +Version: 5.27.1 +Release: 2 License: BSD-like -Vendor: Index Data ApS Group: Libraries Source0: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz -# Source0-md5: 82f2e08679117c9ffe516b14ea99cbf7 -Patch0: %{name}-libwrap-fix.patch -URL: http://www.indexdata.dk/yaz/ -BuildRequires: autoconf -BuildRequires: automake +# Source0-md5: 8654b751e51c790eab403a6023e1b0fa +URL: http://www.indexdata.com/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 >= 0.40 BuildRequires: libtool >= 1:1.4.2-9 BuildRequires: libwrap-devel -BuildRequires: libxml2-devel -BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: libxml2-devel >= 2.0 +BuildRequires: libxslt-devel >= 1.1.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 YAZ is a C library for developing client - and server applications using the ANSI/NISO Z39.50 protocol for Information Retrieval. -%description -l pl -YAZ to biblioteka w C do tworzenia aplikacji klienckich i serwerów -korzystaj±cych z protoko³u ANSI/NISO Z39.50 do uzyskiwania informacji. +%description -l pl.UTF-8 +YAZ to biblioteka w C do tworzenia aplikacji klienckich i serwerów +korzystających z protokołu ANSI/NISO Z39.50 do uzyskiwania informacji. %package devel Summary: Header files for YAZ library -Summary(pl): Pliki nag³ówkowe biblioteki YAZ +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 -Requires: openssl-devel >= 0.9.7d +Requires: libxml2-devel >= 2.0 +Requires: libxslt-devel >= 1.1.0 %description devel Header files for YAZ library. -%description devel -l pl -Pliki nag³ówkowe biblioteki YAZ. +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki YAZ. %package static Summary: YAZ static libraries -Summary(pl): Statyczne biblioteki YAZ +Summary(pl.UTF-8): Statyczne biblioteki YAZ Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static YAZ static libraries. -%description static -l pl +%description static -l pl.UTF-8 Statyczne biblioteki YAZ. %prep %setup -q -%patch0 -p1 %build %{__libtoolize} -%{__aclocal} +%{__aclocal} -I m4 %{__autoconf} %{__automake} %configure \ - --enable-shared \ - --enable-tcpd \ - --with-openssl + --enable-tcpd %{__make} @@ -74,12 +86,13 @@ Statyczne biblioteki YAZ. rm -rf $RPM_BUILD_ROOT %{__make} install \ + docDATA_INSTALL="install -p" \ DESTDIR=$RPM_BUILD_ROOT -%{__make} install -C doc \ - DESTDIR=$RPM_BUILD_ROOT +mv -f $RPM_BUILD_ROOT%{_docdir}/yaz doc-dist -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 @@ -89,14 +102,24 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc LICENSE NEWS README TODO +%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-icu +%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 -%attr(755,root,root) %{_libdir}/lib*.so.*.* +%attr(755,root,root) %{_libdir}/libyaz.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libyaz.so.5 +%attr(755,root,root) %{_libdir}/libyaz_icu.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libyaz_icu.so.5 +%attr(755,root,root) %{_libdir}/libyaz_server.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libyaz_server.so.5 %dir %{_datadir}/yaz %{_datadir}/yaz/etc %{_datadir}/yaz/ill @@ -104,22 +127,32 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/yaz-asncomp.1* %{_mandir}/man1/yaz-client*.1* %{_mandir}/man1/yaz-iconv.1* +%{_mandir}/man1/yaz-icu.1* +%{_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* %{_mandir}/man7/yaz.7* %{_mandir}/man7/yaz-log.7* %{_mandir}/man8/yaz-ztest*.8* %files devel %defattr(644,root,root,755) -%doc doc-dist/* +%doc doc-dist/* %attr(755,root,root) %{_bindir}/yaz-config -%attr(755,root,root) %{_libdir}/lib*.so -%{_libdir}/lib*.la +%attr(755,root,root) %{_libdir}/libyaz.so +%attr(755,root,root) %{_libdir}/libyaz_icu.so +%attr(755,root,root) %{_libdir}/libyaz_server.so %{_includedir}/yaz +%{_pkgconfigdir}/yaz.pc %{_aclocaldir}/yaz.m4 -%{_mandir}/man8/yaz-config.8* +%{_mandir}/man1/yaz-config.1* %files static %defattr(644,root,root,755) -%{_libdir}/lib*.a +%{_libdir}/libyaz.a +%{_libdir}/libyaz_icu.a +%{_libdir}/libyaz_server.a