1 Summary: Routing daemon
2 Summary(pl): Demon dynamicznego routingu
7 Group: Networking/Daemons
8 Source0: ftp://bird.network.cz/pub/bird/%{name}-%{version}.tar.gz
9 # Source0-md5: 3fee589ee94e1529fd123e545495926f
10 Source1: ftp://bird.network.cz/pub/bird/%{name}-doc-%{version}.tar.gz
11 # Source1-md5: 0a8ace7c81218e6c1bfc2a794ccff3f4
13 URL: http://bird.network.cz/
14 BuildRequires: readline-devel >= 4.2
16 Requires(post,preun): /sbin/chkconfig
17 Provides: routingdaemon
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes: zebra-guile
25 The BIRD project is an attempt to create a routing daemon running on
26 UNIX-like systems (but not necessarily limited to them) with full
27 support of all modern routing protocols, easy to use configuration
28 interface and powerful route filtering language.
31 Projekt BIRD ma na celu utworzenie daemona dynamicznego routingu
32 pracuj±cego na systemach UNIX z pe³nym wsparciem dla nowoczesnych
33 protoko³ów routingu, ³atwym interfejsem konfiguracji i jêzykiem
34 filtrów o du¿ych mo¿liwo¶ciach.
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}}
50 install bird $RPM_BUILD_ROOT%{_sbindir}
51 install birdc $RPM_BUILD_ROOT%{_sbindir}
53 install doc/bird.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
54 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
57 rm -rf $RPM_BUILD_ROOT
60 /sbin/chkconfig --add %{name} >&2
62 if [ -f /var/lock/subsys/%{name} ]; then
63 /etc/rc.d/init.d/%{name} restart >&2
65 echo "Run '/etc/rc.d/init.d/%{name} start' to start routing deamon." >&2
69 if [ "$1" = "0" ]; then
70 if [ -f /var/lock/subsys/%{name} ]; then
71 /etc/rc.d/init.d/%{name} stop >&2
73 /sbin/chkconfig --del %{name} >&2
77 %defattr(644,root,root,755)
78 %doc doc/*.html %{name}-doc-*/doc/*.ps TODO README
80 %attr(755,root,root) %{_sbindir}/*
81 %attr(754,root,root) /etc/rc.d/init.d/*
82 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf