]> git.pld-linux.org Git - packages/dropwatch.git/commitdiff
new package
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 10 Oct 2014 11:15:56 +0000 (13:15 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 10 Oct 2014 11:15:56 +0000 (13:15 +0200)
dropwatch.spec [new file with mode: 0644]

diff --git a/dropwatch.spec b/dropwatch.spec
new file mode 100644 (file)
index 0000000..82f903e
--- /dev/null
@@ -0,0 +1,43 @@
+Summary:       Kernel dropped packet monitor
+Name:          dropwatch
+Version:       1.4
+Release:       1
+Source0:       https://fedorahosted.org/releases/d/r/dropwatch/%{name}-%{version}.tbz2
+# Source0-md5: 5145753b3e9255bd9b190251ba4d3bbf
+License:       GPLv2+
+Group:         Applications/System
+URL:           http://fedorahosted.org/dropwatch
+BuildRequires: binutils-devel
+BuildRequires: libnl-devel
+BuildRequires: linux-libc-headers
+BuildRequires: pkgconfig
+BuildRequires: readline-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dropwatch is an utility to interface to the kernel to monitor for
+dropped network packets.
+
+%prep
+%setup -q
+
+%build
+cd src
+export CFLAGS=$RPM_OPT_FLAGS
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install src/dropwatch $RPM_BUILD_ROOT%{_bindir}
+install doc/dropwatch.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.156866 seconds and 4 git commands to generate.