packages: eigen/eigen.spec - updated to 2.0.15 - shortened description (onl...
qboosh
qboosh at pld-linux.org
Sun Jan 23 21:10:45 CET 2011
Author: qboosh Date: Sun Jan 23 20:10:45 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 2.0.15
- shortened description (only most important information here), added pl translation
- use newer cmake macro
- updated License (GPL v2+ or LGPL v3+)
---- Files affected:
packages/eigen:
eigen.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/eigen/eigen.spec
diff -u packages/eigen/eigen.spec:1.12 packages/eigen/eigen.spec:1.13
--- packages/eigen/eigen.spec:1.12 Sat Feb 20 16:54:08 2010
+++ packages/eigen/eigen.spec Sun Jan 23 21:10:40 2011
@@ -1,52 +1,51 @@
# $Revision$, $Date$
-
-Summary: template library for linear algebra
+Summary: Template library for linear algebra
+Summary(pl.UTF-8): Biblioteka szablonów do algebry liniowej
Name: eigen
-Version: 2.0.12
-Release: 3
+Version: 2.0.15
+Release: 1
Epoch: 1
-License: GPL v2
+License: LGPL v3+ or GPL v2+
Group: Libraries
-Source0: http://bitbucket.org/eigen/eigen/get/2.0.tar.bz2
-# Source0-md5: a2f10e6b21a36f3c0ef73271209f706f
+Source0: http://bitbucket.org/eigen/eigen/get/%{version}.tar.bz2
+# Source0-md5: a96fe69d652d7b3b1d990c99bbc518fb
URL: http://eigen.tuxfamily.org/
BuildRequires: cmake >= 2.6.2
-Obsoletes: %{name}-devel
+BuildRequires: rpmbuild(macros) >= 1.577
+Obsoletes: eigen-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Eigen is a C++ template library for linear algebra: vectors, matrices,
-and related algorithms. It is:
+and related algorithms. It is versatile, fast, elegant and
+compiler-friendly.
-- Versatile. (See modules and tutorial). Eigen handles, without code
- duplication, and in a completely integrated way: o both fixed-size and
- dynamic-size matrices and vectors. o both dense and sparse (the latter
- is still experimental) matrices and vectors. o both plain
- matrices/vectors and abstract expressions. o both column-major (the
- default) and row-major matrix storage. o both basic matrix/vector
- manipulation and many more advanced, specialized modules providing
- algorithms for linear algebra, geometry, quaternions, or advanced
- array manipulation.
-- Fast. (See benchmark). o Expression templates allow to intelligently
- remove temporaries and enable lazy evaluation, when that is
- appropriate -- Eigen takes care of this automatically and handles
- aliasing too in most cases. o Explicit vectorization is performed for
- the SSE (2 and later) and AltiVec instruction sets, with graceful
- fallback to non-vectorized code. Expression templates allow to perform
- these optimizations globally for whole expressions. o With fixed-size
- objects, dynamic memory allocation is avoided, and the loops are
- unrolled when that makes sense. o For large matrices, special
- attention is paid to cache-friendliness.
-- Elegant. (See API showcase). The API is extremely clean and
- expressive, thanks to expression templates. Implementing an algorithm
- on top of Eigen feels like just copying pseudocode. You can use
- complex expressions and still rely on Eigen to produce optimized code:
- there is no need for you to manually decompose expressions into small
- steps.
-- Compiler-friendy. Eigen has very reasonable compilation times at
- least with GCC, compared to other C++ libraries based on expression
- templates and heavy metaprogramming. Eigen is also standard C++ and
- supports various compilers.
+Eigen handles, without code duplication and in a completely integrated
+way:
+ - both fixed-size and dynamic-size matrices and vectors
+ - both dense and sparse (the latter is still experimental) matrices
+ and vectors
+ - both plain matrices/vectors and abstract expressions
+ - both column-major (the default) and row-major matrix storage
+ - both basic matrix/vector manipulation and many more advanced,
+ specialized modules providing algorithms for linear algebra,
+ geometry, quaternions, or advanced array manipulation.
+
+%description -l pl.UTF-8
+Eigen to biblioteka szablonów C++ do algebry liniowej: wektorów,
+macierzy i związanych z nimi algorytmów. Jest elastyczna, szybka,
+elegancka i przyjazna dla kompilatorów.
+
+Obsługuje bez powielania kodu i w całkowicie zintegrowany sposób:
+ - macierze i wektory o stałym i dynamicznym rozmiarze
+ - macierze i wektory gęste i rzadkie (te drugie jeszcze
+ eksperymentalnie)
+ - zwykłe macierze/wektory jak i abstrakcyjne wyrażenia
+ - przechowywanie danych kolumnowe (domyślne) oraz wierszowe
+ - podstawowe operacje na macierzach/wektorach, jak i wiele
+ bardziej zaawansowanych, specjalizowanych modułów z algorytmami
+ algebry liniowej, geometrii, kwaternionów i zaawansowanych operacji
+ na tablicach.
%prep
%setup -q -n %{name}
@@ -54,11 +53,10 @@
%build
install -d build
cd build
-%cmake \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%cmake .. \
-DCMAKE_CXX_COMPILER_WORKS=1 \
- -DCMAKE_CXX_COMPILER="%{__cc}" \
- ../
+ -DCMAKE_CXX_COMPILER="%{__cc}"
+
%{__make}
%install
@@ -67,16 +65,13 @@
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_pkgconfigdir}
-cp build/eigen2.pc $RPM_BUILD_ROOT/%{_pkgconfigdir}
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%{_includedir}/eigen2
-%{_pkgconfigdir}/eigen2.pc
+%{_npkgconfigdir}/eigen2.pc
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -84,6 +79,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2011/01/23 20:10:40 qboosh
+- updated to 2.0.15
+- shortened description (only most important information here), added pl translation
+- use newer cmake macro
+- updated License (GPL v2+ or LGPL v3+)
+
Revision 1.12 2010/02/20 15:54:08 shadzik
- kill -devel subpackage, it's useless anyway
- rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/eigen/eigen.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list