libpfm/libpfm.spec

143 lines
4.0 KiB
RPMSpec
Raw Normal View History

2006-10-02 05:43:49 +00:00
%define DATE 060926
%define libpfm_release 2
Summary: a performance monitoring library for Linux/ia64
Name: libpfm
2006-05-05 02:27:43 +00:00
Version: 3.2
Release: 0.%{DATE}.%{libpfm_release}
License: MIT-style
Group: Development/Libraries
2006-05-05 02:27:43 +00:00
ExclusiveArch: ia64 %{ix86} x86_64
ExclusiveOS: linux
AutoReqProv: no
2006-05-05 02:27:43 +00:00
Source: http://prdownloads.sourceforge.net/perfmon2/%{name}-%{version}-%{DATE}.tar.gz
Patch1: libpfm-compat.patch
Patch2: libpfm-3.2-showreginfo.patch
Patch3: libpfm-3.2-rpm_opt.patch
2006-10-02 05:43:49 +00:00
Patch4: libpfm-3.2-man3.patch
2006-06-27 16:26:29 +00:00
BuildPreReq: ncurses-devel
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This package contains a library to develop performance monitoring
applications using the Performance Monitor Unit (PMU) available on
various processors.
%package devel
Summary: the Linux performance library (libpfm) development files.
Group: Development/Libraries
%description devel
The performance monitoring library (libpfm) is used to develop
performance monitoring applications using the Performance Monitoring
Unit (PMU) available on various processors. This package provides the
files necessary for development of applications.
It requires a kernel perfmon-2.x subsystem.
Requires: ncurses
%prep
2006-05-05 02:27:43 +00:00
%setup -q -n %{name}-%{version}-%{DATE}
#%patch1 -p1 -b .compat
2006-10-02 05:43:49 +00:00
#%patch2 -p1 -b .showreginfo
%patch3 -p1 -b .rpm_opt
2006-10-02 05:43:49 +00:00
%patch4 -p1 -b .man3
%build
2006-10-02 05:43:49 +00:00
make PREFIX=/usr DESTDIR=%{buildroot} LIBDIR=%{_libdir}
%install
rm -rf %{buildroot}
2006-10-02 05:43:49 +00:00
mkdir -p %{buildroot}
make install PREFIX=/usr DESTDIR=%{buildroot} LIBDIR=%{_libdir}
2006-02-09 15:08:17 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
2004-10-26 14:24:36 +00:00
%doc README
%attr(755,root,root) %{_libdir}/libpfm.so.%{PACKAGE_VERSION}.0
%files devel
2004-10-26 14:24:36 +00:00
%defattr(-,root,root)
%doc README
%doc %{_mandir}/man3/*
%{_libdir}/libpfm.a
2006-05-05 02:27:43 +00:00
%{_prefix}/include/*
%changelog
* Sun Oct 1 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060926.2
- Eliminate unneeded libpfm-compat.patch.
2006-10-02 05:43:49 +00:00
* Sun Oct 1 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060926.1
- Update to libpfm-3.2-060926.
2006-09-19 19:51:28 +00:00
* Tue Sep 19 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060621.10
- Make sure fix works on i386. (#205221)
* Tue Sep 19 2006 Will Cohen <wcohen@redhat.com> - 3.2-0.060621.9
- Make sure libraries put in correct directory. (#205221)
2006-07-12 06:55:18 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2-0.060621.8.1
- rebuild
* Sat Jul 8 2006 Will Cohen <wcohen@redhat.com>
- Avoid pulling in the example ELF executable into /usr/share. (#198001)
- Mark man pages as documentation.
2006-06-27 16:26:29 +00:00
* Tue Jun 27 2006 Will Cohen <wcohen@redhat.com>
- Add ncurses requires.
2006-06-27 16:26:29 +00:00
- Add ncurses-devel buildprereq.
* Mon Jun 26 2006 Will Cohen <wcohen@redhat.com>
- Make sure that CFLAGS in pfmlib/lib/ is used.
- Separate build and install processes.
- Clean up the descriptions.
2006-06-26 21:09:46 +00:00
* Mon Jun 26 2006 Will Cohen <wcohen@redhat.com>
- Update to libpfm-3.2-060621.
2006-06-14 14:08:10 +00:00
* Wed Jun 14 2006 Will Cohen <wcohen@redhat.com>
- Update to libpfm-3.2-060613.
* Fri May 05 2006 Will Cohen <wcohen@redhat.com>
- fno-strict-aliasing so ia64 builds.
* Fri May 05 2006 Will Cohen <wcohen@redhat.com>
- make sure that perfmon_compat.h installed for ia64.
2006-05-05 02:27:43 +00:00
* Thu May 04 2006 Will Cohen <wcohen@redhat.com>
- Update to libpfm-3.2-060421.
2006-02-09 15:08:17 +00:00
* Thu Feb 09 2006 Florian La Roche <laroche@redhat.com>
- remove empty scripts
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.
* 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