Name: yaz Version: @VERSION@ Release: 1 Copyright: YAZ License Group: Development/Libraries Vendor: Index Data ApS 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 YAZ is a C library for developing client - and server applications using the ANSI/NISO Z39.50 protocol for Information Retrieval. %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr --enable-shared --enable-tcpd make CFLAGS="$RPM_OPT_FLAGS" %install rm -fr ${RPM_BUILD_ROOT} make prefix=${RPM_BUILD_ROOT}/usr mandir=${RPM_BUILD_ROOT}/usr/share/man install %clean rm -fr ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc README LICENSE CHANGELOG TODO /usr/bin/* /usr/lib/*.a /usr/lib/*.so /usr/lib/*.so.* /usr/include/yaz /usr/share/yaz/z39.50 /usr/share/yaz/ill /usr/share/doc/yaz /usr/share/aclocal/yaz.m4 /usr/share/man/*/*