1 Summary: Z39.50 Programs
5 Requires: libxslt openssl readline libyaz = %{version}
7 Group: Applications/Internet
8 Vendor: Index Data ApS <info@indexdata.dk>
9 Source: yaz-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 BuildRequires: libxml2-devel libxslt-devel tcp_wrappers openssl-devel readline-devel libpcap
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: libxslt 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 libxslt-devel
33 %description -n lib%{name}-devel
34 Development libraries and includes for the libyaz package.
37 Summary: ziffy: the promiscuous Z39.50 APDU sniffer
38 Group: Applications/Communication
39 Requires: libxslt openssl libpcap libyaz = %{version}
41 %description -n yaz-ziffy
42 ziffy is a promiscuous Z39.50 APDU sniffer, like the popular tcpdump.
43 ziffy can capture and show all Z39.50 traffic on your LAN segment.
44 This packages is a special port of ziffy ported to YAZ. Note that ziffy
45 is licensed under the GPL and was is by Rocco Carbone <rocco@ntop.org>.
52 CFLAGS="$RPM_OPT_FLAGS" \
53 ./configure --prefix=/usr --enable-shared --enable-tcpd --with-xslt --with-openssl
54 make CFLAGS="$RPM_OPT_FLAGS"
57 rm -fr ${RPM_BUILD_ROOT}
58 make prefix=${RPM_BUILD_ROOT}/usr mandir=${RPM_BUILD_ROOT}/usr/share/man install
61 rm -fr ${RPM_BUILD_ROOT}
65 %doc README LICENSE NEWS TODO
71 /usr/share/man/man1/yaz-client.*
72 /usr/share/man/man8/yaz-ztest.*
73 /usr/share/man/man1/zoomsh.*
74 /usr/share/man/man1/yaz-marcdump.*
75 /usr/share/man/man1/yaz-iconv.*
76 /usr/share/man/man7/yaz-log.*
81 %files -n lib%{name}-devel
85 /usr/lib/pkgconfig/yaz.pc
89 /usr/share/aclocal/yaz.m4
90 /usr/share/man/man1/yaz-asncomp.*
91 /usr/share/man/man7/yaz.*
92 /usr/share/man/man8/yaz-config.*
98 /usr/share/man/man1/ziffy.*