X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=yazproxy.spec;h=0929eb1d13f25af98d812e946a0ce192ede7a246;hp=fcced4b2c8886a4e231d874d95a1e1a216e3eeea;hb=fafead88e5a2326e4c416141a046d7de121835f4;hpb=ecc2385f22abeef9ffc26f36b15eaa527c379d3d diff --git a/yazproxy.spec b/yazproxy.spec index fcced4b..0929eb1 100644 --- a/yazproxy.spec +++ b/yazproxy.spec @@ -1,13 +1,14 @@ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Summary: yazproxy Name: yazproxy -Version: 1.3.6 +Version: %{idmetaversion} Release: 1indexdata License: GPL Group: Applications/Internet Vendor: Index Data ApS Source: yazproxy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: libyazpp4-devel +BuildRequires: libyazpp6-devel Packager: Adam Dickmeiss URL: http://www.indexdata.com/yazproxy @@ -17,7 +18,7 @@ YAZ Proxy application %package -n libyazproxy2 Summary: YAZ Proxy libraries Group: Libraries -Requires: libyazpp4 +Requires: libyazpp6 %description -n libyazproxy2 YAZ Proxy libraries @@ -25,7 +26,7 @@ YAZ Proxy libraries %package -n libyazproxy2-devel Summary: YAZ Proxy development libraries Group: Development/Libraries -Requires: libyazproxy2 = %{version} libyazpp4-devel +Requires: libyazproxy2 = %{version}, libyazpp6-devel %description -n libyazproxy2-devel Development libraries and include files for the YAZ proxy. @@ -42,8 +43,7 @@ make CFLAGS="$RPM_OPT_FLAGS" %install rm -fr ${RPM_BUILD_ROOT} -make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \ - libdir=${RPM_BUILD_ROOT}/%{_libdir} install +make install DESTDIR=${RPM_BUILD_ROOT} rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la %clean