[nicstat/f19] Initial import (#972719)
Tomasz Torcz
ttorcz at fedoraproject.org
Mon Jun 17 12:51:47 UTC 2013
commit 5133af2324d76d7bea1ee19881ae8f8b91ea9b51
Author: Tomasz Torcz <tomek at pipebreaker.pl>
Date: Mon Jun 17 14:49:44 2013 +0200
Initial import (#972719)
.gitignore | 1 +
nicstat.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..548bfa3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nicstat-src-1.92.tar.gz
diff --git a/nicstat.spec b/nicstat.spec
new file mode 100644
index 0000000..4a08da9
--- /dev/null
+++ b/nicstat.spec
@@ -0,0 +1,52 @@
+Name: nicstat
+Version: 1.92
+Release: 5%{?dist}
+Summary: CLI utility that prints out network statistics for all network interface
+
+License: Artistic 2.0
+URL: http://sourceforge.net/projects/%{name}
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
+
+
+%description
+nicstat is a Solaris and Linux command-line that prints out network statistics
+for all network interface cards (NICs), including packets, kilobytes per second,
+average packet sizes and more.
+
+
+%prep
+%setup -qn %{name}-src-%{version}
+
+
+%build
+# doesn't have configure script; uses custom Makefile, which boils down to single gcc invocation
+gcc %{optflags} %{name}.c -o %{name}
+
+
+%install
+install -p -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
+install -p -D -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+
+
+%files
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1.gz
+%doc README.txt ChangeLog.txt LICENSE.txt
+
+
+%changelog
+* Sun Jun 16 2013 Tomasz Torcz <ttorcz at fedoraproject.org> 1.92-5
+- remove authors from description (they are already listed in README.txt)
+
+* Thu Jun 13 2013 Tomasz Torcz <ttorcz at fedoraproject.org> 1.92-4
+- include LICENSE.txt in doc
+
+* Thu Jun 13 2013 Tomasz Torcz <ttorcz at fedoraproject.org> 1.92-3
+- change URL:
+
+* Wed Jun 12 2013 Tomasz Torcz <ttorcz at fedoraproject.org> 1.92-2
+- drop commented out lines (#972719)
+
+* Mon Jun 10 2013 Tomasz Torcz <ttorcz at fedoraproject.org> 1.92-1
+- initial package
+
diff --git a/sources b/sources
index e69de29..4fe7696 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c1bf0a98f27830462f81894bfb447fd8 nicstat-src-1.92.tar.gz
More information about the scm-commits
mailing list