X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;h=34d56479e8b3f0ee9c5bd0ece467351fedc84f8b;hp=b977565f8f2bc5f4ac99e9923daf66c931f0fe01;hb=cbe6fe88459e1dc051bf8bd66c91d5668fefbeb9;hpb=473824797f568578dc17d7242551cb2f7ccef46c diff --git a/yaz.spec b/yaz.spec index b977565..34d5647 100644 --- a/yaz.spec +++ b/yaz.spec @@ -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,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 @@ -56,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 @@ -98,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