[puppet-gluster/el6] First import
averi
averi at fedoraproject.org
Mon May 5 13:04:35 UTC 2014
commit 83592ffa79a1797bf858bccab37343013ed6836f
Author: Andrea Veri <av at gnome.org>
Date: Mon May 5 15:04:26 2014 +0200
First import
.gitignore | 1 +
puppet-gluster.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..526d01c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/puppet-gluster-0.0.2.tar.bz2
diff --git a/puppet-gluster.spec b/puppet-gluster.spec
new file mode 100644
index 0000000..64b9b1c
--- /dev/null
+++ b/puppet-gluster.spec
@@ -0,0 +1,68 @@
+Name: puppet-gluster
+Version: 0.0.2
+Release: 2%{?dist}
+Summary: A Puppet module for GlusterFS
+License: AGPLv3+
+URL: https://github.com/purpleidea/puppet-gluster
+Source0: https://download.gluster.org/pub/gluster/purpleidea/puppet-gluster/SOURCES/puppet-gluster-%{version}.tar.bz2
+BuildArch: noarch
+%if 0%{?fedora}
+BuildRequires: pandoc, pandoc-pdf
+%endif
+Requires: puppet >= 2.7.0
+
+%description
+A Puppet module used for installing, configuring and managing GlusterFS.
+
+%package doc
+License: AGPLv3+
+Summary: A Puppet module for GlusterFS
+Group: Applications/Internet
+Requires: puppet-gluster
+
+%description doc
+This package contains the documentation for puppet-gluster.
+
+%prep
+%setup
+# Upstream poked for this change to happen on the next tarball.
+chmod +x files/xml.py
+
+%build
+rm -r puppet-gluster-documentation.pdf
+
+%if 0%{?fedora}
+pandoc DOCUMENTATION.md -o 'puppet-gluster-documentation.pdf'
+%endif
+
+%install
+mkdir -p %{buildroot}/%{_datadir}/puppet/modules/gluster
+cp -rp files/ %{buildroot}/%{_datadir}/puppet/modules/gluster/files
+cp -rp lib/ %{buildroot}/%{_datadir}/puppet/modules/gluster/lib
+cp -rp manifests/ %{buildroot}/%{_datadir}/puppet/modules/gluster/manifests
+cp -rp templates/ %{buildroot}/%{_datadir}/puppet/modules/gluster/templates
+
+%files
+%doc COPYING COPYRIGHT README VERSION
+%{_datadir}/puppet/modules/gluster
+
+%files doc
+%doc examples
+%if 0%{?fedora}
+%doc puppet-gluster-documentation.pdf
+%endif
+%if 0%{?rhel}
+%doc DOCUMENTATION.md
+%endif
+
+%changelog
+* Sat May 03 2014 Andrea Veri <averi at fedoraproject.org> - 0.0.2-2
+- Don't ship the vagrant subpackage anymore. Vagrant itself is not
+ available on official repositories.
+- Move the documentation to its own -doc package.
+- Do not ship a pre-built binary (PDF) file but build it at build time
+ on Fedora while don't build it at all on EPEL given the needed
+ packages are not there.
+
+* Wed Apr 30 2014 Andrea Veri <averi at fedoraproject.org> - 0.0.2-1
+- Initial package release.
diff --git a/sources b/sources
index e69de29..1e2e3b9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1bf081af9404cf84bebcc22ff0f9dfd0 puppet-gluster-0.0.2.tar.bz2
More information about the scm-commits
mailing list