X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;h=d67d528a56fb2b965af5a6a042a664f8a84daa34;hp=c7feccd7618f2ec2c3e903c77a67530d8f7adcbf;hb=e2b8bf88befb43e4a189ce3e659c595e5b3af7dc;hpb=939b4b8c6d6c6a3e5bb0833dc7977ebcdfe2dbf2 diff --git a/yaz.spec b/yaz.spec index c7feccd..d67d528 100644 --- a/yaz.spec +++ b/yaz.spec @@ -1,5 +1,6 @@ # This file is part of the YAZ toolkit -# Copyright (C) 1995-2013 Index Data +# Copyright (C) Index Data +# See the file LICENSE for details. # # spec file for YAZ @@ -7,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) @@ -15,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 @@ -45,6 +47,9 @@ BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: readline-devel BuildRequires: libicu-devel +BuildRequires: wget +BuildRequires: libgcrypt-devel +BuildRequires: hiredis-devel Packager: Adam Dickmeiss URL: http://www.indexdata.com/yaz @@ -55,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 +Requires: libxslt, gnutls, libicu, libgcrypt %description -n libyaz5 YAZ is a library for the ANSI/NISO Z39.50 protocol for Information @@ -97,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