rpms/rgmanager/F-11 .cvsignore, 1.15, 1.16 Makefile, 1.5, 1.6 rgmanager.spec, 1.45, 1.46 sources, 1.24, 1.25 dead.package, 1.1, NONE

Fabio M. Di Nitto fabbione at fedoraproject.org
Fri Oct 9 06:00:36 UTC 2009


Author: fabbione

Update of /cvs/pkgs/rpms/rgmanager/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12893

Added Files:
	.cvsignore Makefile rgmanager.spec sources 
Removed Files:
	dead.package 
Log Message:
Re-instate package



Index: .cvsignore
===================================================================
RCS file: .cvsignore
diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	9 Oct 2009 06:00:35 -0000	1.16
@@ -0,0 +1 @@
+rgmanager-3.0.3.tar.gz


Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	9 Oct 2009 06:00:35 -0000	1.6
@@ -0,0 +1,21 @@
+# Makefile for source rpm: rgmanager
+# $Id$
+NAME := rgmanager
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)


Index: rgmanager.spec
===================================================================
RCS file: rgmanager.spec
diff -N rgmanager.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ rgmanager.spec	9 Oct 2009 06:00:36 -0000	1.46
@@ -0,0 +1,91 @@
+###############################################################################
+###############################################################################
+##
+##  Copyright (C) 2004-2009 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.
+##
+###############################################################################
+###############################################################################
+
+# main (empty) package
+# http://www.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html
+
+# keep around ready for later user
+## define alphatag rc4
+
+Name: rgmanager
+Summary: Open Source HA Resource Group Failover for Red Hat Cluster
+Version: 3.0.3
+Release: 1%{?alphatag:.%{alphatag}}%{?dist}
+License: GPLv2+ and LGPLv2+
+Group: System Environment/Base
+URL: http://sources.redhat.com/cluster/wiki/
+Source0: ftp://sources.redhat.com/pub/cluster/releases/rgmanager-%{version}%{?alphatag:.%{alphatag}}.tar.gz
+
+## runtime
+
+Requires: chkconfig initscripts
+Requires: cman resource-agents
+Requires(post): chkconfig
+Requires(preun): initscripts
+Requires(preun): chkconfig
+
+## Setup/build bits
+
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+# Build dependencies
+BuildRequires: clusterlib-devel >= 3.0.0-1
+BuildRequires: libxml2-devel ncurses-devel slang-devel
+
+%prep
+%setup -q -n rgmanager-%{version}%{?alphatag:.%{alphatag}}
+
+%build
+./configure \
+  --sbindir=%{_sbindir} \
+  --initddir=%{_sysconfdir}/rc.d/init.d \
+  --libdir=%{_libdir} \
+  --without_fence_agents \
+  --without_resource_agents \
+  --without_kernel_modules \
+  --disable_kernel_check
+
+##CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
+CFLAGS="$(echo '%{optflags}')" make -C rgmanager all
+
+%install
+rm -rf %{buildroot}
+make -C rgmanager install DESTDIR=%{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%description
+Red Hat Resource Group Manager provides high availability of critical server
+applications in the event of planned or unplanned system downtime.
+
+%post
+/sbin/chkconfig --add rgmanager
+
+%preun
+if [ "$1" = 0 ]; then
+	/sbin/service rgmanager stop >/dev/null 2>&1
+	/sbin/chkconfig --del rgmanager
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc doc/COPYING.* doc/COPYRIGHT doc/README.licence rgmanager/README rgmanager/errors.txt
+%{_sysconfdir}/rc.d/init.d/rgmanager
+%{_sbindir}/clu*
+%{_sbindir}/rgmanager
+%{_sbindir}/rg_test
+%{_mandir}/man8/clu*
+
+%changelog
+* Tue Sep  1 2009 Fabio M. Di Nitto <fdinitto at redhat.com> - 3.0.3-1
+- Split from cluster srpm


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	9 Oct 2009 06:00:36 -0000	1.25
@@ -0,0 +1 @@
+3cb25e8ddfd229831a37ba31a8b7ad56  rgmanager-3.0.3.tar.gz


--- dead.package DELETED ---




More information about the fedora-extras-commits mailing list