|
Packit |
577717 |
Summary: Performance Application Programming Interface
|
|
Packit |
577717 |
Name: papi
|
|
Packit |
577717 |
Version: 5.6.0.0
|
|
Packit |
577717 |
Release: 1%{?dist}
|
|
Packit |
577717 |
License: BSD
|
|
Packit |
577717 |
Group: Development/System
|
|
Packit |
577717 |
URL: http://icl.utk.edu/papi/
|
|
Packit |
577717 |
Source0: http://icl.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
|
Packit |
577717 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Packit |
577717 |
BuildRequires: ncurses-devel
|
|
Packit |
577717 |
BuildRequires: gcc-gfortran
|
|
Packit |
577717 |
BuildRequires: kernel-headers >= 2.6.32
|
|
Packit |
577717 |
BuildRequires: chrpath
|
|
Packit |
577717 |
#Right now libpfm does not know anything about s390 and will fail
|
|
Packit |
577717 |
ExcludeArch: s390 s390x
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%description
|
|
Packit |
577717 |
PAPI provides a programmer interface to monitor the performance of
|
|
Packit |
577717 |
running programs.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%package devel
|
|
Packit |
577717 |
Summary: Header files for the compiling programs with PAPI
|
|
Packit |
577717 |
Group: Development/System
|
|
Packit |
577717 |
Requires: papi = %{version}-%{release}
|
|
Packit |
577717 |
%description devel
|
|
Packit |
577717 |
PAPI-devel includes the C header files that specify the PAPI userspace
|
|
Packit |
577717 |
libraries and interfaces. This is required for rebuilding any program
|
|
Packit |
577717 |
that uses PAPI.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%prep
|
|
Packit |
577717 |
%setup -q
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%build
|
|
Packit |
577717 |
cd src
|
|
Packit |
577717 |
%configure --with-static-lib=no --with-shared-lib=yes --with-shlib
|
|
Packit |
577717 |
#DBG workaround to make sure libpfm just uses the normal CFLAGS
|
|
Packit |
577717 |
DBG="" make
|
|
Packit |
577717 |
|
|
Packit |
577717 |
#%check
|
|
Packit |
577717 |
#cd src
|
|
Packit |
577717 |
#make fulltest
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%install
|
|
Packit |
577717 |
rm -rf $RPM_BUILD_ROOT
|
|
Packit |
577717 |
cd src
|
|
Packit |
577717 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
Packit |
577717 |
|
|
Packit |
577717 |
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
|
Packit |
577717 |
|
|
Packit |
577717 |
# Remove the static libraries. Static libraries are undesirable:
|
|
Packit |
577717 |
# https://fedoraproject.org/wiki/Packaging/Guidelines#Packaging_Static_Libraries
|
|
Packit |
577717 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%post -p /sbin/ldconfig
|
|
Packit |
577717 |
%postun -p /sbin/ldconfig
|
|
Packit |
577717 |
%clean
|
|
Packit |
577717 |
rm -rf $RPM_BUILD_ROOT
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%files
|
|
Packit |
577717 |
%defattr(-,root,root,-)
|
|
Packit |
577717 |
%{_bindir}/*
|
|
Packit |
577717 |
%{_libdir}/*.so.*
|
|
Packit |
577717 |
/usr/share/papi
|
|
Packit |
577717 |
%doc INSTALL.txt README LICENSE.txt RELEASENOTES.txt
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%files devel
|
|
Packit |
577717 |
%defattr(-,root,root,-)
|
|
Packit |
577717 |
%{_includedir}/*.h
|
|
Packit |
577717 |
%{_includedir}/perfmon
|
|
Packit |
577717 |
%{_libdir}/*.so
|
|
Packit |
577717 |
%doc %{_mandir}/man3/*
|
|
Packit |
577717 |
%doc %{_mandir}/man1/*
|
|
Packit |
577717 |
|
|
Packit |
577717 |
%changelog
|
|
Packit |
577717 |
* Tue Jan 31 2012 Dan Terpstra <terpstra@eecs.utk.edu> - 4.2.1
|
|
Packit |
577717 |
- Rebase to papi-4.2.1
|
|
Packit |
577717 |
|
|
Packit |
577717 |
* Wed Dec 8 2010 Dan Terpstra <terpstra@eecs.utk.edu> - 4.1.2-1
|
|
Packit |
577717 |
- Rebase to papi-4.1.2
|
|
Packit |
577717 |
|
|
Packit |
577717 |
* Mon Jun 8 2010 William Cohen <wcohen@redhat.com> - 4.1.0-1
|
|
Packit |
577717 |
- Rebase to papi-4.1.0
|
|
Packit |
577717 |
|
|
Packit |
577717 |
* Mon May 17 2010 William Cohen <wcohen@redhat.com> - 4.0.0-5
|
|
Packit |
577717 |
- Test run with upstream cvs version.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
* Wed Feb 10 2010 William Cohen <wcohen@redhat.com> - 4.0.0-4
|
|
Packit |
577717 |
- Resolves: rhbz562935 Rebase to papi-4.0.0 (correct ExcludeArch).
|
|
Packit |
577717 |
|
|
Packit |
577717 |
* Wed Feb 10 2010 William Cohen <wcohen@redhat.com> - 4.0.0-3
|
|
Packit |
577717 |
- Resolves: rhbz562935 Rebase to papi-4.0.0 (bump nvr).
|
|
Packit |
577717 |
|
|
Packit |
577717 |
* Wed Feb 10 2010 William Cohen <wcohen@redhat.com> - 4.0.0-2
|
|
Packit |
577717 |
- correct the ctests/shlib test
|
|
Packit |
577717 |
- have PAPI_set_multiplex() return proper value
|
|
Packit |
577717 |
- properly handle event unit masks
|
|
Packit |
577717 |
- correct PAPI_name_to_code() to match events
|
|
Packit |
577717 |
- Resolves: rhbz562935 Rebase to papi-4.0.0
|
|
Packit |
577717 |
|
|
Packit |
577717 |
* Wed Jan 13 2010 William Cohen <wcohen@redhat.com> - 4.0.0-1
|
|
Packit |
577717 |
- Generate papi.spec file for papi-4.0.0.
|