[nload/f18: 2/2] New version.

Christopher Meng cicku at fedoraproject.org
Tue May 28 05:21:27 UTC 2013


commit 8f74680ade0785121c9c4a81d5bf08e31c7a12eb
Author: Christopher Meng <rpm at cicku.me>
Date:   Tue May 28 13:20:34 2013 +0800

    New version.

 nload.spec |   41 ++++++++++++++++++-----------------------
 1 files changed, 18 insertions(+), 23 deletions(-)
---
diff --git a/nload.spec b/nload.spec
index d68df64..d38376e 100644
--- a/nload.spec
+++ b/nload.spec
@@ -1,15 +1,13 @@
-Summary: Monitor Network Traffic and Bandwidth usage in real time
-Name: nload
-Version: 0.7.2
-Release: 9%{?dist}
-License: GPLv2+
-Group: Applications/System
-URL: http://www.roland-riegel.de/nload/
-Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: ncurses-devel
-BuildRequires: gcc-c++
+Name:           nload
+Version:        0.7.4
+Release:        1%{?dist}
+Summary:        A tool can monitor network traffic and bandwidth usage in real time
+License:        GPLv2+
+Group:          Applications/System
+URL:            http://www.roland-riegel.de/nload/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+
+BuildRequires:  ncurses-devel
 
 %description
 nload is a console application which monitors network traffic and bandwidth
@@ -22,24 +20,21 @@ network usage.
 
 %build
 # --enable-debug do not strip debugging symbols, required for debug-info package
-%configure --enable-debug 
-
-%{__make} %{?_smp_mflags}
+%configure --enable-debug
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} install DESTDIR="%{buildroot}" INSTALL="install -p"
-
-%clean
-%{__rm} -rf %{buildroot}
+make install DESTDIR="%{buildroot}" INSTALL="install -p"
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING NEWS README
-%{_mandir}/man1/nload.1*
-%{_bindir}/nload
+%{_mandir}/man1/%{name}.1*
+%{_bindir}/%{name}
 
 %changelog
+* Mon May 27 2013 Christopher Meng <rpm at cicku.me> - 0.7.4-1
+- Pull in the latest version.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.2-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list