Mercurial > routeflapper
comparison routeflapper.spec.in @ 4:180d26aa2a17
Fedora 9 compile and const correctness.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 12 Jun 2008 17:51:33 -0700 |
parents | 48d06780cf77 |
children | 5e7c39aa868c |
comparison
equal
deleted
inserted
replaced
3:4a81cc2da570 | 4:180d26aa2a17 |
---|---|
7 License: GPLv3+ | 7 License: GPLv3+ |
8 Group: System Environment/Daemons | 8 Group: System Environment/Daemons |
9 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz | 9 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz |
10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | 10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
11 URL: http://www.five-ten-sg.com/%{name}/ | 11 URL: http://www.five-ten-sg.com/%{name}/ |
12 AutoReqProv: no | |
13 | 12 |
14 Requires(post,preun): /sbin/chkconfig | 13 Requires(post,preun): /sbin/chkconfig |
15 Requires(post,preun): /sbin/service | 14 Requires(post,preun): /sbin/service |
16 Requires: quagga | 15 Requires: quagga |
17 Requires: coreutils | 16 Requires: coreutils |
18 BuildRequires: gcc gcc-c++ | 17 BuildRequires: gcc gcc-c++ |
19 Requires: libc.so.6, libgcc_s.so.1, libm.so.6, libpthread.so.0, libstdc++.so.6 | |
20 | 18 |
21 | 19 |
22 %description | 20 %description |
23 This is a route flap detector, that classifies certain routes as | 21 This is a route flap detector, that classifies certain routes as |
24 suspicious. It uses the log entries produced by bgpd from the quagga | 22 suspicious. It uses the log entries produced by bgpd from the quagga |
36 | 34 |
37 %install | 35 %install |
38 rm -rf $RPM_BUILD_ROOT | 36 rm -rf $RPM_BUILD_ROOT |
39 make DESTDIR=$RPM_BUILD_ROOT install | 37 make DESTDIR=$RPM_BUILD_ROOT install |
40 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d | 38 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
41 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d | 39 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d |
40 mkdir -p $RPM_BUILD_ROOT/var/run/%{name} | |
42 | 41 |
43 | 42 |
44 %clean | 43 %clean |
45 rm -rf $RPM_BUILD_ROOT | 44 rm -rf $RPM_BUILD_ROOT |
46 | 45 |
67 %{_mandir}/man5/* | 66 %{_mandir}/man5/* |
68 %docdir %{_datadir}/doc/%{name}-%{version} | 67 %docdir %{_datadir}/doc/%{name}-%{version} |
69 %{_datadir}/doc/%{name}-%{version} | 68 %{_datadir}/doc/%{name}-%{version} |
70 %config(noreplace) %{_sysconfdir}/%{name}.conf | 69 %config(noreplace) %{_sysconfdir}/%{name}.conf |
71 /etc/rc.d/init.d/%{name} | 70 /etc/rc.d/init.d/%{name} |
71 %dir %attr(0750,%{name},root) /var/run/%{name} | |
72 | 72 |
73 | 73 |
74 %changelog | 74 %changelog |
75 * Tue Apr 01 2008 Carl Byington <carl@five-ten-sg.com> - 1.0.1 | 75 * Thu Jun 12 2008 Carl Byington <carl@five-ten-sg.com> - 1.0.1-1 |
76 - initial version | 76 - initial version |
77 | 77 |