File procmeter.spec of Package procmeter

#
# spec file for package procmeter (Version 3.4a)
#
# Copyright (c) 2009 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:  gtk-devel update-desktop-files
License:        GPL v2 or later
Group:          System/Monitoring
Provides:       procmtr
Obsoletes:      procmtr
AutoReqProv:    on
Version:        3.4a
Release:        371
Summary:        Display actual system parameters
Url:            http://www.gedanken.demon.co.uk/procmeter3/
Source:         procmeter3-%{version}.tar.bz2
Source1:        procmeter3.desktop
Patch:          procmeter3-%{version}.patch
Patch1:         procmeter3-%{version}-ia64.patch
Patch2:         procmeter3-%{version}-array.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
With procmeter one can display various system parameters as e.g.
processor load, network load, etc.



Authors:
--------
    Andrew M. Bishop <amb@gedanken.demon.co.uk>

%prep
%setup -q -n procmeter3-%{version}
%patch
%patch1
%patch2

%build
make XLIBDIR=/usr/%{_lib}

%install
rm -rf $RPM_BUILD_ROOT
make "DESTDIR=$RPM_BUILD_ROOT" install
%suse_update_desktop_file -i procmeter3 System Monitor

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog ANNOUNCE LSM NEWS README
/usr/share/applications/*.desktop
/usr/bin/*
/usr/lib/ProcMeter3
%doc /usr/share/man/man1/*
%doc /usr/share/man/man5/*

%changelog
* Thu Aug 17 2006 ro@suse.de
- move from /usr/X11R6 to /usr
* Thu Feb 23 2006 pnemec@suse.cz
- fixed ArrayOutOfBound  #152045
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Aug 15 2003 adrian@suse.de
- add desktop file
* Wed Jul 09 2003 ltinkl@suse.cz
- updated sources to version 3.4a
* Mon Feb 17 2003 vbobek@suse.cz
-updated to version 3.4
  * new output format
  * added manpage for modules
  * bug fixes
* Thu Oct 10 2002 prehak@suse.cz
- updated to version 3.3b
* Mon Jan 21 2002 cihlar@suse.cz
- use %%{_lib}
* Thu Jul 26 2001 cihlar@suse.cz
- update to version 3.3a
* Mon May 21 2001 cihlar@suse.cz
- fixed cast warnings on ia64
- fixed includes
* Wed Mar 07 2001 cihlar@suse.cz
- updated to version 3.3
* Tue Nov 14 2000 cihlar@suse.cz
- renamed procmtr -> procmeter
- update to version 3.2a
- bzipped sources
- fixed copyright tag
* Wed May 17 2000 cihlar@suse.cz
- Group sorted
* Fri Apr 07 2000 cihlar@suse.cz
- added BuildRoot
- upgrade to version 3.2
* Tue Jan 25 2000 ro@suse.de
- update to 2.4, cleanup spec
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Jan 16 1997 maddin@suse.de
- first S.u.S.E. version 2.2
- changed paths
- copied documentation to /usr/doc/packages/procmtr
openSUSE Build Service is sponsored by