%define branch 0 %{?_branch: %{expand: %%global branch 1}} %define revision 674845 %define unstable 1 %{?_unstable: %{expand: %%global unstable 1}} %if %{unstable} %define dont_strip 1 %endif Name: eigen Summary: Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra Version: 1.0.5 Release: %mkrel 1 Group: System/Libraries License: LGPL URL: http://eigen.tuxfamily.org/ Source: http://download.tuxfamily.org/eigen/eigen-1.0.5.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: cmake >= 2.4.5 BuildRequires: redland-devel BuildRequires: qt4-devel %description Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra. %files %defattr(-,root,root) %dir %_includedir/eigen/ %_includedir/eigen/* #--------------------------------------------------------------------------------- %prep %setup -q -n %name %build %cmake \ %if %unstable -DCMAKE_BUILD_TYPE=debug %endif %make %install rm -rf %buildroot cd build && make DESTDIR=%buildroot install %clean rm -rf %buildroot %changelog * Fri Jul 06 2007 Helio Chissini de Castro <helio@mandriva.com> 1.0.5-1mdv2008.0 + Revision: 48943 - import eigen-1.0.5-1mdv2008.0