pcp 3.9.10 + pcpfans addons

This commit is contained in:
Frank Ch. Eigler 2014-09-12 14:47:24 -04:00
parent e594bd35da
commit 2f98877d5f
3 changed files with 25 additions and 14 deletions

2
.gitignore vendored
View File

@ -34,3 +34,5 @@ pcp-3.3.3-1.src.tar.gz
/pcp-3.9.7.src.tar.gz /pcp-3.9.7.src.tar.gz
/pcp-3.9.9.src.tar.gz /pcp-3.9.9.src.tar.gz
/pcp-3.9.10.src.tar.gz /pcp-3.9.10.src.tar.gz
/pcpfans-3.9.10.tar.gz
/pcpfans-3.9.10.src.tar.gz

View File

@ -1,16 +1,23 @@
Summary: System-level performance monitoring and performance management Summary: System-level performance monitoring and performance management
Name: pcp Name: pcp
Version: 3.9.10 Version: 3.9.10
%define buildversion 1 %define buildversion 4
Release: %{buildversion}%{?dist}.1 Release: %{buildversion}%{?dist}
License: GPLv2+ and LGPLv2.1+ License: GPLv2+ and LGPLv2.1+ and ASL2.0 and MIT and CC-BY
URL: http://www.performancecopilot.org URL: http://www.performancecopilot.org
Group: Applications/System Group: Applications/System
Source0: pcp-%{version}.src.tar.gz Source0: pcpfans-%{version}.src.tar.gz
# There is no papi-devel package for s390 or prior to rhel6, disable it
%ifarch s390 s390x
%{!?disable_papi: %global disable_papi 1}
%else
%{!?disable_papi: %global disable_papi 0%{?rhel} < 6}
%endif
%define disable_papi 0
%define disable_microhttpd 0 %define disable_microhttpd 0
%define disable_cairo 0
%if 0%{?rhel} == 0 || 0%{?rhel} > 5 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
%define disable_qt 0 %define disable_qt 0
%else %else
@ -32,6 +39,9 @@ BuildRequires: papi-devel
%if !%{disable_microhttpd} %if !%{disable_microhttpd}
BuildRequires: libmicrohttpd-devel BuildRequires: libmicrohttpd-devel
%endif %endif
%if !%{disable_cairo}
BuildRequires: cairo-devel
%endif
%if 0%{?rhel} == 0 || 0%{?rhel} > 5 %if 0%{?rhel} == 0 || 0%{?rhel} > 5
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
%else %else
@ -73,9 +83,7 @@ Obsoletes: pcp-pmda-nvidia
%define _pixmapdir %{_datadir}/pcp-gui/pixmaps %define _pixmapdir %{_datadir}/pcp-gui/pixmaps
%define _booksdir %{_datadir}/doc/pcp-doc %define _booksdir %{_datadir}/doc/pcp-doc
%if 0%{?fedora} >= 20 %define _with_doc --with-docdir=%{_pkgdocdir}
%define _with_doc --with-docdir=%{_docdir}/%{name}
%endif
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7 %if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
%define disable_systemd 0 %define disable_systemd 0
%else %else
@ -204,7 +212,7 @@ and as a result may not be suited to all production environments.
# pcp-webapi # pcp-webapi
# #
%package webapi %package webapi
License: GPLv2+ License: GPLv2+ and ASL2.0 and MIT and CC-BY
Group: Applications/System Group: Applications/System
Summary: Performance Co-Pilot (PCP) web API service Summary: Performance Co-Pilot (PCP) web API service
URL: http://www.performancecopilot.org URL: http://www.performancecopilot.org
@ -518,7 +526,7 @@ cat base_bin.list base_exec.list base_man.list |\
egrep "$PCP_GUI" >> pcp-gui.list egrep "$PCP_GUI" >> pcp-gui.list
%endif %endif
cat base_pmdas.list base_bin.list base_exec.list base_man.list |\ cat base_pmdas.list base_bin.list base_exec.list base_man.list |\
egrep -v 'pmdaib|pmmgr|pmweb|2pcp' |\ egrep -v 'pmdaib|pmmgr|pmweb|jsdemos|2pcp' |\
egrep -v "$PCP_GUI|pixmaps|pcp-doc|tutorials" |\ egrep -v "$PCP_GUI|pixmaps|pcp-doc|tutorials" |\
egrep -v %{_confdir} | egrep -v %{_logsdir} > base.list egrep -v %{_confdir} | egrep -v %{_logsdir} > base.list
@ -845,6 +853,7 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
%attr(0775,pcp,pcp) %{_logsdir}/pmwebd %attr(0775,pcp,pcp) %{_logsdir}/pmwebd
%{_confdir}/pmwebd %{_confdir}/pmwebd
%config(noreplace) %{_confdir}/pmwebd/pmwebd.options %config(noreplace) %{_confdir}/pmwebd/pmwebd.options
%{_datadir}/pcp/jsdemos
%{_mandir}/man1/pmwebd.1.gz %{_mandir}/man1/pmwebd.1.gz
%{_mandir}/man3/PMWEBAPI.3.gz %{_mandir}/man3/PMWEBAPI.3.gz
%endif %endif
@ -916,12 +925,9 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
%files -n pcp-gui -f pcp-gui.list %files -n pcp-gui -f pcp-gui.list
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_sysconfdir}/pcp/pmsnap
%config(noreplace) %{_sysconfdir}/pcp/pmsnap %config(noreplace) %{_sysconfdir}/pcp/pmsnap
%{_localstatedir}/lib/pcp/config/pmsnap %{_localstatedir}/lib/pcp/config/pmsnap
%dir %{_localstatedir}/lib/pcp/config/pmsnap
%{_localstatedir}/lib/pcp/config/pmchart %{_localstatedir}/lib/pcp/config/pmchart
%dir %{_localstatedir}/lib/pcp/config/pmchart
%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui %{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
%{_datadir}/applications/pmchart.desktop %{_datadir}/applications/pmchart.desktop
%endif %endif
@ -930,6 +936,9 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
%defattr(-,root,root,-) %defattr(-,root,root,-)
%changelog %changelog
* Fri Sep 12 2014 Frank Ch. Eigler <fche@redhat.com> - 3.9.10-4
- Respin with pcpfans 3.9.10 add-ons.
* Fri Sep 05 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.9.10-1.1 * Fri Sep 05 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.9.10-1.1
- Perl 5.20 rebuild - Perl 5.20 rebuild

View File

@ -1 +1 @@
9b4d81c2b18dadebaa224fc0b2ee1f4a pcp-3.9.10.src.tar.gz bdc26d9d55173f43f63e2c1a3330b627 pcpfans-3.9.10.src.tar.gz