]> git.ipfire.org Git - ipfire-3.x.git/blob - bird/bird.nm
git: Update to 2.23.0
[ipfire-3.x.git] / bird / bird.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = bird
7 version = 2.0.2
8 release = 1
9
10 groups = Networking/Routing
11 url = http://bird.network.cz/
12 license = GPLv2+
13 summary = BIRD Internet Routing Daemon.
14
15 description
16 BIRD is dynamic routing daemon supporting IPv4 and IPv6 versions of routing
17 protocols BGP, RIP and OSPF.
18 end
19
20 source_dl = ftp://bird.network.cz/pub/bird/
21
22 build
23 requires
24 bison
25 flex
26 ncurses-devel
27 readline-devel
28 end
29 end
30
31 packages
32 package %{name}
33 prerequires = systemd-units
34
35 script postin
36 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
37 end
38
39 script preun
40 /bin/systemctl --no-reload disable bird.service > /dev/null 2>&1 || :
41 /bin/systemctl stop bird.service > /dev/null 2>&1 || :
42
43 end
44
45 script postun
46 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
47 end
48
49 script postup
50 /bin/systemctl daemon-reload 2>&1 || :
51 /bin/systemctl reload-or-try-restart bird.service >/dev/null 2>&1 || :
52 end
53 end
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
58 end