1 Summary: Z39.50 Programs
5 Requires: libxslt gnutls 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 %define TCPWRAPPER tcpd-devel
12 %if "%{_vendor}" == "redhat"
13 %define TCPWRAPPER tcp_wrappers-devel
15 BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER}
16 Packager: Adam Dickmeiss <adam@indexdata.dk>
17 URL: http://www.indexdata.dk/yaz/
20 This package contains both a test-server and clients (normal & ssl)
21 for the ANSI/NISO Z39.50 protocol for Information Retrieval.
24 Summary: Z39.50 Library
26 Requires: libxslt gnutls libicu
28 %description -n libyaz3
29 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
32 %package -n libyaz3-devel
33 Summary: Z39.50 Library - development package
34 Group: Development/Libraries
35 Requires: libyaz3 = %{version} libxml2-devel libxslt-devel libicu-devel gnutls-devel %{TCPWRAPPER}
36 Conflicts: libyaz-devel
38 %description -n libyaz3-devel
39 Development libraries and includes for the libyaz package.
41 %package -n yaz-illclient
43 Group: Applications/Communication
44 Requires: readline libyaz3 = %{version}
46 %description -n yaz-illclient
47 yaz-illclient: an ISO ILL client.
50 Summary: Command line utility for ICU utilities of YAZ
51 Group: Applications/Communication
52 Requires: libyaz3 = %{version}
54 %description -n yaz-icu
55 The yaz-icu program is a command-line based client which exposes the ICU
56 chain facility of YAZ.
63 CFLAGS="$RPM_OPT_FLAGS" \
64 ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
65 --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu
66 make CFLAGS="$RPM_OPT_FLAGS"
69 rm -fr ${RPM_BUILD_ROOT}
70 make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
71 libdir=${RPM_BUILD_ROOT}/%{_libdir} install
74 rm -fr ${RPM_BUILD_ROOT}
78 %doc README LICENSE NEWS
82 %{_bindir}/yaz-marcdump
84 %{_mandir}/man1/yaz-client.*
85 %{_mandir}/man8/yaz-ztest.*
86 %{_mandir}/man1/zoomsh.*
87 %{_mandir}/man1/yaz-marcdump.*
88 %{_mandir}/man1/yaz-iconv.*
89 %{_mandir}/man7/yaz-log.*
90 %{_mandir}/man7/bib1-attr.*
96 %files -n libyaz3-devel
99 %{_bindir}/yaz-asncomp
101 %{_libdir}/pkgconfig/yaz.pc
105 %{_datadir}/aclocal/yaz.m4
106 %{_mandir}/man1/yaz-asncomp.*
107 %{_mandir}/man7/yaz.*
108 %{_mandir}/man8/yaz-config.*
112 %files -n yaz-illclient
113 %defattr(-,root,root)
114 %{_bindir}/yaz-illclient
115 %{_mandir}/man1/yaz-illclient.*
118 %defattr(-,root,root)
120 %{_mandir}/man1/yaz-icu.*