[nf3d/el6] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Thu Sep 12 12:12:58 UTC 2013


commit 9d36425a6e9da1c0905a609c549561bf3b605978
Author: Christopher Meng <rpm at cicku.me>
Date:   Thu Sep 12 20:10:51 2013 +0800

    Initial SETUP.

 .gitignore |    1 +
 nf3d.spec  |   40 ++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..35db570 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nf3d-0.8.tar.gz
diff --git a/nf3d.spec b/nf3d.spec
new file mode 100644
index 0000000..31c54bd
--- /dev/null
+++ b/nf3d.spec
@@ -0,0 +1,40 @@
+Name:           nf3d
+Version:        0.8
+Release:        1%{?dist}
+Summary:        GANTT-style visualization for netfilter connections and logged packets
+License:        GPLv3+
+URL:            http://github.com/regit/nf3d
+Source0:        https://home.regit.org/wp-content/uploads/2013/02/%{name}-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:	python-setuptools
+
+%description
+nf3d is a netfilter visualization tool. It displays connections and
+logged packets in a GANTT diagram fashion.
+
+%prep
+%setup -q
+sed -i 's|#!/usr/bin/env python|#!/usr/bin/python|' %{name}/%{name}
+
+%build
+export CFLAGS="%optflags"
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
+install -p -D -m 644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
+
+%files
+%doc Changelog COPYING README.rst
+%{_bindir}/%{name}
+%{python2_sitelib}/%{name}*
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+
+%changelog
+* Tue May 28 2013 Christopher Meng <rpm at cicku.me> - 0.8-1
+- Fix some rpmlint issues.
+- New version.
+
+* Mon May 27 2013 Christopher Meng <rpm at cicku.me> - 0.7-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..f3e1179 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d843b2042aa2d76825b9c2b0eee1a61e  nf3d-0.8.tar.gz


More information about the scm-commits mailing list