10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
14 Summary: PlanetLab Network Configuration library
19 Group: System Environment/Daemons
20 Source0: %{name}-%{version}.tar.gz
21 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
24 Packager: PlanetLab Central <support@planet-lab.org>
25 Distribution: PlanetLab %{plrelease}
26 URL: %(echo %{url} | cut -d ' ' -f 2)
28 Requires: python >= 2.4
29 BuildRequires: python, python-devel
32 pyplnet is used to write the network configuration files based on the
33 configuration data recorded at PLC.
42 rm -rf $RPM_BUILD_ROOT
43 python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(-,root,root,-)
53 * Tue Dec 2 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - pyplnet-4.2-1