[meego-commits] 9589: New package Trunk/libeigen2
Peter Zhu
no_reply at build.meego.com
Fri Nov 19 08:11:32 UTC 2010
Hi,
Adding new package libeigen2 in project Trunk. Please review and accept ASAP.
Justification for this new package:
Move to Trunk
Thank You,
Peter Zhu
[This message was auto-generated]
---
Request #9589:
submit: Trunk:Testing/libeigen2(r1) -> Trunk/libeigen2
Message:
Move to Trunk
State: new 2010-11-19T00:11:31 peter
Comment: None
This is a NEW package in Trunk project.
The files in the new package:
libeigen2/
|__ eigen-2.0.15.tar.bz2
|__ libeigen2.changes
|__ libeigen2.spec
The content of the spec file, libeigen2.spec:
===================================================================
#define _with_check -DEIGEN_BUILD_TESTS=ON -DEIGEN_TEST_NO_FORTRAN=ON -DEIGEN_TEST_NOQT=ON
Name: libeigen2
License: GPL v2 or later; LGPL v3 or later
Group: Development/Libraries
Summary: Lightweight linear algebra C++ template library
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Url: http://eigen.tuxfamily.org/
Version: 2.0.15
Release: 8.2
Source: eigen-%{version}.tar.bz2
BuildRequires: fdupes, cmake
BuildRequires: doxygen, graphviz
BuildRequires: tex(latex)
BuildArch: noarch
%description
Eigen is a lightweight C++ template library for vector and matrix math,
a.k.a. linear algebra.
%package devel
Summary: Lightweight linear algebra C++ template library
Group: Development/Libraries
%description devel
Eigen is a lightweight C++ template library for vector and matrix math,
a.k.a. linear algebra.
%files devel
%defattr(-,root,root)
%{_includedir}/eigen2/*
%{_datadir}/pkgconfig/*
%package doc
Summary: Documentation for %{name}
Group: Documentation
%description doc
%{summary}.
%files doc
%defattr(-,root,root)
%doc COPYING COPYING.LESSER
%{_docdir}/eigen2
%prep
%setup -q -n eigen
%build
cmake -DCMAKE_INSTALL_PREFIX=/usr %{?_with_check}
make %{?_smp_mflags}
make doc
%install
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/%{_docdir}/eigen2
cp -R doc/html %{buildroot}/%{_docdir}/eigen2
%fdupes %{buildroot}/%{_includedir}
%fdupes %{buildroot}/%{_docdir}
%check
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig
test "$(pkg-config --modversion eigen2)" = "%{version}"
%if 0%{?_with_check:1}
( cd test; ctest )
%endif
===================================================================
More information about the MeeGo-commits
mailing list