1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/Tools
11 url = http://www.datenwelt.net/oss/ibod/
13 summary = An ISDN bandwidth monitor.
16 Ibod is a daemon program for GNU/Linux that constantly monitors \
17 the ISDN interface for inbound and outbound traffic throughput.
20 sources = %{thisapp}.tar.bz2
24 gcc %{CFLAGS} ibod.c -o ibod
28 mkdir -pv %{BUILDROOT}/usr/bin
29 mkdir -pv %{BUILDROOT}/usr/share/man/man{1,4}
30 mkdir -pv %{BUILDROOT}/etc/isdn
31 install -m 0755 ibod %{BUILDROOT}/usr/bin
32 install -m 0644 ibod.1 %{BUILDROOT}/usr/share/man/man1
33 install -m 0644 ibod.cf.4 %{BUILDROOT}/usr/share/man/man4
34 install -m 0644 ibod.cf %{BUILDROOT}/etc/isdn
44 prerequires += systemd-units
46 # There isn't any chance at the moment to determine the names of
47 # spawned instances by a systemd service file.
49 # So we aren't able to stop any ibod process before uninstalling the package.
51 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
55 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
59 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
63 package %{name}-debuginfo