[pcp-gui] Initial import for pcp-gui-1.5.2-2 modified: .gitignore new file: pcp-gui.spec new file: pc

Mark Goodwin mgoodwin at fedoraproject.org
Tue Dec 6 12:10:05 UTC 2011


commit 0e7266831180269972e86c024f7044fb74d4ef50
Author: Mark Goodwin <mgoodwin at redhat.com>
Date:   Tue Dec 6 23:08:44 2011 +1100

    Initial import for pcp-gui-1.5.2-2
    	modified:   .gitignore
    	new file:   pcp-gui.spec
    	new file:   pcp-gui_desktop.patch
    	modified:   sources

 .gitignore            |    1 +
 pcp-gui.spec          |   98 +++++++++++++++++++++++++++++++++++++++++++++++++
 pcp-gui_desktop.patch |    7 +++
 sources               |    1 +
 4 files changed, 107 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6183ab2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pcp-gui-1.5.2.src.tar.gz
diff --git a/pcp-gui.spec b/pcp-gui.spec
new file mode 100644
index 0000000..fa72196
--- /dev/null
+++ b/pcp-gui.spec
@@ -0,0 +1,98 @@
+Name: pcp-gui
+Version: 1.5.2
+Release: 2%{?dist}
+License: GPLv2+ and LGPLv2+ and LGPLv2+ with exceptions
+URL: http://oss.sgi.com/projects/pcp
+
+Source0: ftp://oss.sgi.com/projects/pcp/download/rpm/pcp-gui/pcp-gui-%{version}.src.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: autoconf, bison, flex, gawk, pcp >= 2.0, pcp-libs-devel >= 2.0, qt4-devel >= 4.2
+BuildRequires: desktop-file-utils
+%if (0%{?fedora} > 12 || 0%{?rhel} > 5)
+BuildRequires: qt-assistant-adp-devel
+%endif
+Requires: pcp
+
+Patch0: pcp-gui_desktop.patch
+
+Group: Applications/System
+Summary: Visualization tools for the Performance Co-Pilot toolkit
+
+%description
+Visualization tools for the Performance Co-Pilot toolkit.
+Performance Co-Pilot (PCP) provides a framework and services to support
+system-level performance monitoring and performance management.
+
+The PCP GUI package primarily includes visualization tools for
+monitoring systems using live and archived Performance Co-Pilot
+(PCP) sources.
+
+These tools have dependencies on graphics libraries which may or
+may not be installed on server machines, so PCP GUI is delivered,
+managed and maintained as a separate (source and binary) package
+to the core PCP infrastructure.
+
+
+%package -n pcp-doc
+Group: Documentation
+Summary: Documentation and tutorial for the Performance Co-Pilot
+
+%description -n pcp-doc
+Documentation and tutorial for the Performance Co-Pilot
+Performance Co-Pilot (PCP) provides a framework and services to support
+system-level performance monitoring and performance management.
+
+The pcp-doc package provides useful information on using and
+configuring the Performance Co-Pilot (PCP) toolkit for system
+level performance management.  It includes tutorials, HOWTOs,
+and other detailed documentation about the internals of core
+PCP utilities and daemons, and the PCP graphical tools.
+
+
+%prep
+%setup -q
+%patch0
+autoconf
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+export DIST_ROOT=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT/usr/share/doc/pcp-gui
+desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc README doc/CHANGES doc/COPYING
+%{_bindir}/*
+%{_libexecdir}/*
+%{_localstatedir}/lib/pcp
+%{_mandir}/man1/*
+%{_datadir}/pcp
+%{_datadir}/pixmaps/*
+%{_datadir}/applications/pmchart.desktop
+
+%files -n pcp-doc
+%defattr(-,root,root,-)
+%{_datadir}/doc/pcp-doc
+
+
+%changelog
+* Fri Dec 02 2011 Mark Goodwin <mgoodwin at redhat.com> - 1.5.2-2
+- patched pmchart.desktop, needed for RHEL builds
+
+* Thu Dec 01 2011 Mark Goodwin <mgoodwin at redhat.com> - 1.5.2-1
+- fixed License and assorted minor rpmlint issues following review
+
+* Mon Sep 19 2011 Harshula Jayasuriya <harshula at redhat.com> - 1.5.1-1
+- Initial Fedora release
diff --git a/pcp-gui_desktop.patch b/pcp-gui_desktop.patch
new file mode 100644
index 0000000..78eb613
--- /dev/null
+++ b/pcp-gui_desktop.patch
@@ -0,0 +1,7 @@
+--- src/chart/pmchart.desktop.orig
++++ src/chart/pmchart.desktop
+@@ -6,3 +6,4 @@ Icon=pmchart.png
+ Terminal=false
+ Type=Application
+ Categories=System;Utility;
++Encoding=UTF-8
diff --git a/sources b/sources
index e69de29..abe64c6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6a48b6ba765fe1c180bcc5a23eca640b  pcp-gui-1.5.2.src.tar.gz


More information about the scm-commits mailing list