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 # Fedora requires tcp_wrappers-devel .
14 %define TCPWRAPPER tcp_wrappers
16 BuildRequires: pkgconfig libxml2-devel libxslt-devel gnutls-devel readline-devel libicu-devel %{TCPWRAPPER}
17 Packager: Adam Dickmeiss <adam@indexdata.dk>
18 URL: http://www.indexdata.dk/yaz/
21 This package contains both a test-server and clients (normal & ssl)
22 for the ANSI/NISO Z39.50 protocol for Information Retrieval.
25 Summary: Z39.50 Library
27 Requires: libxslt gnutls libicu
29 %description -n libyaz3
30 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information
33 %post -p /sbin/ldconfig
34 %postun -p /sbin/ldconfig
36 %package -n libyaz3-devel
37 Summary: Z39.50 Library - development package
38 Group: Development/Libraries
39 Requires: libyaz3 = %{version} libxml2-devel libxslt-devel libicu-devel gnutls-devel %{TCPWRAPPER}
40 Conflicts: libyaz-devel
42 %description -n libyaz3-devel
43 Development libraries and includes for the libyaz package.
45 %package -n yaz-illclient
47 Group: Applications/Communication
48 Requires: readline libyaz3 = %{version}
50 %description -n yaz-illclient
51 yaz-illclient: an ISO ILL client.
54 Summary: Command line utility for ICU utilities of YAZ
55 Group: Applications/Communication
56 Requires: libyaz3 = %{version}
58 %description -n yaz-icu
59 The yaz-icu program is a command-line based client which exposes the ICU
60 chain facility of YAZ.
67 CFLAGS="$RPM_OPT_FLAGS" \
68 ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
69 --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu
70 make CFLAGS="$RPM_OPT_FLAGS"
73 rm -fr ${RPM_BUILD_ROOT}
74 make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
75 libdir=${RPM_BUILD_ROOT}/%{_libdir} install
78 rm -fr ${RPM_BUILD_ROOT}
82 %doc README LICENSE NEWS
86 %{_bindir}/yaz-marcdump
88 %{_mandir}/man1/yaz-client.*
89 %{_mandir}/man8/yaz-ztest.*
90 %{_mandir}/man1/zoomsh.*
91 %{_mandir}/man1/yaz-marcdump.*
92 %{_mandir}/man1/yaz-iconv.*
93 %{_mandir}/man7/yaz-log.*
94 %{_mandir}/man7/bib1-attr.*
100 %files -n libyaz3-devel
101 %defattr(-,root,root)
102 %{_bindir}/yaz-config
103 %{_bindir}/yaz-asncomp
105 %{_libdir}/pkgconfig/yaz.pc
109 %{_datadir}/aclocal/yaz.m4
110 %{_mandir}/man1/yaz-asncomp.*
111 %{_mandir}/man7/yaz.*
112 %{_mandir}/man8/yaz-config.*
116 %files -n yaz-illclient
117 %defattr(-,root,root)
118 %{_bindir}/yaz-illclient
119 %{_mandir}/man1/yaz-illclient.*
122 %defattr(-,root,root)
124 %{_mandir}/man1/yaz-icu.*