X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;h=8939cf4e7635c4b58b64ca89c9672ab2cf9cac16;hp=ac8fcc715c0422da02df47b1ab0b1a5cca7ac499;hb=1d174be5d92bd388583905b152b0183665460bf6;hpb=c43e561fdfe12989a6040163dae0e28ba0a02453 diff --git a/yaz.spec b/yaz.spec index ac8fcc7..8939cf4 100644 --- a/yaz.spec +++ b/yaz.spec @@ -1,11 +1,12 @@ # This file is part of the YAZ toolkit -# Copyright (C) 1995-2011 Index Data +# Copyright (C) 1995-2013 Index Data # # spec file for YAZ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Name: yaz Summary: Z39.50 Programs -Version: 4.1.7 +Version: %{idmetaversion} Release: 1indexdata # determine system @@ -101,8 +102,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 @@ -117,8 +117,10 @@ rm -fr ${RPM_BUILD_ROOT} %{_bindir}/yaz-marcdump %{_bindir}/yaz-iconv %{_bindir}/yaz-json-parse +%{_bindir}/yaz-url %{_mandir}/man1/yaz-client.* %{_mandir}/man1/yaz-json-parse.* +%{_mandir}/man1/yaz-url.* %{_mandir}/man8/yaz-ztest.* %{_mandir}/man1/zoomsh.* %{_mandir}/man1/yaz-marcdump.*