summaryrefslogtreecommitdiff
path: root/nload.spec.in
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2014-06-18 15:45:45 +0200
committerOlivier Gayot <duskcoder@gmail.com>2014-06-18 15:49:38 +0200
commit0e03940802cebefdf6b0597a154bd9395e1af4d2 (patch)
tree409a58499128227dd57943515d003074190551f5 /nload.spec.in
Add the vanilla version of the project
This version can still be found here: http://www.roland-riegel.de/nload/index.html
Diffstat (limited to 'nload.spec.in')
-rw-r--r--nload.spec.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/nload.spec.in b/nload.spec.in
new file mode 100644
index 0000000..36496fd
--- /dev/null
+++ b/nload.spec.in
@@ -0,0 +1,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.