1 Summary: Z39.50 Programs
5 Requires: libxslt openssl readline libyaz3 = %{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-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.
20 Summary: Z39.50 Library
22 Requires: libxslt openssl
24 %description -n libyaz3
25 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
28 %package -n libyaz3-devel
29 Summary: Z39.50 Library - development package
30 Group: Development/Libraries
31 Requires: libyaz3 = %{version} libxml2-devel libxslt-devel
32 Conflicts: libyaz-devel
34 %description -n libyaz3-devel
35 Development libraries and includes for the libyaz package.
38 Summary: ziffy: the promiscuous Z39.50 APDU sniffer
39 Group: Applications/Communication
40 Requires: libxslt openssl libpcap libyaz3 = %{version}
42 %description -n yaz-ziffy
43 ziffy is a promiscuous Z39.50 APDU sniffer, like the popular tcpdump.
44 ziffy can capture and show all Z39.50 traffic on your LAN segment.
45 This packages is a special port of ziffy ported to YAZ. Note that ziffy
46 is licensed under the GPL and was is by Rocco Carbone <rocco@ntop.org>.
48 %package -n yaz-illclient
50 Group: Applications/Communication
51 Requires: readline libyaz3 = %{version}
53 %description -n yaz-illclient
54 yaz-illclient: an ISO ILL client.
61 CFLAGS="$RPM_OPT_FLAGS" \
62 ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
63 --enable-shared --enable-tcpd --with-xslt --with-openssl --with-pcap
64 make CFLAGS="$RPM_OPT_FLAGS"
67 rm -fr ${RPM_BUILD_ROOT}
68 make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
69 libdir=${RPM_BUILD_ROOT}/%{_libdir} install
72 rm -fr ${RPM_BUILD_ROOT}
76 %doc README LICENSE NEWS TODO
80 %{_bindir}/yaz-marcdump
82 %{_mandir}/man1/yaz-client.*
83 %{_mandir}/man8/yaz-ztest.*
84 %{_mandir}/man1/zoomsh.*
85 %{_mandir}/man1/yaz-marcdump.*
86 %{_mandir}/man1/yaz-iconv.*
87 %{_mandir}/man7/yaz-log.*
93 %files -n libyaz3-devel
96 %{_bindir}/yaz-asncomp
98 %{_libdir}/pkgconfig/yaz.pc
102 %{_datadir}/aclocal/yaz.m4
103 %{_mandir}/man1/yaz-asncomp.*
104 %{_mandir}/man7/yaz.*
105 %{_mandir}/man8/yaz-config.*
110 %defattr(-,root,root)
112 %{_mandir}/man1/ziffy.*
114 %files -n yaz-illclient
115 %defattr(-,root,root)
116 %{_bindir}/yaz-illclient
117 %{_mandir}/man1/yaz-illclient.*