1 |
# $Id$ |
2 |
|
3 |
Summary: maintains top-like display of packets and TTL for diald |
4 |
Name: diald-top |
5 |
Version: 2.1pl4 |
6 |
Release: 4%{?dist} |
7 |
License: GPL |
8 |
Group: Applications/System |
9 |
Url: http://diald-top.sourceforge.net/ |
10 |
Source: ftp://diald-top.sourceforge/pub/diald-top/diald-top-%{PACKAGE_VERSION}.tar.gz |
11 |
Patch: diald-top-2.1pl4.paths |
12 |
Patch1: diald-top-2.1pl4.install |
13 |
BuildRoot: /var/tmp/rpm/diald-top |
14 |
#Prefix: /usr/local |
15 |
Requires: diald, ncurses |
16 |
BuildRequires: ncurses-devel, bison, flex |
17 |
|
18 |
%description |
19 |
Maintains a 'top'-like listing of all packets and their time to live for use |
20 |
with diald (tested with version 0.16 & 0.99.[34]). Requires ncurses, flex, |
21 |
bison to compile, and uses named pipes for communication. |
22 |
|
23 |
%changelog |
24 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
25 |
- Clean up spec so package can be built by koji/plague |
26 |
|
27 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
28 |
- Update to new release naming. No functional changes. |
29 |
- Make Packager generic |
30 |
|
31 |
* Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com> 2.1pl4-3es |
32 |
- Rebuild under CentOS4. |
33 |
|
34 |
%prep |
35 |
%setup |
36 |
%patch -p1 |
37 |
rm -rf ${RPM_BUILD_ROOT} |
38 |
#mkdir -p ${RPM_BUILD_ROOT}/var/run |
39 |
#mknod ${RPM_BUILD_ROOT}/var/run/diald.ctl p |
40 |
%patch1 -p1 |
41 |
|
42 |
%build |
43 |
make squeakyclean |
44 |
make |
45 |
|
46 |
%install |
47 |
make ROOT="$RPM_BUILD_ROOT" install |
48 |
|
49 |
%clean |
50 |
rm -rf ${RPM_BUILD_ROOT} |
51 |
|
52 |
%files |
53 |
%attr(-,root,root) %doc README INSTALL COPYING |
54 |
%attr(500,root,root) /usr/bin/diald-top |
55 |
%attr(500,root,root) /usr/bin/diald-top-server |
56 |
%attr(-,root,root) /usr/man/man8/diald-top.8.gz |
57 |
#%attr(600,root,root) /var/run/diald.ctl |