File procmeter.spec of Package procmeter
#
# spec file for package procmeter
#
# 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: procmeter
BuildRequires: gtk2-devel update-desktop-files
License: GPLv2+
Group: System/Monitoring
Provides: procmtr
Obsoletes: procmtr
Version: 3.5b
Release: 6
Summary: Display actual system parameters
Url: http://www.gedanken.demon.co.uk/procmeter3/
Source: procmeter3-%{version}.tar.bz2
Source1: procmeter3.desktop
Patch: procmeter3-3.4a.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
With procmeter one can display various system parameters as e.g.
processor load, network load, etc.
%prep
%setup -q -n procmeter3-%{version}
%patch
%build
make XLIBDIR=/usr/%{_lib}
%install
%makeinstall
%suse_update_desktop_file -i procmeter3 System Monitor
%clean
rm -rf $RPM_BUILD_ROOT
%if 0%{?suse_version} > 1130
%post
%desktop_database_post
%endif
%if 0%{?suse_version} > 1130
%postun
%desktop_database_postun
%endif
%files
%defattr(-,root,root)
%doc ChangeLog ANNOUNCE LSM NEWS README
%{_datadir}/applications/*.desktop
%{_bindir}/*
%{_libexecdir}/ProcMeter3/
%doc %{_mandir}/man?/*
%changelog