X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=yaz.spec;h=3c882c4d1f40bf4550cf131d160dd8b19a5f8607;hb=813d54d6b885886d0bf823937576e69fd48f81aa;hp=7d4a5fb99f163e4ecd459313ad96194aa6f22f8a;hpb=d9ee01635f03f9095a66f71b73580560d48798e8;p=yaz-moved-to-github.git diff --git a/yaz.spec b/yaz.spec index 7d4a5fb..3c882c4 100644 --- a/yaz.spec +++ b/yaz.spec @@ -1,19 +1,19 @@ -Summary: YAZ - A Z39.50 Library Name: yaz -Version: 1.5 +Version: 1.7 Release: 1 -Copyright: GPL +Copyright: BSD 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. +The YAZ package is a C library for developing client - and +server applications using the ANSI/NISO Z39.50 protocol for Information +Retrieval. %prep %setup @@ -21,20 +21,25 @@ Retrieval. %build CFLAGS="$RPM_OPT_FLAGS" \ - ./configure --with-build-root=$RPM_BUILD_ROOT --prefix=/usr --enable-yc --enable-tcpd + ./configure --prefix=/usr --enable-shared 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.0 +/usr/lib/libyaz.so.0.0.0 /usr/include/yaz -%dir /usr/lib/yaz +/usr/share/yaz/doc