summaryrefslogtreecommitdiff
path: root/nload.spec.in
blob: 36496fdc4c3734edee442a7c3b53bce68eb43641 (plain)
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
Summary        : A console application which monitors network traffic and bandwidth usage in real time
Name           : @PACKAGE@
Version        : @VERSION@
Release        : 1
Copyright      : GPL
Url            : http://www.roland-riegel.de/nload/index_en.html
Packager       : Helder Correia <helder.correia@netcabo.pt>
Group          : Applications/System
Source         : %{name}-%{version}.tar.gz
BuildRoot      : %{_tmppath}/%{name}-%{version}-root
Requires       : ncurses >= 5.0
BuildRequires  : ncurses-devel >= 5.0


%description
%{name} is a console application which monitors network traffic and bandwidth
usage in real time. It visualizes the in and outgoing traffic using two graphs
and provides additional info like total amount of transfered data and min/max
network usage.


%prep
%setup -q


%build
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir}
make


%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%attr(0755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz


%changelog
* Wed Aug 14 2002 Helder Correia <helder.correia@netcabo.pt>
- Initial RPM release.