oops
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 2 Jul 2012 22:41:51 +0000 (00:41 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 2 Jul 2012 22:41:51 +0000 (00:41 +0200)
plnode_utils.spec [new file with mode: 0644]

diff --git a/plnode_utils.spec b/plnode_utils.spec
new file mode 100644 (file)
index 0000000..d6c8efc
--- /dev/null
@@ -0,0 +1,40 @@
+%define name plnode-utils
+%define version 0.1
+%define taglevel 1
+
+%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+
+Summary: Python utilities for a PlanetLab node
+Name: %{name}
+Version: %{version}
+Release: %{release}
+License: PlanetLab
+Group: System Environment/Libraries
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+Vendor: PlanetLab
+Packager: PlanetLab Central <support@planet-lab.org>
+Distribution: PlanetLab %{plrelease}
+URL: %{SCMURL}
+
+%description
+This package provides the plnode_utils python package that provides utilities used in various places on a PlanetLab node, nodemanager among others
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%{python_sitelib}/*
+%{_bindir}
+
+%changelog