Search
j0ke.net Open Build Service
>
Projects
>
server:routing
>
bird
> bird.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bird.spec of Package bird (Revision 21)
Currently displaying revision
21
,
show latest
#!BuildIgnore: post-build-checks Summary: BIRD Internet Routing Daemon Name: bird Version: 1.2.2 Release: 1 License: GPL Group: Networking/Daemons Source: ftp://bird.network.cz/pub/bird/bird-%{version}.tar.bz2 Source1: bird.init Source2: birdc6 Source3: bird.init.suse Buildroot: %{_tmppath}/%{name}-%{version} Url: http://bird.network.cz PreReq: /sbin/chkconfig BuildRequires: readline-devel flex bison %description BIRD is dynamic routing daemon supporting IPv4 and IPv6 versions of routing protocols BGP, RIP and OSPF. %prep %setup -n bird-%{version} %build ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-ipv6 make mv bird bird6 make clean ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make %install rm -rf $RPM_BUILD_ROOT/* make install prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc localstatedir=$RPM_BUILD_ROOT/var install -s bird6 $RPM_BUILD_ROOT/usr/sbin cd $RPM_BUILD_ROOT %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} install -d etc/rc.d/init.d install $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/bird %endif %if 0%{?suse_version} || 0%{?sles_version} install -d etc/init.d install $RPM_SOURCE_DIR/bird.init.suse etc/init.d/bird %endif install $RPM_SOURCE_DIR/birdc6 usr/sbin/birdc6 %post /sbin/ldconfig /sbin/chkconfig --add bird %preun %stop_on_removal if [ $1 -eq 0 ]; then /sbin/service bird stop &> /dev/null || : /sbin/chkconfig --del bird fi %postun %insserv_cleanup %files %defattr(-,root,root) %doc doc/*.html %doc NEWS README TODO %config(noreplace) %attr(644,root,root) /etc/bird.conf %attr(755,root,root) /usr/sbin/bird %attr(755,root,root) /usr/sbin/bird6 %attr(755,root,root) /usr/sbin/birdc %attr(755,root,root) /usr/sbin/birdc6 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} %attr(755,root,root) /etc/rc.d/init.d/bird %endif %if 0%{?suse_version} || 0%{?sles_version} %attr(755,root,root) /etc/init.d/bird %endif %changelog * Sat Apr 10 2010 Carsten Schoene <cs@linux-administrator.com> - 1.2.2-1 - update to release 1.2.2 * Thu Feb 11 2010 Carsten Schoene <cs@linux-administrator.com> - 1.2.1-1 - update to release 1.2.1 * Thu Jan 14 2010 Carsten Schoene <cs@linux-administrator.com> - 1.2.0-1 - update to release 1.2.0 * Sun Dec 20 2009 Carsten Schoene <cs@linux-administrator.com> - 1.1.7-1 - update to release 1.1.7 * Fri Nov 20 2009 Carsten Schoene <cs@linux-administrator.com> - 1.1.6-1 - update to release 1.1.6 * Mon Nov 02 2009 Carsten Schoene <cs@linux-administrator.com> - 1.1.5-1 - update to release 1.1.5 * Sat Oct 03 2009 Carsten Schoene <cs@linux-administrator.com> - 1.1.4-1 - update to release 1.1.4 * Fri Sep 11 2009 Carsten Schoene <cs@linux-administrator.com> - 1.1.3-1 - update to release 1.1.3 * Mon Aug 17 2009 Carsten Schoene <cs@linux-administrator.com> - 1.1.1-1 - update to release 1.1.1 * Sun Jul 05 2009 Carsten Schoene <cs@linux-administrator.com> - 1.1.0-1 - build release 1.1.0