File squidview.spec of Package squidview
#
# spec file for package squidview
#
# 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: squidview
Version: 0.79
Release: 1
License: GPLv2
Source: %{name}/%{name}-%{version}.tar.gz
#Source: http://www.rillion.net/%{name}/%{name}-%{version}.tar.gz
Url: http://www.rillion.net/%{name}/index.html
Group: Productivity/Networking/Web/Proxy
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ ncurses-devel
Summary: Interactive console program which monitors squid logs access
Patch0: patch-COPYING.diff
%description
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
%prep
%setup -q -n %{name}-%{version}
%patch0
%build
%configure
%__make %{?_smp_mflags};
%install
%makeinstall
# Remove stupid content in /usr/share/squidview
%__rm -rf %{buildroot}%{_datadir}/squidview
%clean
%__rm -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
# Upstream Author doesn't want to be spammed!
# AUTHORS NEWS are empty
%doc BUGS ChangeLog COPYING example.log HOWTO README
%{_mandir}/man1/squidview*
%{_bindir}/squidview
%changelog