123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- %define _with_check -DEIGEN_BUILD_TESTS:BOOL=ON
- Name: eigen2
- Summary: A lightweight C++ template library for vector and matrix math
- Version: 2.0.9
- Release: 1%{?_dist_release}
- Group: System Environment/Libraries
- License: GPLv2+ or LGPLv3+
- URL: http://eigen.tuxfamily.org/
- Source0: http://bitbucket.org/eigen/eigen2/get/%{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: cmake
- BuildRequires: pkgconfig
- #docs
- BuildRequires: doxygen graphviz
- %description
- %{summary}
- %package devel
- Summary: A lightweight C++ template library for vector and matrix math
- Group: Development/Libraries
- # -devel subpkg only atm, compat with other distros
- Provides: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- %{summary}
- %prep
- %setup -q -n eigen2
- #patch50 -p1 -b .pkgconfig_noarch
- %build
- mkdir -p %{_target_platform}
- pushd %{_target_platform}
- %cmake ..
- popd
- make %{?_smp_mflags} -C %{_target_platform}
- # docs
- doxygen
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
- # changed eigen2.pc location
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
- mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/eigen2.pc \
- $RPM_BUILD_ROOT%{_datadir}/pkgconfig/eigen2.pc
- %clean
- rm -rf %{buildroot}
- %files devel
- %defattr(-,root,root,-)
- %doc COPYING COPYING.LESSER
- %doc html/
- %{_includedir}/eigen2
- %{_datadir}/pkgconfig/eigen2.pc
- %changelog
- * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.9-1
- - new upstream release
- * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.6-1
- - new upstream release
- * Sat Sep 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.5-1
- - Initial build for Vine Linux
|