%endif
BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER}
Packager: Adam Dickmeiss <adam@indexdata.dk>
-URL: http://www.indexdata.dk/yaz/
+URL: http://www.indexdata.com/yaz
%description
This package contains both a test-server and clients (normal & ssl)
YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
Retrieval.
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -n libyaz4 -p /sbin/ldconfig
+%postun -n libyaz4 -p /sbin/ldconfig
%package -n libyaz4-devel
Summary: Z39.50 Library - development package
Group: Development/Libraries
-Requires: libyaz4 = %{version} libxml2-devel libxslt-devel libicu-devel gnutls-devel %{TCPWRAPPER}
+Requires: libyaz4 = %{version} libxml2-devel libxslt-devel libicu-devel
Conflicts: libyaz-devel
%description -n libyaz4-devel
rm -fr ${RPM_BUILD_ROOT}
make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
%clean
rm -fr ${RPM_BUILD_ROOT}