1 Summary: YAZ++ package (main)
6 Group: Applications/Internet
7 Vendor: Index Data ApS <info@indexdata.dk>
8 Source: yazpp-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root
10 BuildRequires: pkgconfig libyaz3-devel
11 Packager: Adam Dickmeiss <adam@indexdata.dk>
12 URL: http://www.indexdata.dk/yazplusplus/
18 Summary: YAZ++ and ZOOM library
22 %description -n libyazpp3
23 Libraries for the YAZ++ package.
25 %package -n libyazpp3-devel
26 Summary: Z39.50 Library - development package
27 Group: Development/Libraries
28 Requires: libyazpp3 = %{version} libyaz3-devel
30 %description -n libyazpp3-devel
31 Development libraries and include files for the YAZ++ package.
38 CFLAGS="$RPM_OPT_FLAGS" \
39 ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
40 --enable-shared --with-yaz=/usr/bin
41 make CFLAGS="$RPM_OPT_FLAGS"
44 rm -fr ${RPM_BUILD_ROOT}
45 make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
46 libdir=${RPM_BUILD_ROOT}/%{_libdir} install
49 rm -fr ${RPM_BUILD_ROOT}
52 %doc README LICENSE NEWS
56 %files -n libyazpp3-devel
58 %{_bindir}/yazpp-config
63 %{_datadir}/aclocal/yazpp.m4
64 %{_mandir}/man8/yazpp-config.*