X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;h=d67d528a56fb2b965af5a6a042a664f8a84daa34;hp=e35d6d7cc5c173cd2b7fc72be1ecafbb4561c5da;hb=e2b8bf88befb43e4a189ce3e659c595e5b3af7dc;hpb=a71a136e28026d98022764e370043ef9c671494f diff --git a/yaz.spec b/yaz.spec index e35d6d7..d67d528 100644 --- a/yaz.spec +++ b/yaz.spec @@ -8,7 +8,7 @@ Name: yaz Summary: Z39.50 Programs Version: %{idmetaversion} -Release: 1.indexdata +Release: 4.redis # determine system %define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0) @@ -16,6 +16,7 @@ Release: 1.indexdata %define is_suse11 %(grep 'VERSION = 11' /etc/SuSE-release >/dev/null 2>&1 && echo 1 || echo 0) %define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) Requires: libxslt, gnutls, readline, libyaz5 = %{version} +Requires: hiredis License: BSD Group: Applications/Internet Vendor: Index Data ApS @@ -46,8 +47,9 @@ BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: readline-devel BuildRequires: libicu-devel -BuildRequires: libmemcached-devel +BuildRequires: wget BuildRequires: libgcrypt-devel +BuildRequires: hiredis-devel Packager: Adam Dickmeiss URL: http://www.indexdata.com/yaz @@ -58,7 +60,7 @@ for the ANSI/NISO Z39.50 protocol for Information Retrieval. %package -n libyaz5 Summary: Z39.50 Library Group: Libraries -Requires: libxslt, gnutls, libicu, libmemcached, libgcrypt +Requires: libxslt, gnutls, libicu, libgcrypt %description -n libyaz5 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information @@ -100,7 +102,8 @@ chain facility of YAZ. CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \ - --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu + --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu \ + --without-memcached --with-redis make CFLAGS="$RPM_OPT_FLAGS" %install