forked from rolandriegel/nload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nload.spec.in
49 lines (35 loc) · 1.21 KB
/
nload.spec.in
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/
Packager : Helder Correia <[email protected]>
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 README.md
%attr(0755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Wed Aug 14 2002 Helder Correia <[email protected]>
- Initial RPM release.