BuildRequires: readline-devel
BuildRequires: libicu-devel
BuildRequires: wget
-BuildRequires: cyrus-sasl-devel
BuildRequires: libgcrypt-devel
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/yaz
%prep
%setup
-wget -q http://ftp.indexdata.dk/pub/support/libmemcached-1.0.18.tar.gz
-tar zxf libmemcached-1.0.18.tar.gz
-
%build
-YD=`pwd`
-cd libmemcached-1.0.18
-./configure --disable-shared --prefix=${YD}/libmemcached
-make install
-cd ..
-PKG_CONFIG_PATH=${YD}/libmemcached/lib/pkgconfig CFLAGS="$RPM_OPT_FLAGS" \
+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
make CFLAGS="$RPM_OPT_FLAGS"
%install