File constat.spec of Package constat

#
# spec file for package constat
#
# Copyright (c) 2011 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           constat
Version:        1.2.0
Release:        0
Summary:        Network Traffic Monitor
Source:         http://ivancat.srcom.info/constat-%{version}.tar.gz
Url:            http://ivancat.srcom.info
Patch1:         constat-makefile.patch
Group:          Productivity/Networking/System
License:        GPL-3.0+
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc glibc-devel make
BuildRequires:  autoconf automake libtool pkgconfig

%description
constat is a program that allows you to monitor the activity of any network
connection that are active. It is simple to install and use, works under any
Linux system, and does not require the X server. Information may be output for
all connections or just one. Output can be printed in units of KB, MB, or GB,
along with the number of transmitted packets. It has a real time monitoring
option, based on a 5-second timer.




Authors:
--------
    Ivan Cat <ivancat@gmail.com>

%prep
%setup -q
%patch1

%build
%configure
%__make %{?jobs:-j%{jobs}}

%install
%makeinstall
%__rm -v %{buildroot}%{_var}/log/constat.log

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc ChangeLog COPYING README TODO AUTHORS
%{_bindir}/constat
%doc %{_mandir}/man1/constat.1*

%changelog
openSUSE Build Service is sponsored by