X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;h=33afd51a5e19124531de801f9ee9469304fcbea2;hp=98da8d0cd2734a7a8ca98ee9ede971b551b1d198;hb=59526fbbf2e3b54ce94b3e79e6c7fef9e4f456fb;hpb=3ccb0b75bece286721adca359095f1c36366197a diff --git a/yaz.spec b/yaz.spec index 98da8d0..33afd51 100644 --- a/yaz.spec +++ b/yaz.spec @@ -1,19 +1,18 @@ -Summary: YAZ - A Z39.50 Library Name: yaz -Version: 1.5 -Release: 1 -Copyright: BSD +Version: 1.7 +Release: 2 +Copyright: YAZ License Group: Development/Libraries Vendor: Index Data ApS -Url: http://www.indexdata.dk/yaz/ -Source: yaz-1.5.tar.gz +Source: yaz-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version}-root Packager: Adam Dickmeiss +URL: http://www.indexdata.dk/yaz/ +Summary: Z39.50 Library %description -The YAZ package is a developers' library for developing client - and -server application using the ANSI/NISO Z39.50 protocol for Information -Retrieval. +YAZ is a C library for developing client - and server applications +using the ANSI/NISO Z39.50 protocol for Information Retrieval. %prep %setup @@ -21,20 +20,30 @@ Retrieval. %build CFLAGS="$RPM_OPT_FLAGS" \ - ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr --enable-yc --enable-tcpd + ./configure --prefix=/usr --enable-shared --enable-tcpd make CFLAGS="$RPM_OPT_FLAGS" %install rm -fr $RPM_BUILD_ROOT -make install +make prefix=$RPM_BUILD_ROOT/usr install +cd doc; make prefix=$RPM_BUILD_ROOT/usr 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/bin/yaz-comp /usr/lib/libyaz.a +/usr/lib/libyaz.so +/usr/lib/libyaz.so.1 +/usr/lib/libyaz.so.1.0.0 +/usr/lib/libyazthread.a +/usr/lib/libyazthread.so +/usr/lib/libyazthread.so.1 +/usr/lib/libyazthread.so.1.0.0 /usr/include/yaz -%dir /usr/lib/yaz +/usr/share/yaz/doc +/usr/share/aclocal/yaz.m4