X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;h=c90a3e8d7d77fde64885042706864a688242e651;hp=db6c5efb2d880cbb63a58f9e784551cadbb8b156;hb=3178894be28922a17125e31feff1010fcecc3128;hpb=e7fe65bb0895a91714b664eff5d88602ea2524a5 diff --git a/yaz.spec b/yaz.spec index db6c5ef..c90a3e8 100644 --- a/yaz.spec +++ b/yaz.spec @@ -1,17 +1,19 @@ # This file is part of the YAZ toolkit -# Copyright (C) 1995-2011 Index Data +# Copyright (C) 1995-2012 Index Data # # spec file for YAZ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') +Name: yaz +Summary: Z39.50 Programs +Version: %{idmetaversion} +Release: 1indexdata + # determine system %define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0) -%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) -%define is_suse11 %(grep 'VERSION = 11' /etc/SuSE-release >/dev/null && echo 1 || echo 0) +%define is_suse %(test -e /etc/SuSE-release >/dev/null && echo 1 || echo 0) +%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) -Summary: Z39.50 Programs -Name: yaz -Version: 4.1.2 -Release: 1 Requires: libxslt, gnutls, readline, libyaz4 = %{version} License: BSD Group: Applications/Internet @@ -116,8 +118,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.*