From 132ab9e53a883621b8caa6f79e00eca12646946c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 3 Jul 2012 00:41:51 +0200 Subject: [PATCH] oops --- plnode_utils.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 plnode_utils.spec diff --git a/plnode_utils.spec b/plnode_utils.spec new file mode 100644 index 0000000..d6c8efc --- /dev/null +++ b/plnode_utils.spec @@ -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 +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 -- 2.43.0