1 Summary: Z39.50 Programs
5 Requires: libxml2 openssl readline libyaz = %{version}
8 Vendor: Index Data ApS <info@indexdata.dk>
9 Source: yaz-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 BuildRequires: libxml2 libxml2-devel tcp_wrappers openssl-devel readline-devel
12 Packager: Adam Dickmeiss <adam@indexdata.dk>
13 URL: http://www.indexdata.dk/yaz/
16 This package contains both a test-server and clients (normal & ssl)
17 for the ANSI/NISO Z39.50 protocol for Information Retrieval.
19 %package -n lib%{name}
20 Summary: Z39.50 Library
22 Requires: libxml2 openssl
24 %description -n lib%{name}
25 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
28 %package -n lib%{name}-devel
29 Summary: Z39.50 Library - development package
30 Group: Development/Libraries
31 Requires: libyaz = %{version} libxml2-devel
33 %description -n lib%{name}-devel
34 Development libraries and includes for the libyaz package.
41 CFLAGS="$RPM_OPT_FLAGS" \
42 ./configure --prefix=/usr --enable-shared --enable-tcpd --with-openssl
43 make CFLAGS="$RPM_OPT_FLAGS"
46 rm -fr ${RPM_BUILD_ROOT}
47 make prefix=${RPM_BUILD_ROOT}/usr mandir=${RPM_BUILD_ROOT}/usr/share/man install
50 rm -fr ${RPM_BUILD_ROOT}
54 %doc README LICENSE CHANGELOG TODO
59 /usr/share/man/man1/yaz-client-ssl.*
60 /usr/share/man/man1/yaz-client.*
61 /usr/share/man/man1/zoomsh.*
62 /usr/share/man/man1/yaz-marcdump.*
63 /usr/share/man/man8/yaz-ztest-ssl.*
64 /usr/share/man/man8/yaz-ztest.*
68 /usr/share/man/man7/yaz.*
71 %files -n lib%{name}-devel
78 /usr/share/aclocal/yaz.m4
79 /usr/share/man/man1/yaz-asncomp.*
80 /usr/share/man/man8/yaz-config.*