Changes for 2.6.32 kernel
[nodemanager-topo.git] / NodeManager-topo.spec
index 45e5981..13df8e5 100644 (file)
@@ -1,9 +1,9 @@
 %define url $URL$
 
 Name:          NodeManager-topo
-Version:       0.2
-Release:       1
-Summary:       Plugin supporting creating a default virtual topology.
+Version:       0.5
+Release:       12
+Summary:       NodeManager plugin for creating virtual topologies.
 
 Group:         System Environment/Daemons
 License:       PlanetLab
@@ -11,6 +11,8 @@ URL:            %(echo %{url} | cut -d ' ' -f 2)
 Source0:       topo.py
 Source1:       setup-egre-link
 Source2:       teardown-egre-link
+Source3:       setup-nat
+Source4:       teardown-nat
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:     noarch
 
@@ -35,6 +37,10 @@ install -p -D -m755 %{SOURCE1} \
        $RPM_BUILD_ROOT%{_datadir}/vini/setup-egre-link
 install -p -D -m755 %{SOURCE2} \
        $RPM_BUILD_ROOT%{_datadir}/vini/teardown-egre-link
+install -p -D -m755 %{SOURCE3} \
+       $RPM_BUILD_ROOT%{_datadir}/vini/setup-nat
+install -p -D -m755 %{SOURCE4} \
+       $RPM_BUILD_ROOT%{_datadir}/vini/teardown-nat
 
 
 %clean
@@ -47,6 +53,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{_datadir}/NodeManager/plugins/topo.py*
 %{_datadir}/vini/*-egre-link
+%{_datadir}/vini/*-nat
 
 
 %changelog