From: Thierry Parmentelat Date: Mon, 2 Jul 2012 22:41:51 +0000 (+0200) Subject: oops X-Git-Tag: plnode-utils-0.2-1~8 X-Git-Url: http://git.onelab.eu/?p=plnode-utils.git;a=commitdiff_plain;h=132ab9e53a883621b8caa6f79e00eca12646946c oops --- 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