Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37558078
en ru br
ALT Linux repositórios
S:2.1.0-alt2.1
5.0: 2.1.0-alt0.M50.1

Group :: Ciências/Matemática
RPM: pete

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: pete
Version: 2.1.0
Release: alt2.1
Summary: Portable Expression Template Engine
License: ACL/LANL
Group: Sciences/Mathematics
Url: http://www.nongnu.org/freepooma/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: %name-%version.tar.gz

BuildPreReq: gcc-c++

%description
Welcome to PETE, the second public release of the Portable
Expression Template Engine. In 1995, Todd Veldhuizen and David
Vandevoorde developed the expression-template technique to
transform arithmetic expressions involving array-like containers into
efficient loops that rivaled hand-coded C in speed. Expression
templates are now at the heart of highly efficient scientific
container libraries including POOMA and Blitz++. Unfortunately, the
technique's perceived complexity and the belief that it is limited
to evaluating array expressions have deterred many potential
expression-template users. PETE is therefore designed to easily
add expression-template functionality to their container classes
and to simply perform complex expression manipulations.

%package -n lib%name-devel
Summary: Headers of Portable Expression Template Engine (PETE)
Group: Development/C++
Requires: %name = %version-%release

%description -n lib%name-devel
Headers of Portable Expression Template Engine (PETE).

%package -n lib%name-devel-doc
Summary: Documentation for Expression Template Engine (PETE)
Group: Development/Documentation
BuildArch: noarch

%description -n lib%name-devel-doc
Documentation for Expression Template Engine (PETE).

%prep
%setup
%ifarch %e2k
# error: identifier "joinWithComma" is undefined
sed -i '1i #include "Join.h"' src/Tools/PrintOperators.h
%endif

%build
export PETEARCH=LINUXEGCS
%make_build

%install
export PETEDIR=%buildroot
export PETEARCH=LINUXEGCS
%make install

install -d %buildroot%_bindir
install -d %buildroot%_includedir/%name
install -d %buildroot%_docdir/%name

mv %buildroot/linux/bin/* %buildroot%_bindir/
mv %buildroot/src/PETE/* %buildroot%_includedir/%name/
mv %buildroot/html/* %buildroot%_docdir/%name/

%files
%doc CREDITS LICENSE README
%_bindir/*

%files -n lib%name-devel
%_includedir/*

%files -n lib%name-devel-doc
%_docdir/%name

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009