]> git.pld-linux.org Git - packages/fence-agents.git/blob - fence-agents.spec
- updated to 4.0.11
[packages/fence-agents.git] / fence-agents.spec
1 #
2 # TODO:
3 #       - split into subpackages
4 %include        /usr/lib/rpm/macros.perl
5 Summary:        Reusable cluster fencing scripts
6 Summary(pl.UTF-8):      Skrypty barier klastrowych wielokrotnego użytku
7 Name:           fence-agents
8 Version:        4.0.11
9 Release:        1
10 License:        GPL v2+ (libraries), LGPL v2.1+ (applications)
11 Group:          Daemons
12 Source0:        https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
13 # Source0-md5:  8d3d72670e836782ef97ada368484ef1
14 Patch0:         %{name}-check.patch
15 URL:            https://fedorahosted.org/cluster/wiki/HomePage
16 BuildRequires:  autoconf >= 2.63
17 BuildRequires:  automake
18 BuildRequires:  libtool >= 2:2.2.6
19 BuildRequires:  perl-Net-Telnet
20 BuildRequires:  pkgconfig
21 BuildRequires:  python-pexpect
22 BuildRequires:  python-pycurl
23 BuildRequires:  python-suds
24 BuildRequires:  rpm-perlprov
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xz
27 # /usr/bin/gnutls-cli tool
28 Requires:       gnutls
29 # XXX: is it proper dependency for cluster 4?
30 Requires:       resource-agents >= 3.9
31 # /usr/bin/amttool
32 Suggests:       amtterm
33 # /usr/bin/ipmitool
34 Suggests:       ipmitool
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Scripts providing fencing facilities for cluster nodes.
39
40 %description -l pl.UTF-8
41 Skrypty zapewniające funkcjonalność barier dla węzłów klastra.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %build
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rmdir $RPM_BUILD_ROOT/var/run/cluster
63
64 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc ChangeLog doc/{COPYRIGHT,README.licence}
72 %attr(755,root,root) %{_sbindir}/fence_*
73 %attr(755,root,root) %{_libexecdir}/fence_kdump_send
74 %{_datadir}/fence
75 %attr(755,root,root) %{_datadir}/cluster/fence_scsi_check
76 %dir %{_datadir}/cluster/relaxng
77 %{_datadir}/cluster/relaxng/fence.rng.head
78 %{_datadir}/cluster/relaxng/fence.rng.tail
79 %{_datadir}/cluster/relaxng/fence2man.xsl
80 %{_datadir}/cluster/relaxng/fence2rng.xsl
81 %{_datadir}/cluster/relaxng/metadata.rng
82 %{_mandir}/man8/fence_*.8*
This page took 0.086142 seconds and 4 git commands to generate.