[pcapfix/f18] Initial SETUP.
Christopher Meng
cicku at fedoraproject.org
Tue Jul 23 03:02:09 UTC 2013
commit 56f87f238b2d68a8c6fad5d1e95b8e558f6c6cda
Author: Christopher Meng <rpm at cicku.me>
Date: Tue Jul 23 11:01:32 2013 +0800
Initial SETUP.
.gitignore | 1 +
pcapfix.spec | 35 +++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..64f0eb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pcapfix-0.7.3.tar.gz
diff --git a/pcapfix.spec b/pcapfix.spec
new file mode 100644
index 0000000..33f589f
--- /dev/null
+++ b/pcapfix.spec
@@ -0,0 +1,35 @@
+Name: pcapfix
+Version: 0.7.3
+Release: 2%{?dist}
+Summary: A tool for repairing corrupted pcap files
+License: GPLv3
+URL: http://f00l.de/pcapfix
+Source0: http://f00l.de/pcapfix/%{name}-%{version}.tar.gz
+
+%description
+pcapfix is a repair tool for corrupted pcap files. It checks for an intact pcap
+global header and repairs it if there are any corrupted bytes. If one is not
+present, one is created and added to the beginning of the file. It then tries
+to find pcap packet headers, and checks and repairs them.
+
+%prep
+%setup -q
+sed -i 's|install -D|install -p -D|g' Makefile
+
+%build
+make CFLAGS="%{optflags}" %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+
+%files
+%doc Changelog LICENSE README TODO
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+
+%changelog
+* Mon Jul 22 2013 Christopher Meng <rpm at cicku.me> - 0.7.3-2
+- Fix incorrect license.
+
+* Tue Jun 18 2013 Christopher Meng <rpm at cicku.me> - 0.7.3-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..68244dd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+78e2734009ff53e4bb9cbdad6f195cb1 pcapfix-0.7.3.tar.gz
More information about the scm-commits
mailing list