fence-agents/fence-agents.spec
Fabio M. Di Nitto d6a04f8e78 New upstream release
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-04-04 17:41:43 +02:00

305 lines
11 KiB
RPMSpec

###############################################################################
###############################################################################
##
## Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
##
## This copyrighted material is made available to anyone wishing to use,
## modify, copy, or redistribute it subject to the terms and conditions
## of the GNU General Public License v.2.
##
###############################################################################
###############################################################################
# keep around ready for later user
## global alphatag git0a6184070
Name: fence-agents
Summary: Fence Agents for Red Hat Cluster
Version: 3.1.3
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
URL: http://sourceware.org/cluster/wiki/
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
## Runtime deps
Requires: sg3_utils telnet openssh-clients
Requires: pexpect python-pycurl python-suds net-snmp-utils
Requires: perl-Net-Telnet
# This is required by fence_virsh. Per discussion on fedora-devel
# switching from package to file based require.
Requires: /usr/bin/virsh
# This is required by fence_ipmilan. it appears that the packages
# have changed Requires around. Make sure to get the right one.
Requires: /usr/bin/ipmitool
## Setup/build bits
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# Build dependencies
BuildRequires: perl python
BuildRequires: glibc-devel
BuildRequires: nss-devel nspr-devel
BuildRequires: libxslt pexpect python-pycurl python-suds
%prep
%setup -q -n %{name}-%{version}
%build
%{configure}
CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
## tree fix up
# fix libfence permissions
chmod 0755 %{buildroot}%{_datadir}/fence/*.py
# remove docs
rm -rf %{buildroot}/usr/share/doc/fence-agents
%clean
rm -rf %{buildroot}
%description
Red Hat Fence Agents is a collection of scripts to handle remote
power management for several devices.
%files
%defattr(-,root,root,-)
%doc doc/COPYING.* doc/COPYRIGHT doc/README.licence
%config(noreplace) %{_sysconfdir}/cluster/fence_na.conf
%{_sbindir}/fence*
%{_datadir}/fence
%{_datadir}/cluster
%{_mandir}/man8/fence*
%changelog
* Mon Apr 4 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.3-1
- new upstream release
* Wed Mar 2 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.2-1
- new upstream release
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Feb 8 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.1-1
- new upstream release
- spec file update:
Drop unnecessary BuildRequires
* Thu Dec 2 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.0-1
- new upstream release
- spec file update:
Update upstream URL
Update source URL
Drop unnecessary BuildRequires
use standard configure macro
use standard make invokation
* Thu Oct 6 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.17-1
- new upstream release
Resolves: rhbz#632595, rhbz#633856, rhbz#632385, rhbz#628013
Resolves: rhbz#621313, rhbz#595383, rhbz#580492, rhbz#605733
Resolves: rhbz#636243, rhbz#591003, rhbz#637913, rhbz#634718
Resolves: rhbz#617247, rhbz#617247, rhbz#617234, rhbz#631943
Resolves: rhbz#639018
- spec file update:
Add Requires: python-pycurl for fence_cisco_ucs.
* Thu Sep 2 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.16-1
- new upstream release
Resolves: rhbz#619096, rhbz#614046, rhbz#620679, rhbz#619680
Resolves: rhbz#621562, rhbz#621694, rhbz#608887, rhbz#622844
Resolves: rhbz#623810, rhbz#617306, rhbz#623816, rhbz#624691
Resolves: rhbz#622576
- spec file update:
Ship fence_na.conf example config file.
* Thu Jul 29 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.14-1
- new upstream release
Resolves: rhbz#553383, rhbz#557563, rhbz#578625, rhbz#591003
Resolves: rhbz#593721, rhbz#593726, rhbz#595455, rhbz#595547
Resolves: rhbz#596918, rhbz#601315, rhbz#604298, rhbz#606368
Resolves: rhbz#606470, rhbz#606480, rhbz#606754, rhbz#606989
Resolves: rhbz#607321, rhbz#608154, rhbz#608887, rhbz#609181
Resolves: rhbz#609866, rhbz#609978, rhbz#612097, rhbz#612110
Resolves: rhbz#612165, rhbz#612941, rhbz#614127, rhbz#614356
Resolves: rhbz#614421, rhbz#614457, rhbz#614961, rhbz#615202
Resolves: rhbz#615203, rhbz#615255, rhbz#617163, rhbz#617566
Resolves: rhbz#618534, rhbz#618703, rhbz#618806, rhbz#618814
* Mon Jun 7 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.13-1
- new upstream release
Resolves: rhbz#592103, rhbz#593108, rhbz#578617, rhbz#594626
Resolves: rhbz#594511, rhbz#596046, rhbz#594111, rhbz#597002
Resolves: rhbz#599643
* Mon May 10 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-1
- new upstream release
Resolves: rhbz#585217, rhbz#586100, rhbz#581533, rhbz#582753
Resolves: rhbz#582754, rhbz#585083, rhbz#587079, rhbz#588890
Resolves: rhbz#588925, rhbz#583789, rhbz#589131, rhbz#588010
Resolves: rhbz#576871, rhbz#576871, rhbz#590000, rhbz#589823
* Wed Apr 21 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.11-1
- new upstream release
Resolves: rhbz#583945, rhbz#581047, rhbz#576330, rhbz#583017
Resolves: rhbz#583019, rhbz#583948, rhbz#584003, rhbz#582017
Resolves: rhbz#555901, rhbz#582754, rhbz#582573, rhbz#581533
* Fri Apr 9 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.10-1
- new upstream release
Resolves: rhbz#519491, rhbz#570525, rhbz#571806, rhbz#574027
Resolves: rhbz#574215, rhbz#574886, rhbz#576322, rhbz#576335
Resolves: rhbz#575103, rhbz#577856, rhbz#577874, rhbz#578249
Resolves: rhbz#578625, rhbz#578626, rhbz#578628, rhbz#578626
Resolves: rhbz#579621, rhbz#579623, rhbz#579625, rhbz#579626
Resolves: rhbz#579059
* Mon Mar 1 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.9-1
- new upstream release
Resolves: rhbz#455300, rhbz#568446, rhbz#561862, rhbz#536902
Resolves: rhbz#512171, rhbz#519491
- spec file update:
fence-agents should not Requires fence-virt directly
* Mon Feb 22 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.8-1
- new upstream release
Resolves: rhbz#548133, rhbz#565907, rhbz#545602, rhbz#555901
Resolves: rhbz#564471, rhbz#515717, rhbz#557128, rhbz#536157
Resolves: rhbz#455300, rhbz#561416, rhbz#562237, rhbz#537201
Resolves: rhbz#536962, rhbz#553383, rhbz#556961, rhbz#555363
Resolves: rhbz#557128, rhbz#455300, rhbz#557167, rhbz#459630
Resolves: rhbz#532808, rhbz#556603, rhbz#554968, rhbz#555047
Resolves: rhbz#554968, rhbz#555047
- spec file update:
* update spec file copyright date
* use bz2 tarball
* bump minimum requirements for corosync/openais/fence-virt
* Tue Jan 12 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.7-1
- New upstream release:
Resolves: rhbz#549124, rhbz#546340, rhbz#526286, rhbz#549473
* Mon Dec 7 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.6-2
- Use the correct tarball from upstream
* Mon Dec 7 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.6-1
- New upstream release (drop fence_head.diff)
- spec file updates:
* use new Source0 url
* use file based Requires for ipmitools (rhbz: 545237)
* Fri Dec 4 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.5-2.git0a6184070
- Drop fence_xvm from upstream (fence_head.diff)
- spec file updates:
* Drop unrequired comments
* Readd alpha tag and clean it's usage around
* Requires: fence-virt in sufficient version to provide fence_xvm
* Fri Nov 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.5-1
- New upstream release
* Tue Oct 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-3
- Switch to file based Requires for virsh
* Tue Oct 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-2
- Fix Requires: on libvirt/libvirt-client
* Wed Oct 21 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-1
- New upstream release
- BuildRequire libxslt and pexpect for automatic man page generation
* Wed Sep 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.3-1
- New upstream release
* Mon Aug 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.2-2
- Fix changelog.
* Mon Aug 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.2-1
- New upstream release
- spec file updates:
* remove dust from runtime dependencies
* Thu Aug 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.1-1
- New upstream release
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Jul 8 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-14
- New upstream release
- spec file updates:
* Update copyright header
* final release.. undefine alphatag
* BuildRequires and Requires corosync/openais 1.0.0-1 final.
* Thu Jul 2 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-13.rc4
- New upstream release.
- spec file updates:
* BuildRequires / Requires: latest corosync and openais
* Drop --enable_virt. Now default upstream
* Sat Jun 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-12.rc3
- New upstream release.
- spec file updates:
* BuildRequires / Requires: latest corosync and openais
* Wed Jun 10 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-11.rc2
- New upstream release + git94df30ca63e49afb1e8aeede65df8a3e5bcd0970
- spec file updates:
* BuildRequires / Requires: latest corosync and openais
* Build fence_xvm unconditionally now that libvirt is everywhere
* Drop telnet_ssl wrapper in favour of nss version
* Tue Mar 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-10.rc1
- New upstream release.
- Cleanup BuildRequires to avoid to pull in tons of stuff when it's not
required.
- Update BuildRoot usage to preferred versions/names.
- Stop shipping powermib. Those are not required for operations anymore.
* Thu Mar 12 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-9.beta1
- Fix arch check for virt support.
- Drop unrequired BuildRequires.
- Drop unrequired Requires: on perl.
* Mon Mar 9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-8.beta1
- New upstream release.
- Update corosync/openais BuildRequires and Requires.
* Fri Mar 6 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-7.alpha7
- New upstream release.
- Drop fence_scsi init stuff that's not required anylonger.
* Tue Mar 3 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-6.alpha6
- New upstream release.
* Tue Feb 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-5.alpha5
- Fix directory ownership.
* Tue Feb 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-4.alpha5
- Drop Conflicts with cman.
* Mon Feb 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-3.alpha5
- New upstream release. Also address comments from first package review.
* Thu Feb 19 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-2.alpha4
- Add comments on how to build this package.
- Update build depends on new corosynclib and openaislib.
* Thu Feb 5 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha4
- New upstream release.
- Fix datadir/fence directory ownership.
- Update BuildRequires: to reflect changes in corosync/openais/cluster
library split.
* Tue Jan 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha3
- Initial packaging