X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec.in;h=114f58703696c917dc4fe8863331f65e697a0191;hp=30ee4eca8a153881bc98600e15d63aa1d36f5fcd;hb=1141af3a859ba06226d7b3dd19eb3f83fa2f8753;hpb=9f4ccf4f01cb18cc7e18f1db22e81be12fbe71be diff --git a/yaz.spec.in b/yaz.spec.in index 30ee4ec..114f587 100644 --- a/yaz.spec.in +++ b/yaz.spec.in @@ -8,7 +8,12 @@ Group: Applications/Internet Vendor: Index Data ApS Source: yaz-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: libxml2-devel libxslt-devel tcp_wrappers gnutls-devel readline-devel libicu-devel +%define TCPWRAPPER tcpd-devel +%if "%{_vendor}" == "redhat" +# Fedora requires tcp_wrappers-devel . +%define TCPWRAPPER tcp_wrappers +%endif +BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER} Packager: Adam Dickmeiss URL: http://www.indexdata.dk/yaz/ @@ -25,10 +30,13 @@ Requires: libxslt gnutls libicu YAZ is a library for the ANSI/NISO Z39.50 protocol for Information Retrieval. +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %package -n libyaz3-devel Summary: Z39.50 Library - development package Group: Development/Libraries -Requires: libyaz3 = %{version} libxml2-devel libxslt-devel +Requires: libyaz3 = %{version} libxml2-devel libxslt-devel libicu-devel gnutls-devel %{TCPWRAPPER} Conflicts: libyaz-devel %description -n libyaz3-devel @@ -71,7 +79,7 @@ rm -fr ${RPM_BUILD_ROOT} %files %defattr(-,root,root) -%doc README LICENSE NEWS TODO +%doc README LICENSE NEWS %{_bindir}/yaz-client %{_bindir}/yaz-ztest %{_bindir}/zoomsh