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