1 Summary: Routing daemon
2 Summary(pl): Demon dynamicznego routingu
7 Group: Networking/Daemons
8 Group(de): Netzwerkwesen/Server
9 Group(pl): Sieciowe/Serwery
10 Source0: ftp://bird.network.cz/pub/bird/%{name}-%{version}.tar.gz
11 Source1: ftp://bird.network.cz/pub/bird/%{name}-doc-%{version}.tar.gz
13 Patch0: %{name}-time.h.patch
14 URL: http://bird.network.cz/
15 BuildRequires: readline-devel >= 4.2
16 Provides: routingdaemon
18 Prereq: /sbin/chkconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Obsoletes: zebra-guile
26 The BIRD project is an attempt to create a routing daemon running on
27 UNIX-like systems (but not necessarily limited to them) with full
28 support of all modern routing protocols, easy to use configuration
29 interface and powerful route filtering language.
32 Projekt BIRD ma na celu utworzenie daemona dynamicznego routingu
33 pracuj±cego na systemach UNIX z pe³nym wsparciem dla nowoczesnych
34 protoko³ów routingu, ³atwym interfejsem konfiguracji i jêzykiem
35 filtrów o du¿ych mo¿liwo¶ciach.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/rc.d/init.d,%{_sbindir}}
52 install bird $RPM_BUILD_ROOT%{_sbindir}
53 install birdc $RPM_BUILD_ROOT%{_sbindir}
55 install doc/bird.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
56 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
58 gzip -9nf %{name}-doc-%{version}/doc/*.ps TODO README
61 rm -rf $RPM_BUILD_ROOT
64 /sbin/chkconfig --add %{name} >&2
66 if [ -f /var/lock/subsys/%{name} ]; then
67 /etc/rc.d/init.d/%{name} restart >&2
69 echo "Run '/etc/rc.d/init.d/%{name} start' to start routing deamon." >&2
73 if [ "$1" = "0" ]; then
74 if [ -f /var/lock/subsys/%{name} ]; then
75 /etc/rc.d/init.d/%{name} stop >&2
77 /sbin/chkconfig --del %{name} >&2
81 %defattr(644,root,root,755)
82 %doc doc/*.html %{name}-doc-%{version}/doc/*.ps.gz *.gz
84 %attr(755,root,root) %{_sbindir}/*
85 %attr(754,root,root) /etc/rc.d/init.d/*
86 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf