File: traffic-vis.spec

package info (click to toggle)
traffic-vis 0.34-3
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 356 kB
  • ctags: 436
  • sloc: ansic: 4,029; makefile: 144; perl: 82; sh: 25
file content (137 lines) | stat: -rw-r--r-- 4,605 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
%define name traffic-vis
%define version 0.34
%define release 1

%define builddir $RPM_BUILD_DIR/%{name}-%{version}

Summary: Network monitoring tool

Name: %{name}
Version: %{version}
Release: %{release}
Group: Networking/Admin
Copyright: GPL
Vendor: Damien Miller <dmiller@ilogic.com.au>
Url: http://www.ilogic.com.au/~dmiller/traffic-vis.html
Packager: Red Hat Contrib|Net <rhcn-bugs@redhat.com>
Distribution: Red Hat Contrib|Net
Source0: http://www.ilogic.com.au/~dmiller/files/%{name}-%{version}.tar.gz
Buildroot: /tmp/%{name}-%{version}-%{release}-root
Requires: libgr-progs, ghostscript

%changelog
* Thu Apr 08 1999 Damien Miller <dmiller@ilogic.com.au>

- Updated to version 0.34

* Sat Mar 27 1999 Damien Miller <dmiller@ilogic.com.au>

- Updated to version 0.33

* Mon Feb 15 1999 Damien Miller <dmiller@ilogic.com.au>

- Updated to version 0.32

* Fri Feb 12 1999 Damien Miller <dmiller@ilogic.com.au>

- Fixed Group field

- Fixed Packager and distribution for submission to RHCN

- Moved changelog to near top of file

* Wed Feb 10 1999 Damien Miller <dmiller@ilogic.com.au>

- Modified to build using static glib without makefile patches

- Added traffic-exclude program

- Increased version number

* Tue Feb 02 1999 Damien Miller <dmiller@ilogic.com.au>

- Added traffic-togif program

- Added dependancies to requires

* Sat Jan 30 1999 Damien Miller <dmiller@ilogic.com.au>

- Added traffic-resolve program and manpage

- Added frontends and their manpages

- Added traffic-vis manpage

* Thu Jan 28 1999 Damien Miller <dmiller@ilogic.com.au>

- Updated to development version v0.30pre

* Tue Dec 01 1998 Damien Miller <dmiller@ilogic.com.au>

- Updated to traffic-vis v0.21
- Added CHANGELOG to %doc files

* Sun Nov 29 1998 Damien Miller <dmiller@ilogic.com.au>

- Initial RPMification

%description
traffic-vis is a suite of tools to help determine which hosts have been
communicating on an IP network, with whom they have been communicating
and the volume of communication taking place on a host by host basis.
It can report the information it gathers in ASCII, HTML or Postscript 
sorted in several different ways.

%prep

%setup

%build
make GLIB=/usr/lib/libglib.a

%install
if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT/ ; fi
mkdir -p $RPM_BUILD_ROOT/usr/sbin
mkdir -p $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 traffic-vis.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 collector/traffic-collector $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 644 collector/traffic-collector.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 sort/traffic-sort $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 755 sort/traffic-sort.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 utils/traffic-resolve $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 755 utils/traffic-resolve.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 utils/traffic-exclude $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 755 utils/traffic-exclude.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 frontends/traffic-totext $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 755 frontends/traffic-totext.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 frontends/traffic-tohtml $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 755 frontends/traffic-tohtml.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 frontends/traffic-tops $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 755 frontends/traffic-tops.8 $RPM_BUILD_ROOT/usr/man/man8
install -o root -g root -m 755 frontends/traffic-togif $RPM_BUILD_ROOT/usr/sbin
install -o root -g root -m 755 frontends/traffic-togif.8 $RPM_BUILD_ROOT/usr/man/man8

%files
%doc README COPYING TODO CHANGELOG BUGS
%attr(755,root,root) /usr/sbin/traffic-collector
%attr(755,root,root) /usr/sbin/traffic-sort
%attr(755,root,root) /usr/sbin/traffic-resolve
%attr(755,root,root) /usr/sbin/traffic-exclude
%attr(755,root,root) /usr/sbin/traffic-totext
%attr(755,root,root) /usr/sbin/traffic-tohtml
%attr(755,root,root) /usr/sbin/traffic-tops
%attr(755,root,root) /usr/sbin/traffic-togif
%attr(644,root,root) /usr/man/man8/traffic-vis.8
%attr(644,root,root) /usr/man/man8/traffic-collector.8
%attr(644,root,root) /usr/man/man8/traffic-sort.8
%attr(644,root,root) /usr/man/man8/traffic-resolve.8
%attr(644,root,root) /usr/man/man8/traffic-exclude.8
%attr(644,root,root) /usr/man/man8/traffic-totext.8
%attr(644,root,root) /usr/man/man8/traffic-tohtml.8
%attr(644,root,root) /usr/man/man8/traffic-tops.8

%clean
rm -r $RPM_BUILD_ROOT
rm -r %{builddir}