1 %define name sliver-openvswitch
2 # to check for any change:
3 # grep AC_INIT configure.ac
7 %define debug_package %{nil}
9 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 Packager: OneLab <support@planet-lab.eu>
13 Distribution: PlanetLab %{plrelease}
17 Summary: Openvswitch modified for running from a PlanetLab sliver
22 Group: System Environment/Applications
23 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
24 Source0: sliver-openvswitch-%{version}.tar.gz
27 Openvswitch tuned for running within a PlanetLab sliver
34 ./configure --prefix=/usr
38 make install DESTDIR=$RPM_BUILD_ROOT
39 mkdir -p $RPM_BUILD_ROOT/usr/bin
40 rsync -av planetlab/scripts/* $RPM_BUILD_ROOT/usr/bin
43 rm -rf $RPM_BUILD_ROOT