From 0e03940802cebefdf6b0597a154bd9395e1af4d2 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 18 Jun 2014 15:45:45 +0200 Subject: Add the vanilla version of the project This version can still be found here: http://www.roland-riegel.de/nload/index.html --- nload.spec.in | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 nload.spec.in (limited to 'nload.spec.in') 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 +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 +- Initial RPM release. -- cgit v1.2.3