Rebase on papi-4.2.1.tar.gz
This commit is contained in:
parent
e8abcf2bd5
commit
4bb90afdf0
|
@ -3,3 +3,4 @@ papi-4.1.0.tar.gz
|
||||||
/papi-4.1.2.1.tar.gz
|
/papi-4.1.2.1.tar.gz
|
||||||
/papi-4.1.3.tar.gz
|
/papi-4.1.3.tar.gz
|
||||||
/papi-4.2.0.tar.gz
|
/papi-4.2.0.tar.gz
|
||||||
|
/papi-4.2.1.tar.gz
|
||||||
|
|
30
papi.spec
30
papi.spec
|
@ -1,21 +1,21 @@
|
||||||
Summary: Performance Application Programming Interface
|
Summary: Performance Application Programming Interface
|
||||||
Name: papi
|
Name: papi
|
||||||
Version: 4.2.0
|
Version: 4.2.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
URL: http://icl.cs.utk.edu/papi/
|
URL: http://icl.cs.utk.edu/papi/
|
||||||
Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
||||||
Patch1: papi-coretemp.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
BuildRequires: kernel-headers >= 2.6.32
|
BuildRequires: kernel-headers >= 2.6.32
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
|
BuildRequires: lm_sensors-devel
|
||||||
# Following required for net component
|
# Following required for net component
|
||||||
BuildRequires: net-tools
|
BuildRequires: net-tools
|
||||||
# Following required for inifiband component
|
# Following required for inifiband component
|
||||||
BuildRequires: libibmad-devel
|
BuildRequires: libibmad-devel
|
||||||
#Right now libpfm does not know anything about s390 and will fail
|
#Right now libpfm does not know anything about s390 and will fail
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
|
@ -42,26 +42,27 @@ the PAPI userspace libraries and interfaces.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .temp
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
%configure --with-libpfm4 \
|
%configure --with-libpfm4 \
|
||||||
--with-static-lib=yes --with-shared-lib=yes --with-shlib \
|
--with-static-lib=yes --with-shared-lib=yes --with-shlib \
|
||||||
--with-components="acpi coretemp example net"
|
--with-components="coretemp example lmsensors lustre mx net"
|
||||||
#components currently left out because of build configure/build issues
|
#components currently left out because of build configure/build issues
|
||||||
#--with-components="cuda infiniband lmsensors lustre mx"
|
#--with-components="appio cuda infiniband vmware"
|
||||||
|
|
||||||
pushd components
|
pushd components
|
||||||
#pushd cuda; ./configure; popd
|
#pushd cuda; ./configure; popd
|
||||||
pushd infiniband; ./configure; popd
|
pushd infiniband; %configure; popd
|
||||||
#pushd lmsensors; ./configure; popd
|
pushd lmsensors; \
|
||||||
#pushd mx; ./configure ; popd
|
%configure --with-sensors_incdir=/usr/include/sensors \
|
||||||
pushd net; ./configure; popd
|
--with-sensors_libdir=%{_libdir}; \
|
||||||
|
popd
|
||||||
|
#pushd vmware; ./configure; popd
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#DBG workaround to make sure libpfm just uses the normal CFLAGS
|
#DBG workaround to make sure libpfm just uses the normal CFLAGS
|
||||||
DBG="" make
|
DBG="" make %{?_smp_mflags}
|
||||||
|
|
||||||
#%check
|
#%check
|
||||||
#cd src
|
#cd src
|
||||||
|
@ -73,8 +74,6 @@ cd src
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||||
#hack to get rid of unwanted man1/
|
|
||||||
rm $RPM_BUILD_ROOT/%{_mandir}/man1/*.c.1
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
@ -101,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 14 2012 William Cohen <wcohen@redhat.com> - 4.2.1-1
|
||||||
|
- Rebase to 4.2.1.
|
||||||
|
|
||||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-4
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue