* Removed a debug line that was mistakenly left. With it "psrun" always printed the following when starting a program, Event: '<event_name>', component index: <papi_comp_index>. such as: "Event: 'PAPI_BR_CN', component index: 0." For a complete description of all changes sincew 1.0.4a see the file CHANGES in the package documentation. - Add CHANGES, LICENSE and AUTHORS to the package documentation - Add perfsuite-no_implicit_decls.patch to fix strcmp being declared implicitly. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/perfsuite?expand=0&rev=4
129 lines
4.0 KiB
RPMSpec
129 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package perfsuite (Version 1.0.0a4)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perfsuite
|
|
Version: 1.1.4
|
|
Release: 0
|
|
License: Other uncritical OpenSource License
|
|
Summary: Collection of tools for software performance analysis
|
|
Url: http://perfsuite.ncsa.uiuc.edu
|
|
Group: Development/Libraries/C and C++
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Source1: %{name}-rpmlintrc
|
|
Patch0: perfsuite-autconfiscate.patch
|
|
Patch1: perfsuite-no_implicit_decls.patch
|
|
BuildRequires: binutils-devel
|
|
BuildRequires: gcc-fortran
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: papi-devel
|
|
BuildRequires: tcl-devel
|
|
BuildRequires: tdom
|
|
BuildRequires: tk-devel
|
|
BuildRequires: autoconf automake libtool
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
PerfSuite is a collection of tools, utilities, and libraries for software
|
|
performance analysis where the primary design goals are ease of use,
|
|
comprehensibility, interoperability, and simplicity. This software can
|
|
provide a good "entry point" for more detailed performance analysis and
|
|
can help point the way towards selecting other tools and/or techniques
|
|
using more specialized software if necessary (for example, tools/libraries
|
|
from academic research groups or third-party commercial software).
|
|
|
|
%package devel
|
|
Summary: Software Development Kit for perfsuite
|
|
Group: Development/Libraries/C and C++
|
|
Requires: perfsuite = %{version}
|
|
|
|
%description devel
|
|
This package includes the C header files that specify the perfsuite userspace
|
|
libraries and interfaces. This is required for rebuilding any program
|
|
that uses perfsuite.
|
|
|
|
%package -n libperfsuite
|
|
Summary: User callbacks for library, process and threads
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description -n libperfsuite
|
|
PerfSuite is a collection of tools, utilities, and libraries for software
|
|
performance analysis where the primary design goals are ease of use,
|
|
comprehensibility, interoperability, and simplicity. This software can
|
|
provide a good "entry point" for more detailed performance analysis and
|
|
can help point the way towards selecting other tools and/or techniques
|
|
using more specialized software if necessary (for example, tools/libraries
|
|
from academic research groups or third-party commercial software).
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0
|
|
%patch1
|
|
|
|
%build
|
|
autoreconf -fi
|
|
LIBBFD_VERSION=`ls %{_libdir}/libbfd*.so | sed -n -e 's|.*-\(.*\)-\(.*\).so$|\1-\2|p'`
|
|
%configure --with-libbfd=bfd-${LIBBFD_VERSION} --with-papi=%{_prefix}
|
|
make %{?_smp_mflags} -I%{_includedir}
|
|
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} DOCDIR=%{_defaultdocdir}/%{name} install
|
|
find %{buildroot}%{_libdir} -type f -name \*.la -print0 | xargs -r0 rm -v
|
|
find %{buildroot}%{_libdir} -type f -name \*.a -print0 | xargs -r0 rm -v
|
|
|
|
|
|
%post -n libperfsuite -p /sbin/ldconfig
|
|
|
|
|
|
%postun -n libperfsuite -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/cxxfilt
|
|
%dir %{_libdir}/papi
|
|
%doc CHANGES LICENSE AUTHORS
|
|
%{_mandir}/man1/*
|
|
%{_datadir}/%{name}
|
|
%{_bindir}/psconfig
|
|
%{_bindir}/psenv.csh
|
|
%{_bindir}/psenv.sh
|
|
%{_bindir}/psinv
|
|
%{_bindir}/psprocess
|
|
%{_bindir}/psrun
|
|
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*.h
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/p*/lib*.so
|
|
%{_libdir}/cxxfilt/*.so
|
|
|
|
|
|
%files -n libperfsuite
|
|
%defattr(-,root,root)
|
|
%{_libdir}/psmd50.1
|
|
%{_libdir}/psbfd0.3
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/p*/lib*.so.*
|
|
%{_libdir}/cxxfilt/*.so.*
|
|
|
|
|
|
%changelog
|