6 Summary: Plugin supporting creating a default virtual topology.
8 Group: System Environment/Daemons
10 URL: %(echo %{url} | cut -d ' ' -f 2)
12 Source1: setup-egre-link
13 Source2: teardown-egre-link
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19 BuildRequires: python, python-devel
20 Requires: NodeManager >= 1.7
23 This package provides a plugin for NodeManager implementing
24 support for the topo_rspec slice attribute.
33 rm -rf $RPM_BUILD_ROOT
34 install -p -D -m755 %{SOURCE0} \
35 $RPM_BUILD_ROOT%{_datadir}/NodeManager/plugins/topo.py
36 install -p -D -m755 %{SOURCE1} \
37 $RPM_BUILD_ROOT%{_datadir}/vini/setup-egre-link
38 install -p -D -m755 %{SOURCE2} \
39 $RPM_BUILD_ROOT%{_datadir}/vini/teardown-egre-link
40 install -p -D -m755 %{SOURCE3} \
41 $RPM_BUILD_ROOT%{_datadir}/vini/setup-nat
42 install -p -D -m755 %{SOURCE4} \
43 $RPM_BUILD_ROOT%{_datadir}/vini/teardown-nat
47 rm -rf $RPM_BUILD_ROOT
50 /sbin/service nm restart
53 %defattr(-,root,root,-)
54 %{_datadir}/NodeManager/plugins/topo.py*
55 %{_datadir}/vini/*-egre-link
56 %{_datadir}/vini/*-nat