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
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17 BuildRequires: python, python-devel
18 Requires: NodeManager >= 1.7
21 This package provides a plugin for NodeManager implementing
22 support for the topo_rspec slice attribute.
31 rm -rf $RPM_BUILD_ROOT
32 install -p -D -m755 %{SOURCE0} \
33 $RPM_BUILD_ROOT%{_datadir}/NodeManager/plugins/topo.py
34 install -p -D -m755 %{SOURCE1} \
35 $RPM_BUILD_ROOT%{_datadir}/vini/setup-egre-link
36 install -p -D -m755 %{SOURCE2} \
37 $RPM_BUILD_ROOT%{_datadir}/vini/teardown-egre-link
41 rm -rf $RPM_BUILD_ROOT
44 /sbin/service nm restart
47 %defattr(-,root,root,-)
48 %{_datadir}/NodeManager/plugins/topo.py*
49 %{_datadir}/vini/*-egre-link