Automated weekly pcp rawhide release: 0.759.gf6d6a93
This commit is contained in:
parent
46086b21ec
commit
69964a5b79
1
.gitignore
vendored
1
.gitignore
vendored
@ -38,3 +38,4 @@ pcp-3.3.3-1.src.tar.gz
|
||||
/pcpfans-3.9.10.src.tar.gz
|
||||
/pcp-3.10.0.src.tar.gz
|
||||
/pcp-webjs.src.tar.gz
|
||||
/pcp-3.10.1-0.759.gf6d6a93.tar.gz
|
||||
|
84
pcp.spec
84
pcp.spec
@ -1,21 +1,24 @@
|
||||
Summary: System-level performance monitoring and performance management
|
||||
Name: pcp
|
||||
Version: 3.10.0
|
||||
%define buildversion 2
|
||||
Version: 3.10.1
|
||||
%define buildversion 1
|
||||
|
||||
Release: %{buildversion}%{?dist}
|
||||
License: GPLv2+ and LGPLv2.1+
|
||||
Release: 0.759.gf6d6a93%{?dist}
|
||||
License: GPLv2+ and LGPLv2.1+ and CC-BY
|
||||
URL: http://www.pcp.io
|
||||
Group: Applications/System
|
||||
Source0: pcp-%{version}.src.tar.gz
|
||||
Source0: %{name}-%{version}-0.759.gf6d6a93.tar.gz
|
||||
Source1: pcp-webjs.src.tar.gz
|
||||
|
||||
# There is no papi-devel package for s390 or prior to rhel6, disable it
|
||||
# There are no papi/libpfm devel packages for s390 nor for some rhels, disable
|
||||
%ifarch s390 s390x
|
||||
%{!?disable_papi: %global disable_papi 1}
|
||||
%{!?disable_perfevent: %global disable_perfevent 1}
|
||||
%else
|
||||
%{!?disable_papi: %global disable_papi 0%{?rhel} < 6}
|
||||
%{!?disable_perfevent: %global disable_perfevent 0%{?rhel} < 7}
|
||||
%endif
|
||||
|
||||
%define disable_microhttpd 0
|
||||
%define disable_cairo 0
|
||||
%if 0%{?rhel} == 0 || 0%{?rhel} > 6
|
||||
@ -44,6 +47,9 @@ BuildRequires: cyrus-sasl-devel
|
||||
%if !%{disable_papi}
|
||||
BuildRequires: papi-devel
|
||||
%endif
|
||||
%if !%{disable_perfevent}
|
||||
BuildRequires: libpfm-devel >= 4.4
|
||||
%endif
|
||||
%if !%{disable_microhttpd}
|
||||
BuildRequires: libmicrohttpd-devel
|
||||
%endif
|
||||
@ -124,6 +130,10 @@ Obsoletes: pcp-pmda-nvidia
|
||||
%define _with_papi --with-papi=yes
|
||||
%endif
|
||||
|
||||
%if !%{disable_perfevent}
|
||||
%define _with_perfevent --with-perfevent=yes
|
||||
%endif
|
||||
|
||||
%if %{disable_qt}
|
||||
%define _with_ib --with-qt=no
|
||||
%endif
|
||||
@ -159,7 +169,6 @@ License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
Summary: Performance Co-Pilot run-time libraries
|
||||
URL: http://www.pcp.io
|
||||
|
||||
Requires: pcp-conf = %{version}-%{release}
|
||||
|
||||
%description libs
|
||||
@ -202,7 +211,6 @@ License: GPLv2+
|
||||
Group: Applications/System
|
||||
Summary: Performance Co-Pilot (PCP) manager daemon
|
||||
URL: http://www.pcp.io
|
||||
|
||||
Requires: pcp = %{version}-%{release}
|
||||
Requires: pcp-libs = %{version}-%{release}
|
||||
|
||||
@ -227,8 +235,6 @@ License: GPLv2+
|
||||
Group: Applications/System
|
||||
Summary: Performance Co-Pilot (PCP) web API service
|
||||
URL: http://www.pcp.io
|
||||
|
||||
Requires: pcp = %{version}-%{release}
|
||||
Requires: pcp-libs = %{version}-%{release}
|
||||
|
||||
%description webapi
|
||||
@ -250,9 +256,6 @@ BuildArch: noarch
|
||||
Summary: Performance Co-Pilot (PCP) web applications
|
||||
URL: http://www.pcp.io
|
||||
|
||||
Requires: pcp-libs = %{version}-%{release}
|
||||
Requires: pcp-webapi = %{version}-%{release}
|
||||
|
||||
%description webjs
|
||||
Javascript web application content for the Performance Co-Pilot (PCP)
|
||||
web service.
|
||||
@ -397,7 +400,6 @@ Group: Applications/System
|
||||
Summary: Performance Co-Pilot (PCP) metrics for Performance API and hardware counters
|
||||
URL: http://www.pcp.io
|
||||
Requires: pcp-libs = %{version}-%{release}
|
||||
Requires: papi-devel
|
||||
BuildRequires: papi-devel
|
||||
|
||||
%description pmda-papi
|
||||
@ -405,6 +407,24 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
|
||||
collecting hardware counters statistics through PAPI (Performance API).
|
||||
%endif
|
||||
|
||||
%if !%{disable_perfevent}
|
||||
#
|
||||
# pcp-pmda-perfevent
|
||||
#
|
||||
%package pmda-perfevent
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
Summary: Performance Co-Pilot (PCP) metrics for hardware counters
|
||||
URL: http://www.pcp.io
|
||||
Requires: pcp-libs = %{version}-%{release}
|
||||
Requires: libpfm >= 4.4
|
||||
BuildRequires: libpfm-devel >= 4.4
|
||||
|
||||
%description pmda-perfevent
|
||||
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
|
||||
collecting hardware counters statistics through libpfm.
|
||||
%endif
|
||||
|
||||
%if !%{disable_infiniband}
|
||||
#
|
||||
# pcp-pmda-infiniband
|
||||
@ -505,7 +525,7 @@ PCP utilities and daemons, and the PCP graphical tools.
|
||||
rm -Rf $RPM_BUILD_ROOT
|
||||
|
||||
%build
|
||||
%configure %{?_with_initd} %{?_with_doc} %{?_with_ib} %{?_with_papi} %{?_with_qt}
|
||||
%configure %{?_with_initd} %{?_with_doc} %{?_with_ib} %{?_with_papi} %{?_with_perfevent} %{?_with_qt}
|
||||
make default_pcp
|
||||
|
||||
%install
|
||||
@ -532,7 +552,8 @@ rm -fr $RPM_BUILD_ROOT/%{_initddir}/pmwebd
|
||||
rm -fr $RPM_BUILD_ROOT/%{_unitdir}/pmwebd.service
|
||||
rm -f $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin/pmwebd
|
||||
%else
|
||||
mv pcp-webjs $RPM_BUILD_ROOT/%{_datadir}/pcp/jsdemos
|
||||
mv pcp-webjs/* $RPM_BUILD_ROOT/%{_datadir}/pcp/webapps
|
||||
rmdir pcp-webjs
|
||||
%endif
|
||||
|
||||
%if %{disable_infiniband}
|
||||
@ -560,6 +581,7 @@ done
|
||||
# list of PMDAs in the base pkg
|
||||
ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
|
||||
egrep -v 'simple|sample|trivial|txmon' |\
|
||||
egrep -v 'perfevent|perfalloc.1' |\
|
||||
egrep -v '^ib$|infiniband' |\
|
||||
egrep -v 'papi' |\
|
||||
sed -e 's#^#'%{_pmdasdir}'\/#' >base_pmdas.list
|
||||
@ -843,15 +865,18 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
|
||||
%config(noreplace) %{_confdir}/pmcd/rc.local
|
||||
%dir %{_confdir}/pmproxy
|
||||
%config(noreplace) %{_confdir}/pmproxy/pmproxy.options
|
||||
%dir %attr(0775,pcp,pcp) %{_confdir}/pmie
|
||||
%attr(0664,pcp,pcp) %config(noreplace) %{_confdir}/pmie/control
|
||||
%dir %attr(0775,pcp,pcp) %{_confdir}/pmlogger
|
||||
%attr(0664,pcp,pcp) %config(noreplace) %{_confdir}/pmlogger/control
|
||||
%dir %{_confdir}/pmie
|
||||
%config(noreplace) %{_confdir}/pmie/control
|
||||
%dir %{_confdir}/pmlogger
|
||||
%config(noreplace) %{_confdir}/pmlogger/control
|
||||
|
||||
%{_localstatedir}/lib/pcp/config/pmafm
|
||||
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmie
|
||||
%{_localstatedir}/lib/pcp/config/pmie/*
|
||||
%{_localstatedir}/lib/pcp/config/pmieconf
|
||||
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmlogger
|
||||
%{_localstatedir}/lib/pcp/config/pmlogger/*
|
||||
%{_localstatedir}/lib/pcp/config/pmlogconf
|
||||
%{_localstatedir}/lib/pcp/config/pmlogger
|
||||
%{_localstatedir}/lib/pcp/config/pmlogrewrite
|
||||
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmda
|
||||
|
||||
@ -920,6 +945,7 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
|
||||
%attr(0775,pcp,pcp) %{_logsdir}/pmwebd
|
||||
%{_confdir}/pmwebd
|
||||
%config(noreplace) %{_confdir}/pmwebd/pmwebd.options
|
||||
%dir %{_datadir}/pcp/webapps
|
||||
%{_mandir}/man1/pmwebd.1.gz
|
||||
%{_mandir}/man3/PMWEBAPI.3.gz
|
||||
%endif
|
||||
@ -927,7 +953,7 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
|
||||
%if !%{disable_microhttpd}
|
||||
%files webjs
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/pcp/jsdemos
|
||||
%{_datadir}/pcp/webapps/*
|
||||
%endif
|
||||
|
||||
%files manager
|
||||
@ -969,6 +995,16 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
|
||||
%{_mandir}/man1/pmdapapi.1.gz
|
||||
%endif
|
||||
|
||||
%if !%{disable_perfevent}
|
||||
%files pmda-perfevent
|
||||
%defattr(-,root,root)
|
||||
%{_pmdasdir}/perfevent
|
||||
%config(noreplace) %{_pmdasdir}/perfevent/perfevent.conf
|
||||
%{_mandir}/man1/perfalloc.1.gz
|
||||
%{_mandir}/man1/pmdaperfevent.1.gz
|
||||
%{_mandir}/man5/perfevent.conf.5.gz
|
||||
%endif
|
||||
|
||||
%if !%{disable_infiniband}
|
||||
%files pmda-infiniband
|
||||
%defattr(-,root,root)
|
||||
@ -1013,6 +1049,10 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%changelog
|
||||
* Mon Nov 24 2014 Lukas Berk <lberk@redhat.com> - 3.10.1-0.759.gf6d6a93
|
||||
- Automated weekly rawhide release
|
||||
- Applied spec changes from upstream git
|
||||
|
||||
* Tue Nov 18 2014 Dave Brolley <brolley@redhat.com> - 3.10.0-2
|
||||
- papi 5.4.0 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user