[pacemaker-cloud/f16] First build of F16

Steven Dake sdake at fedoraproject.org
Sat Jul 30 21:08:04 UTC 2011


commit 928e1ec3b70e91326a90c3252af86da649808436
Author: Steven Dake <sdake at redhat.com>
Date:   Sat Jul 30 14:07:07 2011 -0700

    First build of F16
    
    Signed-off-by: Steven Dake <sdake at redhat.com>

 .gitignore           |    1 +
 pacemaker-cloud.spec |   83 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..377c2de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pacemaker-cloud-0.4.1.tar.gz
diff --git a/pacemaker-cloud.spec b/pacemaker-cloud.spec
new file mode 100644
index 0000000..4108cce
--- /dev/null
+++ b/pacemaker-cloud.spec
@@ -0,0 +1,83 @@
+Name: pacemaker-cloud
+Summary: The Pacemaker Cloud Policy Engine
+Version: 0.4.1
+Release: 1%{?dist}
+License: GPLv2+
+Group: System Environment/Base
+URL: http://github.com/cloud-policy-engine
+Source0: http://pacemaker-cloud.org/downloads/%{name}-%{version}/%{name}-%{version}.tar.gz
+
+Requires: python-daemon python-qmf qpid-cpp-server
+Requires: oz > 0.5.0-1
+
+# Note libtool-ltdl-devel is required because of redhat.com bugzilla BZ #705212
+BuildRequires: autoconf automake glib2-devel dbus-glib-devel libxml2-devel libqb-devel pacemaker-libs-devel libtool-ltdl-devel qmf-devel libxslt-devel systemd-units
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+./autogen.sh
+./configure --libdir=%{_libdir}
+
+make %{_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+# this is installed by make install - but rpm picks it up in a different way
+rm -f %{buildroot}/usr/share/doc/pacemaker-cloud/COPYING
+rm -f %{buildroot}/etc//init/pcmkc-dped.conf
+
+%description
+This package contains the Pacemaker Cloud Policy Engine services, command-line
+tools, and man pages.
+
+%post
+if [ $1 -eq 1 ] ; then
+	systemctl --system daemon-reload || :
+fi
+
+%preun
+if [ $1 -eq 0 ]; then
+	systemctl --system daemon-reload || :
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_sbindir}/cped
+%{_sbindir}/dped
+%{_unitdir}/pcmkc-dped at .service
+%{_unitdir}/pcmkc-cped.service
+%{_unitdir}/pcmkc-vmlauncher.service
+%{_unitdir}/pcmkc-qpidd.service
+%dir %attr(0755, root, root) %{_datadir}/pacemaker-cloud
+%{_datadir}/pacemaker-cloud/cf2pe.xsl
+%{_datadir}/pacemaker-cloud/resource_templates/httpd.xml
+%dir %attr(0755, root, root) %{_localstatedir}/lib/pacemaker-cloud/
+%dir %attr(0755, root, root) %{_localstatedir}/lib/pacemaker-cloud/assemblies
+%dir %attr(0755, root, root) %{_localstatedir}/lib/pacemaker-cloud/jeos
+%{_localstatedir}/lib/pacemaker-cloud/assemblies/assy1.tdl
+%{_localstatedir}/lib/pacemaker-cloud/assemblies/assy1-F14.tdl
+%{_localstatedir}/lib/pacemaker-cloud/assemblies/assy1-F15.tdl
+%{_localstatedir}/lib/pacemaker-cloud/jeos/F14-x86_64-jeos-assembly.tdl
+%{_localstatedir}/lib/pacemaker-cloud/jeos/F14-x86_64-jeos.tdl
+%{_localstatedir}/lib/pacemaker-cloud/jeos/F15-x86_64-jeos-assembly.tdl
+%{_localstatedir}/lib/pacemaker-cloud/jeos/F15-x86_64-jeos.tdl
+%{_localstatedir}/lib/pacemaker-cloud/jeos/rhel61-x86_64-jeos-assembly.tdl
+%{_localstatedir}/lib/pacemaker-cloud/jeos/rhel61-x86_64-jeos.tdl
+%{_bindir}/pcloudsh
+%{_bindir}/vmlauncher
+%{python_sitelib}/pcloudsh/*
+%{_mandir}/man1/cped.1*
+%{_mandir}/man1/dped.1*
+%{_mandir}/man1/vmlauncher.1*
+%{_mandir}/man1/pcloudsh.1*
+%{_mandir}/man8/pacemaker_cloud_overview.8*
+
+%changelog
+* Wed Jul 27 2011 Steven Dake <sdake at redhat.com> - 0.4.1-1
+- Added systemd-units to BuildRequres 
+
+* Tue Jul 26 2011 Steven Dake <sdake at redhat.com> - 0.4.0-1
+- Initial rpm specfile created by upstrem project 
diff --git a/sources b/sources
index e69de29..de31e2f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2ac38b9e9fe81c65c703d06c2d93d6af  pacemaker-cloud-0.4.1.tar.gz


More information about the scm-commits mailing list