Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
[yaz-moved-to-github.git] / yaz.spec
index 98da8d0..8e5e7f1 100644 (file)
--- a/yaz.spec
+++ b/yaz.spec
@@ -1,12 +1,12 @@
 Summary: YAZ - A Z39.50 Library
 Name: yaz
-Version: 1.5
+Version: 1.6
 Release: 1
 Copyright: BSD
 Group: Development/Libraries
 Vendor: Index Data ApS <info@indexdata.dk>
 Url: http://www.indexdata.dk/yaz/
-Source: yaz-1.5.tar.gz
+Source: yaz-1.6.tar.gz
 BuildRoot: /var/tmp/%{name}-%{version}-root
 Packager: Adam Dickmeiss <adam@indexdata.dk>
 
@@ -21,7 +21,7 @@ Retrieval.
 %build
 
 CFLAGS="$RPM_OPT_FLAGS" \
- ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr --enable-yc --enable-tcpd
+ ./configure --prefix=$RPM_BUILD_ROOT/usr --enable-yc --enable-tcpd
 make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
@@ -31,10 +31,9 @@ make install
 %files
 %defattr(-,root,root)
 %doc README LICENSE CHANGELOG TODO
-%config /usr/lib/yaz/tab
+%config /usr/share/yaz/tab
 /usr/bin/yaz-client
 /usr/bin/yaz-ztest
 /usr/bin/yaz-config
 /usr/lib/libyaz.a
 /usr/include/yaz
-%dir /usr/lib/yaz