2004-09-24 14:14:15 +00:00
|
|
|
Summary: a performance monitoring library for Linux/ia64
|
|
|
|
Name: libpfm
|
|
|
|
Version: 3.0
|
2006-02-07 12:42:48 +00:00
|
|
|
Release: 4.2
|
2004-09-24 14:14:15 +00:00
|
|
|
License: MIT-style
|
|
|
|
Group: Development/Libraries
|
|
|
|
ExclusiveArch: ia64
|
|
|
|
ExclusiveOS: linux
|
|
|
|
AutoReqProv: no
|
|
|
|
Source: ftp://ftp.hpl.hp.com/pub/linux-ia64/%{name}-%{version}.tar.gz
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a library to develop performance monitoring
|
|
|
|
applications using the IA-64 Performance Monitor Unit (PMU).
|
|
|
|
This version supports both the Itanium and Itanium 2 processors.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: the Linux/ia64 performance library (libpfm) development files.
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The performance monitoring library (libpfm) is used to develop
|
|
|
|
performance monitoring applications using the IA-64 Performance Monitoring
|
|
|
|
Unit (PMU). This package provides the files necessary for development of
|
|
|
|
applications. This version supports both the Itanium and Itanium 2 processors.
|
|
|
|
It requires a kernel perfmon-2.x subsystem.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}/%{_prefix}
|
2005-03-14 23:13:31 +00:00
|
|
|
make install CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
DESTDIR=%{buildroot}/%{_prefix}
|
2004-09-24 14:14:15 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%preun
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2004-10-26 14:24:36 +00:00
|
|
|
%doc README
|
2004-09-24 14:14:15 +00:00
|
|
|
%attr(755,root,root) %{_prefix}/lib/libpfm.so.%{PACKAGE_VERSION}.0
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
2004-10-26 14:24:36 +00:00
|
|
|
%defattr(-,root,root)
|
2004-09-24 14:14:15 +00:00
|
|
|
%doc README
|
|
|
|
%doc examples/multiplex.c
|
|
|
|
%doc examples/ita2_irr.c
|
|
|
|
%doc examples/ita2_opcode.c
|
|
|
|
%doc examples/ita2_rr.c
|
|
|
|
%doc examples/ita_btb.c
|
|
|
|
%doc examples/ita_irr.c
|
|
|
|
%doc examples/ita_opcode.c
|
|
|
|
%doc examples/ita_rr.c
|
|
|
|
%doc examples/notify_self.c
|
|
|
|
%doc examples/notify_self2.c
|
|
|
|
%doc examples/notify_self3.c
|
|
|
|
%doc examples/self.c
|
|
|
|
%doc examples/showreset.c
|
|
|
|
%doc examples/syst.c
|
|
|
|
%doc examples/task.c
|
|
|
|
%doc examples/whichpmu.c
|
|
|
|
%doc examples/ita2_btb.c
|
|
|
|
%doc examples/ita2_dear.c
|
|
|
|
%doc examples/ita_dear.c
|
|
|
|
%doc examples/task_attach.c
|
|
|
|
%doc examples/task_attach_timeout.c
|
|
|
|
%doc examples/task_smpl.c
|
|
|
|
%attr(644,root,root) %{_prefix}/lib/libpfm.a
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/perfmon.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/perfmon_default_smpl.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_comp.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_comp_ia64.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_os.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_os_ia64.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_generic_ia64.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_itanium.h
|
|
|
|
%attr(644,root,root) %{_prefix}/include/perfmon/pfmlib_itanium2.h
|
|
|
|
%attr(644,root,root) %{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2006-02-07 12:42:48 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0-4.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:39 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-14 23:13:31 +00:00
|
|
|
* Mon Mar 14 2005 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Bump rebuild with gcc4.
|
|
|
|
|
2004-10-26 14:24:36 +00:00
|
|
|
* Tue Oct 26 2004 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Correct ownership of files.
|
|
|
|
|
2004-09-27 21:26:18 +00:00
|
|
|
* Mon Sep 27 2004 Will Cohen <wcohen@redhat.com>
|
|
|
|
- Correct spec file for build system.
|
|
|
|
|
2004-09-24 14:14:15 +00:00
|
|
|
* Mon Dec 1 2003 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- release 3.0 final version
|
|
|
|
* Thu Jan 02 2003 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- release final 2.0 version
|
|
|
|
* Fri Dec 20 2002 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- final 2.0 release
|
|
|
|
* Thu Dec 05 2002 Stephane Eranian <eranian@hpl.hp.com>
|
|
|
|
- initial release of the library as a standalone package
|
|
|
|
- see ChangeLog for actual log
|