File squidview.spec of Package squidview

# spec file for package squidview
# 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:           squidview
Version:        0.79
Release:        0
Source:         %{name}/%{name}-%{version}.tar.gz
# to be used one day with _service ...
Url:  {name}/index.html
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++
BuildRequires:  ncurses-devel
Summary:        Interactive console program which monitors squid logs access
License:        GPL-2.0
Group:          Productivity/Networking/Web/Proxy
Patch0:         COPYING.patch
Patch1:         ltinfo-obs.patch

Squidview is an interactive console program which monitors 
and displays squid logs in a nice fashion, and may then go 
deeper with searching and reporting functions.

If you don't know what squid is or does this program is probably not for you.

To use squidview you must at least have read access to squid's 
access.log file. You may need to see your administrator for this.
Squidview uses this text log file for all operations. 
It does not generate its own database for tasks
%setup -q -n %{name}-%{version}

%__make %{?_smp_mflags};

# Remove stupid content in /usr/share/squidview
%__rm -rf %{buildroot}%{_datadir}/squidview

# Not used anymore, but doesn't eat bread

%__rm -rf %{buildroot}

%defattr(-, root, root, 0755)
# Upstream Author doesn't want to be spammed!
# AUTHORS NEWS are empty 
%doc BUGS ChangeLog COPYING example.log HOWTO README