File argus-client.spec of Package argus-client.914

# spec file for package argus-client
# Copyright (c) 2012 SUSE LINUX Products 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

Name:           argus-client
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  libpcap
BuildRequires:  ncurses-devel
BuildRequires:  tcpd-devel
BuildRequires:  tcsh
%define name2 argus-clients
Summary:        Client for Network Monitoring Tool
License:        GPL-2.0+ and GPL-2.0
Group:          Productivity/Networking/Diagnostic
Version:        3.0.6
Release:        0
Source:         %{name2}-%{version}.tar.bz2
Patch1:         %{name2}-%{version}-overflow.patch
Patch2:         %{name2}-%{version}-fclose.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       argus
Provides:       argus:/usr/sbin/argus

Client for Argus network monitoring tool.

    Carter Bullard <>

%setup -n %{name2}-%{version}

%{suse_update_config -f bin config }
#autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -Wall"
./configure --libdir=%{_libdir}

rm -rf  %{buildroot}
install -d -m 755 $RPM_BUILD_ROOT/{etc,usr/{bin,share/man},%{_docdir}}
install -m 700 bin/arg* $RPM_BUILD_ROOT/usr/bin/
rm -f $RPM_BUILD_ROOT/usr/bin/argus_linux
install -m 755 bin/ra* $RPM_BUILD_ROOT/usr/bin/
( cd man
  cp -a man* $RPM_BUILD_ROOT%{_mandir} 
  chmod a-x $RPM_BUILD_ROOT%{_mandir}/*/* )
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/tcpdump.1*
install -m 600 support/Config/rarc $RPM_BUILD_ROOT/etc/ra.conf
find support -type f -exec chmod 0644 {} \;
rm -f $RPM_BUILD_ROOT/usr/bin/argus*

rm -rf  %{buildroot}

%doc doc COPYING MANIFEST support
%attr(0644,root,root) %doc %{_mandir}/man*/*
%config /etc/ra.conf

openSUSE Build Service is sponsored by