1 |
charliebrady |
1.3 |
# $Id: diald-top-2.1pl4.spec,v 1.2 2008/04/09 13:51:46 slords Exp $ |
2 |
slords |
1.2 |
|
3 |
slords |
1.1 |
Summary: maintains top-like display of packets and TTL for diald |
4 |
|
|
Name: diald-top |
5 |
|
|
Version: 2.1pl4 |
6 |
charliebrady |
1.3 |
Release: 5%{?dist} |
7 |
slords |
1.1 |
License: GPL |
8 |
|
|
Group: Applications/System |
9 |
|
|
Url: http://diald-top.sourceforge.net/ |
10 |
charliebrady |
1.3 |
Source: ftp://diald-top.sourceforge/pub/diald-top/diald-top-%{version}.tar.gz |
11 |
slords |
1.1 |
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 |
charliebrady |
1.3 |
* Fri Feb 8 2013 Charlie Brady <charlie_brady@mitel.com> 2.1pl4-5 |
25 |
|
|
- Fix use of obsolete PACKAGE_VERSION macro. |
26 |
|
|
|
27 |
slords |
1.1 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
28 |
|
|
- Clean up spec so package can be built by koji/plague |
29 |
|
|
|
30 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
31 |
|
|
- Update to new release naming. No functional changes. |
32 |
|
|
- Make Packager generic |
33 |
|
|
|
34 |
|
|
* Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com> 2.1pl4-3es |
35 |
|
|
- Rebuild under CentOS4. |
36 |
|
|
|
37 |
|
|
%prep |
38 |
|
|
%setup |
39 |
|
|
%patch -p1 |
40 |
|
|
rm -rf ${RPM_BUILD_ROOT} |
41 |
|
|
#mkdir -p ${RPM_BUILD_ROOT}/var/run |
42 |
|
|
#mknod ${RPM_BUILD_ROOT}/var/run/diald.ctl p |
43 |
|
|
%patch1 -p1 |
44 |
|
|
|
45 |
|
|
%build |
46 |
|
|
make squeakyclean |
47 |
|
|
make |
48 |
|
|
|
49 |
|
|
%install |
50 |
|
|
make ROOT="$RPM_BUILD_ROOT" install |
51 |
|
|
|
52 |
|
|
%clean |
53 |
|
|
rm -rf ${RPM_BUILD_ROOT} |
54 |
|
|
|
55 |
|
|
%files |
56 |
|
|
%attr(-,root,root) %doc README INSTALL COPYING |
57 |
|
|
%attr(500,root,root) /usr/bin/diald-top |
58 |
|
|
%attr(500,root,root) /usr/bin/diald-top-server |
59 |
|
|
%attr(-,root,root) /usr/man/man8/diald-top.8.gz |
60 |
|
|
#%attr(600,root,root) /var/run/diald.ctl |