]> git.pld-linux.org Git - packages/yaz.git/blobdiff - yaz.spec
- updated to 2.0.28, updated libwrap-fix patch
[packages/yaz.git] / yaz.spec
index 9924dfa46bcdff1b15c3f4bfe3e1b255ac8bdb44..538d8866ef378177919d4c29de14d6206f8b06eb 100644 (file)
--- a/yaz.spec
+++ b/yaz.spec
@@ -1,17 +1,22 @@
 Summary:       Z39.50 protocol support library
 Summary(pl):   Biblioteka obs³uguj±ca protokó³ Z39.50
 Name:          yaz
-Version:       1.8.8
+Version:       2.0.28
 Release:       1
 License:       BSD-like
 Vendor:                Index Data ApS <info@indexdata.dk>
 Group:         Libraries
 Source0:       http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
+# Source0-md5: a217279e019671e597ad097aea0fb54e
 Patch0:                %{name}-libwrap-fix.patch
+Patch1:                %{name}-link.patch
 URL:           http://www.indexdata.dk/yaz/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: libtool >= 1:1.4.2-9
 BuildRequires: libwrap-devel
+BuildRequires: libxml2-devel
+BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: readline-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,8 +32,10 @@ korzystaj
 Summary:       Header files for YAZ library
 Summary(pl):   Pliki nag³ówkowe biblioteki YAZ
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 Requires:      libwrap-devel
+Requires:      libxml2-devel
+Requires:      openssl-devel >= 0.9.7d
 
 %description devel
 Header files for YAZ library.
@@ -40,7 +47,7 @@ Pliki nag
 Summary:       YAZ static libraries
 Summary(pl):   Statyczne biblioteki YAZ
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 YAZ static libraries.
@@ -50,16 +57,18 @@ Statyczne biblioteki YAZ.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
-rm -f missing
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
        --enable-shared \
-       --enable-tcpd
+       --enable-tcpd \
+       --with-openssl
 
 %{__make}
 
@@ -82,16 +91,25 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README LICENSE CHANGELOG TODO
-%config %{_datadir}/yaz/tab
-%attr(755,root,root) %{_bindir}/yaz-client
-%attr(755,root,root) %{_bindir}/yaz-ztest
-%attr(755,root,root) %{_bindir}/yaz-comp
+%doc LICENSE NEWS README TODO
+%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-marcdump
+%attr(755,root,root) %{_bindir}/yaz-ztest*
 %attr(755,root,root) %{_bindir}/zoomsh
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %dir %{_datadir}/yaz
+%{_datadir}/yaz/etc
 %{_datadir}/yaz/ill
 %{_datadir}/yaz/z39.50
+%{_mandir}/man1/yaz-asncomp.1*
+%{_mandir}/man1/yaz-client*.1*
+%{_mandir}/man1/yaz-iconv.1*
+%{_mandir}/man1/yaz-marcdump.1*
+%{_mandir}/man1/zoomsh.1*
+%{_mandir}/man7/yaz.7*
+%{_mandir}/man8/yaz-ztest*.8*
 
 %files devel
 %defattr(644,root,root,755)
@@ -101,6 +119,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.la
 %{_includedir}/yaz
 %{_aclocaldir}/yaz.m4
+%{_mandir}/man8/yaz-config.8*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.093454 seconds and 4 git commands to generate.