1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 release = 0.3-svn%{svn_ver}.2
10 thisapp = %{name}-%{version}-svn%{svn_ver}
12 groups = Networking/Tools
13 url = http://sourceforge.net/projects/mstpd/
15 summary = The Multiple Spanning Tree Protocol Daemon.
18 A daemon that implements the Multiple Spanning Tree Protocol
19 running upon the Linux ethernet bridge.
22 # Tarballs are created as follows:
23 # ./svn-export.sh %{version} %{svn_ver}
26 # Compile for release.
27 make_build_targets += MODE=release
30 rm -vf %{BUILDROOT}/sbin/bridge-stp
39 provides += rstp=0.21-9
40 obsoletes += rstp<0.21-9
43 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
44 /bin/systemctl --no-reload enable mstpd.service >/dev/null 2>&1 || :
48 /bin/systemctl --no-reload disable mstpd.service >/dev/null 2>&1 || :
49 /bin/systemctl stop rstp.service >/dev/null 2>&1 || :
53 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
54 /bin/systemctl try-restart mstpd.service >/dev/null 2>&1 || :
58 package %{name}-debuginfo