resource-agents/resource-agents.spec

117 lines
3.8 KiB
RPMSpec
Raw Normal View History

2009-02-24 12:37:00 +00:00
###############################################################################
###############################################################################
##
2009-07-08 20:40:51 +00:00
## Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
2009-02-24 12:37:00 +00:00
##
## 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.
##
###############################################################################
###############################################################################
# main (empty) package
# http://www.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html
# keep around ready for later user
2009-07-08 20:40:51 +00:00
## define alphatag rc4
2009-02-24 12:37:00 +00:00
Name: resource-agents
Summary: Open Source HA Resource Agents for Red Hat Cluster
Version: 3.0.0
2009-07-08 20:40:51 +00:00
Release: 12%{?alphatag:.%{alphatag}}%{?dist}
2009-02-24 12:37:00 +00:00
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
URL: http://sources.redhat.com/cluster/wiki/
Source0: ftp://sources.redhat.com/pub/cluster/releases/resource-agents-%{version}%{?alphatag:.%{alphatag}}.tar.gz
## Runtime deps
Requires: bash grep sed gawk
Requires: net-tools mount e2fsprogs
## Setup/build bits
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
2009-02-24 12:37:00 +00:00
BuildArch: noarch
# Build dependencies (sed / bash)
# BuildRequires:
%prep
%setup -q -n resource-agents-%{version}%{?alphatag:.%{alphatag}}
# we inherit configure from cluster project. Configure it for vars we need.
# building from source directly without those parameters will NOT work.
# See http://www.redhat.com/archives/cluster-devel/2009-February/msg00003.html
%build
./configure \
--sbindir=%{_sbindir} \
--initddir=%{_sysconfdir}/rc.d/init.d \
--libdir=%{_libdir} \
--without_fence_agents \
--disable_kernel_check
##CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
# %{_smp_mflags} is broken from upstream and unrequired for this project.
CFLAGS="$(echo '%{optflags}')" make -C rgmanager/src/resources
%install
rm -rf %{buildroot}
make -C rgmanager/src/resources install DESTDIR=%{buildroot}
2009-02-24 12:37:00 +00:00
%clean
rm -rf %{buildroot}
2009-02-24 12:37:00 +00:00
%description
Red Hat Resource Agents provides a set of scripts to interface with several
services to operate in a High Availability environment.
%files
%defattr(-,root,root,-)
%doc doc/COPYING.* doc/COPYRIGHT doc/README.licence
%{_datadir}/cluster
%changelog
2009-07-08 20:40:51 +00:00
* Wed Jul 8 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-12
- - spec file updates:
* Update copyright header
* final release.. undefine alphatag
2009-07-01 22:36:39 +00:00
* Thu Jul 2 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-11.rc4
- New upstream release.
2009-06-20 11:06:45 +00:00
* Sat Jun 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-10.rc3
- New upstream release.
* Wed Jun 10 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-9.rc2
- New upstream release + git94df30ca63e49afb1e8aeede65df8a3e5bcd0970
* Tue Mar 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-8.rc1
- New upstream release.
- Update BuildRoot usage to preferred versions/names
2009-03-09 10:40:11 +00:00
* Mon Mar 9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-7.beta1
- New upstream release.
2009-03-06 10:59:09 +00:00
* Fri Mar 6 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-6.alpha7
- New upstream release.
2009-03-03 06:54:30 +00:00
* Tue Mar 3 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-5.alpha6
- New upstream release.
2009-02-24 12:39:24 +00:00
* Tue Feb 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-4.alpha5
- Drop Conflicts with rgmanager.
2009-02-24 12:37:00 +00:00
* Mon Feb 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-3.alpha5
- New upstream release.
* Thu Feb 19 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-2.alpha4
- Add comments on how to build this package.
* Thu Feb 5 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha4
- New upstream release.
- Fix datadir/cluster directory ownership.
* Tue Jan 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha3
- Initial packaging