[packages/ganeti-instance-debootstrap] - new

baggins baggins at pld-linux.org
Fri Nov 1 13:15:25 CET 2013


commit ade3f0b2ec080e30b4c18071cb4f7dac20e782fb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 1 13:15:10 2013 +0100

    - new

 ganeti-instance-debootstrap.spec | 54 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/ganeti-instance-debootstrap.spec b/ganeti-instance-debootstrap.spec
new file mode 100644
index 0000000..4eb3f01
--- /dev/null
+++ b/ganeti-instance-debootstrap.spec
@@ -0,0 +1,54 @@
+Summary:	Debian/Ubuntu guest OS definition for Ganeti
+Name:		ganeti-instance-debootstrap
+Version:	0.14
+Release:	0.1
+License:	GPL v2
+Group:		Applications/System
+Source0:	https://ganeti.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5:	318039b68d63453ac115a6987e31c6f0
+URL:		https://code.google.com/p/ganeti/
+BuildRequires:	rpmbuild(macros) >= 1.647
+Requires:	debootstrap
+Requires:	ganeti
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a guest OS definition for Ganeti.  It will install a minimal
+version of Debian or Ubuntu via debootstrap (thus it requires network
+access).
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT/%{_docdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README examples
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/ganeti-instance-debootstrap
+%dir %{_sysconfdir}/ganeti/instance-debootstrap
+%dir %{_sysconfdir}/ganeti/instance-debootstrap/variants
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ganeti/instance-debootstrap/variants/default.conf
+%dir %{_datadir}/ganeti/os/debootstrap
+%{_datadir}/ganeti/os/debootstrap/common.sh
+%attr(755,root,root) %{_datadir}/ganeti/os/debootstrap/create
+%attr(755,root,root) %{_datadir}/ganeti/os/debootstrap/export
+%{_datadir}/ganeti/os/debootstrap/ganeti_api_version
+%attr(755,root,root) %{_datadir}/ganeti/os/debootstrap/import
+%{_datadir}/ganeti/os/debootstrap/parameters.list
+%attr(755,root,root) %{_datadir}/ganeti/os/debootstrap/rename
+%{_datadir}/ganeti/os/debootstrap/variants.list
+%attr(755,root,root) %{_datadir}/ganeti/os/debootstrap/verify
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ganeti-instance-debootstrap.git/commitdiff/ade3f0b2ec080e30b4c18071cb4f7dac20e782fb



More information about the pld-cvs-commit mailing list