AC_MSG_ERROR([YAZ++ development libraries missing])
fi
CPPFLAGS="$YAZPPINC $CPPFLAGS"
-AC_MSG_CHECKING([if YAZ is version 4.2.14 or later])
+AC_MSG_CHECKING([if YAZ is version 4.2.22 or later])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <yaz/yaz-version.h>]],
[[
-#if YAZ_VERSIONL < 0x4020e
+#if YAZ_VERSIONL < 0x40216
#error too old
#endif
]])],
Maintainer: Adam Dickmeiss <adam@indexdata.dk>
Priority: extra
Build-Depends: debhelper (>= 4),
- libyaz4-dev (>= 4.2.14),
+ libyaz4-dev (>= 4.2.22),
libyazpp4-dev (>= 1.2.7),
libxslt1-dev,
libboost-dev,
Package: libmetaproxy4
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}
-Conflicts: libyaz4 (= 4.2.18)
+Depends: ${shlibs:Depends}, libyaz4 (>= 4.2.22)
Description: Z39.50/SRU router (runtime)
This is a universal router, proxy and encapsulated metasearcher
for information retrieval protocols. It accepts, processes, interprets
Source: metaproxy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: %{_prefix} /etc/metaproxy
-BuildRequires: pkgconfig, libyaz4-devel >= 4.2.14, libyazpp4-devel >= 1.2.7
+BuildRequires: pkgconfig, libyaz4-devel >= 4.2.22, libyazpp4-devel >= 1.2.7
BuildRequires: libxslt-devel, boost-devel
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/metaproxy
%package -n libmetaproxy4
Summary: Metaproxy library
Group: Libraries
-Requires: libyazpp4
-Conflicts: libyaz4 = 4.2.18
+Requires: libyazpp4, libyaz4 >= 4.2.22
%description -n libmetaproxy4
The Metaproxy libraries.