X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec.in;h=114f58703696c917dc4fe8863331f65e697a0191;hp=8e61c729f5795a249f30fdf5f0ad7bb2da04f316;hb=6d60541cbd1b81b23872214ad2d8ea11a54544ac;hpb=46f58d56d118687435ef38ba4617f8d359c20d45 diff --git a/yaz.spec.in b/yaz.spec.in index 8e61c72..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 @@ -83,6 +91,7 @@ rm -fr ${RPM_BUILD_ROOT} %{_mandir}/man1/yaz-marcdump.* %{_mandir}/man1/yaz-iconv.* %{_mandir}/man7/yaz-log.* +%{_mandir}/man7/bib1-attr.* %files -n libyaz3 %defattr(-,root,root)