]> git.pld-linux.org Git - packages/bird.git/commitdiff
- added gzipping %doc, bird-1_0_4-1
authorkloczek <kloczek@pld-linux.org>
Sat, 18 Nov 2000 22:24:28 +0000 (22:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- few cosmetics,
- added Prereq: rc-scripts,
- added Provides: routingdaemon,
- added Obsoletes for gated, mtr, zebra, zebra-guile.

Changed files:
    bird.spec -> 1.2

bird.spec

index 7c619cbf4c169e49e3b06ee47ce454c0f5bd6c88..fd3446ace840abe37b7cab398242abf848e3e11d 100644 (file)
--- a/bird.spec
+++ b/bird.spec
@@ -11,7 +11,13 @@ Source0:     ftp://bird.network.cz/pub/bird/%{name}-%{version}.tar.gz
 Source1:       ftp://bird.network.cz/pub/bird/%{name}-doc-%{version}.tar.gz
 Source2:       %{name}.init
 URL:           http://bird.network.cz/
+Provides:      routingdaemon
+Prereq:                rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     gated
+Obsoletes:     mtr
+Obsoletes:     zebra
+Obsoletes:     zebra-guile
 
 %description
 The BIRD project is an attempt to create a routing daemon running on
@@ -37,13 +43,15 @@ filtr
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
-install -d $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/rc.d/init.d,%{_sbindir}}
 
-install bird                   $RPM_BUILD_ROOT%{_sbindir}
-install birdc                  $RPM_BUILD_ROOT%{_sbindir}
-install doc/bird.conf.example  $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
-install %{SOURCE2}             $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
+install bird $RPM_BUILD_ROOT%{_sbindir}
+install birdc $RPM_BUILD_ROOT%{_sbindir}
+
+install doc/bird.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
+
+gzip -9nf %{name}-doc-%{version}/doc/*.ps TODO README
 
 %post
 /sbin/chkconfig --add %{name} >&2
@@ -67,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc/*.html %{name}-doc-%{version}/doc/*.ps TODO README
+%doc doc/*.html %{name}-doc-%{version}/doc/*.ps.gz *.gz
 
 %attr(755,root,root) %{_sbindir}/*
 %attr(754,root,root) /etc/rc.d/init.d/*
This page took 0.10513 seconds and 4 git commands to generate.