commit dba9a42aa62bfe9f2553e1926b70608fca53546f
Author: Jakub Bogusz <[email protected]>
Date:   Tue Sep 10 15:28:27 2013 +0200

    - pl
    - autogenerate perl dependencies

 fence-agents.spec | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/fence-agents.spec b/fence-agents.spec
index 08053a2..f454ac7 100644
--- a/fence-agents.spec
+++ b/fence-agents.spec
@@ -1,28 +1,36 @@
 #
 # TODO:
 #      - split into subpackages
-
+%include       /usr/lib/rpm/macros.perl
 Summary:       Reusable cluster fencing scripts
+Summary(pl.UTF-8):     Skrypty barier klastrowych wielokrotnego użytku
 Name:          fence-agents
 Version:       3.1.8
 Release:       1
 License:       GPL v2+; LGPL v2.1+
 Group:         Daemons
-URL:           https://fedorahosted.org/cluster/wiki/HomePage
 Source0:       
https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
 # Source0-md5: 2dbdd6d820a126478eb7600c3be1b075
-BuildRequires: autoconf
+URL:           https://fedorahosted.org/cluster/wiki/HomePage
+BuildRequires: autoconf >= 2.63
 BuildRequires: automake
-BuildRequires: libtool
-BuildRequires: perl(Net::Telnet)
+BuildRequires: libtool >= 2:2.2.6
+BuildRequires: perl-Net-Telnet
 BuildRequires: python-pexpect
 BuildRequires: python-pycurl
 BuildRequires: python-suds
+BuildRequires: rpm-perlprov
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires:      cluster-fence >= 3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Scripts providing fencing facilities for cluster nodes.
 
+%description -l pl.UTF-8
+Skrypty zapewniające funkcjonalność barier dla węzłów klastra.
+
 %prep
 %setup -q
 
@@ -43,7 +51,7 @@ rm -rf $RPM_BUILD_ROOT
 
 rmdir $RPM_BUILD_ROOT/var/run/cluster
 
-rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,4 +68,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/cluster/relaxng/fence.rng.tail
 %{_datadir}/cluster/relaxng/fence2man.xsl
 %{_datadir}/cluster/relaxng/fence2rng.xsl
-%{_mandir}/man8/fence_*
+%{_mandir}/man8/fence_*.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fence-agents.git/commitdiff/dba9a42aa62bfe9f2553e1926b70608fca53546f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to