No "copy" of source for thread/malloc libraries.
[yaz-moved-to-github.git] / yaz.spec
1 Name: yaz
2 Version: 1.8.4
3 Release: 1
4 Copyright: YAZ License
5 Group: Development/Libraries
6 Vendor: Index Data ApS <info@indexdata.dk>
7 Source: yaz-%{version}.tar.gz
8 BuildRoot: /var/tmp/%{name}-%{version}-root
9 Packager: Adam Dickmeiss <adam@indexdata.dk>
10 URL: http://www.indexdata.dk/yaz/
11 Summary: Z39.50 Library
12
13 %description
14 YAZ is a C library for developing client - and server applications
15 using the ANSI/NISO Z39.50 protocol for Information Retrieval. 
16
17 %prep
18 %setup
19
20 %build
21
22 CFLAGS="$RPM_OPT_FLAGS" \
23  ./configure --prefix=/usr --enable-shared --enable-tcpd
24 make CFLAGS="$RPM_OPT_FLAGS"
25
26 %install
27 rm -fr $RPM_BUILD_ROOT
28 make prefix=$RPM_BUILD_ROOT/usr install
29 cd doc; make prefix=$RPM_BUILD_ROOT/usr 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/bin/yaz-comp
39 /usr/bin/zoomsh
40 /usr/lib/libyaz.a
41 /usr/lib/libyaz.so
42 /usr/lib/libyaz.so.1
43 /usr/lib/libyaz.so.1.0.0
44 /usr/lib/libyazthread.a
45 /usr/lib/libyazthread.so
46 /usr/lib/libyazthread.so.1
47 /usr/lib/libyazthread.so.1.0.0
48 /usr/lib/libyazmalloc.a
49 /usr/lib/libyazmalloc.so
50 /usr/lib/libyazmalloc.so.1
51 /usr/lib/libyazmalloc.so.1.0.0
52 /usr/include/yaz
53 /usr/share/yaz/z39.50
54 /usr/share/yaz/ill
55 /usr/share/yaz/doc
56 /usr/share/aclocal/yaz.m4