10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
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
33 pyplnet is used to write the network configuration files based on the
34 configuration data recorded at PLC.
43 rm -rf $RPM_BUILD_ROOT
44 python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
45 chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/plnet.py
46 mkdir -p $RPM_BUILD_ROOT/%{_bindir}
47 ln -s %{python_sitelib}/plnet.py $RPM_BUILD_ROOT/%{_bindir}/plnet
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(-,root,root,-)
58 * Thu Dec 09 2010 Daniel Hokka Zakrisson <dhokka@cs.princeton.edu> - pyplnet-4.3-7
59 - Secondary interface fixes and features.
61 * Wed Apr 28 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyplnet-4.3-6
62 - aliases don't show up in /sys, so use /sbin/ip to get the configured IP addresses instead
64 * Thu Feb 11 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyplnet-4.3-5
65 - This is needed for 5.0, as GetSlivers now exposes 'interfaces' and no 'networks' anymore
66 - this code can handle both..
68 * Tue Sep 29 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyplnet-4.3-4
69 - alias without a mac address: fix runtime error while issuing warning
71 * Tue Jun 09 2009 Stephen Soltesz <soltesz@cs.princeton.edu> - pyplnet-4.3-3
72 - this patch addresses mlab and other multi-interface node confgurations where
73 - the generated boot image and network config files are mis-named.
75 * Wed Apr 22 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyplnet-4.3-2
76 - handle wireless settings back again
78 * Fri Apr 17 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyplnet-4.3-1
81 * Tue Dec 2 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - pyplnet-4.3-1