projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 4.2.35
[yaz-moved-to-github.git]
/
yaz.spec
diff --git
a/yaz.spec
b/yaz.spec
index
db6c5ef
..
1c4498d
100644
(file)
--- a/
yaz.spec
+++ b/
yaz.spec
@@
-3,15
+3,17
@@
#
# spec file for YAZ
#
# 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)
# 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)
%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
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-marcdump
%{_bindir}/yaz-iconv
%{_bindir}/yaz-json-parse
+%{_bindir}/yaz-url
%{_mandir}/man1/yaz-client.*
%{_mandir}/man1/yaz-json-parse.*
%{_mandir}/man1/yaz-client.*
%{_mandir}/man1/yaz-json-parse.*
+%{_mandir}/man1/yaz-url.*
%{_mandir}/man8/yaz-ztest.*
%{_mandir}/man1/zoomsh.*
%{_mandir}/man1/yaz-marcdump.*
%{_mandir}/man8/yaz-ztest.*
%{_mandir}/man1/zoomsh.*
%{_mandir}/man1/yaz-marcdump.*