Added config.h.in.
[yaz-moved-to-github.git] / yaz.spec
1 Summary: YAZ - A Z39.50 Library
2 Name: yaz
3 Version: 1.6
4 Release: 1
5 Copyright: BSD
6 Group: Development/Libraries
7 Vendor: Index Data ApS <info@indexdata.dk>
8 Url: http://www.indexdata.dk/yaz/
9 Source: yaz-1.6.tar.gz
10 BuildRoot: /var/tmp/%{name}-%{version}-root
11 Packager: Adam Dickmeiss <adam@indexdata.dk>
12
13 %description
14 The YAZ package is a developers' library for developing client - and
15 server application using the ANSI/NISO Z39.50 protocol for Information
16 Retrieval.
17
18 %prep
19 %setup
20
21 %build
22
23 CFLAGS="$RPM_OPT_FLAGS" \
24  ./configure --prefix=$RPM_BUILD_ROOT/usr --enable-yc --enable-tcpd
25 make CFLAGS="$RPM_OPT_FLAGS"
26
27 %install
28 rm -fr $RPM_BUILD_ROOT
29 make install
30
31 %files
32 %defattr(-,root,root)
33 %doc README LICENSE CHANGELOG TODO
34 %config /usr/share/yaz/tab
35 /usr/bin/yaz-client
36 /usr/bin/yaz-ztest
37 /usr/bin/yaz-config
38 /usr/lib/libyaz.a
39 /usr/include/yaz