ignore cql2pqf and cql2xcql
[yaz-moved-to-github.git] / yaz.spec.in
index fab95dd..c34c852 100644 (file)
@@ -1,8 +1,8 @@
 Summary: Z39.50 Programs
 Name: yaz
 Version: @VERSION@
-Release: 2
-Requires: libxml2 openssl
+Release: 1
+Requires: libxml2 openssl readline libyaz = %{version}
 Copyright: YAZ License
 Group: Other
 Vendor: Index Data ApS <info@indexdata.dk>
@@ -19,7 +19,7 @@ for the ANSI/NISO Z39.50 protocol for Information Retrieval.
 %package -n lib%{name}
 Summary: Z39.50 Library
 Group: Libraries
-Requires: libxml2 openssl readline
+Requires: libxml2 openssl
 
 %description -n lib%{name}
 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
@@ -28,6 +28,7 @@ Retrieval.
 %package -n lib%{name}-devel
 Summary: Z39.50 Library - development package
 Group: Development/Libraries
+Requires: libyaz = %{version}
 
 %description -n lib%{name}-devel
 Development libraries and includes for the libyaz package.
@@ -62,9 +63,6 @@ rm -fr ${RPM_BUILD_ROOT}
 
 %files -n lib%{name}
 /usr/lib/*.so.*
-/usr/share/doc/yaz
-/usr/share/yaz/z39.50
-/usr/share/yaz/ill
 /usr/share/man/man7/yaz.*
 
 %files -n lib%{name}-devel
@@ -73,5 +71,9 @@ rm -fr ${RPM_BUILD_ROOT}
 /usr/include/yaz
 /usr/lib/*.so
 /usr/lib/*.a
+/usr/lib/*.la
 /usr/share/aclocal/yaz.m4
-/usr/share/man/man1/yaz-config.*
+/usr/share/man/man8/yaz-config.*
+/usr/share/doc/yaz
+/usr/share/yaz/z39.50
+/usr/share/yaz/ill