File pcpmon.spec of Package pcpmon

#
# spec file for package pcpmon (Version 1.3.3)
#
# Copyright (c) 2008 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:           pcpmon
BuildRequires:  gd-devel gtk-devel libpng-devel libtiff-devel libxml2-devel pcp-devel update-desktop-files
Version:        1.3.3
Release:        915
Summary:        A graphical monitor for Performance Co-Pilot (PCP)
License:        GPL v2 or later
Group:          System/Monitoring
Requires:       pcp
AutoReqProv:    on
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}.desktop
Patch:          %{name}-%{version}.dif
Patch1:         %{name}-%{version}-compoundlabel.diff
Patch2:         pcpmon-1.3.3-implicit-fortify-decl.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PCPMON is a graphical monitor for the performance-monitoring package
Performance Co-Pilot (PCP). It is intended mainly for performance
and/or misson critical server's administrators.



Authors:
--------
    Michal Kara <lemming@atrey.karlin.mff.cuni.cz>

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

%build
autoreconf -fiv
%configure --with-pic
%{__make} %{?jobs:-j%jobs}

%install
make install DESTDIR=%{buildroot}
%suse_update_desktop_file -i %name System Monitor

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README AUTHORS COPYING ChangeLog TODO NEWS
/usr/bin/*
/usr/share/applications/*.desktop

%changelog
* Thu Oct 09 2008 crrodriguez@suse.de
- fix implicit-fortify-decl errors
* Fri May 23 2008 crrodriguez@suse.de
- use RPM_OPT_FLAGS
* Sat Jul 14 2007 aj@suse.de
- Require pcp-devel.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 29 2004 mmj@suse.de
- Fix error: label at end of compound statement (gcc 3.4)
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Sat Aug 16 2003 adrian@suse.de
- add desktop file
* Mon Jan 20 2003 ro@suse.de
- fixed multiline string issues in code
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Sun Nov 04 2001 nashif@suse.de
- Update to version 1.3.3
  * Logarithmic axes fixed.
  * Logarithmic axes added but currently disabled because they do not work
  properly
  * Oversampling added
  * Number of characters in labels enlarged
  * When in shot mode, error messages are drawn to the image.
  * Program now uses gdImageGif when gdImagePng is not available
  * Works with both libxml1 and libxml2 (version is autodetected)
- run autoconf with updated files (in spec)
* Thu Oct 04 2001 nashif@suse.de
- use xml2-config
- run suse_update_config
* Wed Jun 06 2001 nashif@suse.de
- Fixed configure.in
* Thu Mar 22 2001 ro@suse.de
- added freetype2 to neededforbuild
* Fri Feb 23 2001 nashif@suse.de
- Update to version 1.3.0
* Sun Nov 05 2000 nashif@suse.de
- Changed neededforbuild
* Thu Nov 02 2000 nashif@suse.de
- Changed libxmld -> libxml-devel
* Sat May 27 2000 nashif@suse.de
- Initial Release (1.2.0)
openSUSE Build Service is sponsored by