Accepting request 322657 from home:benjamin_poirier:branches:network:utilities

Add dropwatch package

OBS-URL: https://build.opensuse.org/request/show/322657
OBS-URL: https://build.opensuse.org/package/show/network:utilities/dropwatch?expand=0&rev=1
This commit is contained in:
Lars Müller 2015-08-13 21:57:21 +00:00 committed by Git OBS Bridge
commit be7e42d8cf
5 changed files with 92 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:233b2cd8a48652dc00f7b6be30fb4a859c367271d8c530b09f97793da1360d45
size 15200

5
dropwatch.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Aug 12 22:18:33 UTC 2015 - bpoirier@suse.com
- Import from git://git.fedorahosted.org/dropwatch.git 7c33d8a

60
dropwatch.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package dropwatch
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: dropwatch
Version: 1.4.g7c33d8a
Release: 0
Summary: Kernel dropped packet monitor
License: GPL-2.0
Group: Productivity/Networking/Diagnostic
Url: https://fedorahosted.org/dropwatch/
Source: %{name}-%{version}.tar.xz
BuildRequires: binutils-devel
BuildRequires: libnl3-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
Requires: readline
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
dropwatch is an interactive utility for monitoring and recording packets that
are dropped by the kernel
%prep
%setup -q
%build
cd src
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -m0755 src/dropwatch %{buildroot}%{_bindir}
install -m0644 doc/dropwatch.1 %{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_mandir}/man1/*
%doc README
%doc COPYING
%changelog