Add static library for compute node support.
This commit is contained in:
parent
40c308b355
commit
6f5afd0861
21
papi.spec
21
papi.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Performance Application Programming Interface
|
Summary: Performance Application Programming Interface
|
||||||
Name: papi
|
Name: papi
|
||||||
Version: 4.1.3
|
Version: 4.1.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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/
|
||||||
@ -27,6 +27,14 @@ PAPI-devel includes the C header files that specify the PAPI userspace
|
|||||||
libraries and interfaces. This is required for rebuilding any program
|
libraries and interfaces. This is required for rebuilding any program
|
||||||
that uses PAPI.
|
that uses PAPI.
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Summary: Static libraries for the compiling programs with PAPI
|
||||||
|
Group: Development/System
|
||||||
|
Requires: papi = %{version}-%{release}
|
||||||
|
%description static
|
||||||
|
PAPI-static includes the static versions of the library files for
|
||||||
|
the PAPI userspace libraries and interfaces.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -47,10 +55,6 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
|
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||||
|
|
||||||
# Remove the static libraries. Static libraries are undesirable:
|
|
||||||
# https://fedoraproject.org/wiki/Packaging/Guidelines#Packaging_Static_Libraries
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
%clean
|
%clean
|
||||||
@ -71,7 +75,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man3/*
|
%doc %{_mandir}/man3/*
|
||||||
%doc %{_mandir}/man1/*
|
%doc %{_mandir}/man1/*
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 12 2011 William Cohen <wcohen@redhat.com> - 4.1.3-3
|
||||||
|
- Provide papi-static.
|
||||||
|
|
||||||
* Thu May 12 2011 William Cohen <wcohen@redhat.com> - 4.1.3-2
|
* Thu May 12 2011 William Cohen <wcohen@redhat.com> - 4.1.3-2
|
||||||
- Use corrected papi-4.1.3.
|
- Use corrected papi-4.1.3.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user