Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37762067
en ru br
Репозитории ALT
S:6.0.0-alt7.1
5.1: 3.6.2-alt5
www.altlinux.org/Changes

Группа :: Development/Tools
Пакет: papi

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: papi
License: BSD-like
Group: Development/Tools
Summary: Performance Application Programming Interface
Version: 3.6.2
Release: alt5
Url: http://icl.cs.utk.edu/papi/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: http://icl.cs.utk.edu/projects/papi/downloads/papi-3.6.2.tar.gz

Requires: perfctr lib%name = %version-%release

BuildRequires(pre): rpm-build-compat
BuildPreReq: libperfctr-devel-static

%description
PAPI aims to provide the tool designer and application engineer with a
consistent interface and methodology for use of the performance counter hardware
found in most major microprocessors. PAPI enables software engineers to see, in
near real time, the relation between software performance and processor events.

%package -n lib%name
Summary: Shared libraries of PAPI (Performance Application Programming Interface)
Group: System/Libraries
Requires: libperfctr

%description -n lib%name
PAPI aims to provide the tool designer and application engineer with a
consistent interface and methodology for use of the performance counter hardware
found in most major microprocessors. PAPI enables software engineers to see, in
near real time, the relation between software performance and processor events.

This package contains shared libraries of PAPI.

%package -n lib%name-devel
Summary: Development files of Performance Application Programming Interface
Group: Development/C
Requires: libperfctr-devel %name = %version-%release
Requires: lib%name = %version-%release

%description -n lib%name-devel
PAPI aims to provide the tool designer and application engineer with a
consistent interface and methodology for use of the performance counter hardware
found in most major microprocessors. PAPI enables software engineers to see, in
near real time, the relation between software performance and processor events.

This package contains development files of PAPI.

%package -n lib%name-devel-static
Summary: Static libraries of Performance Application Programming Interface
Group: Development/C
Requires: libperfctr-devel-static lib%name-devel = %version-%release

%description -n lib%name-devel-static
PAPI aims to provide the tool designer and application engineer with a
consistent interface and methodology for use of the performance counter hardware
found in most major microprocessors. PAPI enables software engineers to see, in
near real time, the relation between software performance and processor events.

This package contains static libraries of PAPI.

%package doc
Summary: Documentation for Performance Application Programming Interface
Group: Documentation
BuildArch: noarch

%description doc
PAPI aims to provide the tool designer and application engineer with a
consistent interface and methodology for use of the performance counter hardware
found in most major microprocessors. PAPI enables software engineers to see, in
near real time, the relation between software performance and processor events.

This package contains documentation for PAPI.

%prep
%setup

%build
cd src
sed -i -e 's/\-Werror//g' libpfm-3.?/config.mk
%add_optflags %optflags_shared
%autoreconf
%configure --with-ffsll \
--with-makefile=linux-perfctr-core
%make_build

%install
cd src
%make_install_std

rm -f %buildroot%_bindir/perfex %buildroot%_includedir/*perfctr* \
%buildroot%_libdir/libperfctr.*

ln -s libpapi.so %buildroot%_libdir/libpapi64.so
ln -s libpfm.so %buildroot%_libdir/libpfm64.so
ln -s libpapi.a %buildroot%_libdir/libpapi64.a
ln -s libpfm.a %buildroot%_libdir/libpfm64.a

%files
%_bindir/*
%_man1dir/*
%_datadir/%name

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/*
%exclude %_includedir/asm
%exclude %_includedir/linux
%_man3dir/*

%files -n lib%name-devel-static
%_libdir/*.a

%files doc
%_docdir/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin