eigen2-vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. %define _with_check -DEIGEN_BUILD_TESTS:BOOL=ON
  2. Name: eigen2
  3. Summary: A lightweight C++ template library for vector and matrix math
  4. Version: 2.0.15
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2+ or LGPLv3+
  8. URL: http://eigen.tuxfamily.org/
  9. Source0: http://bitbucket.org/eigen/eigen2/get/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: cmake
  13. BuildRequires: pkgconfig
  14. #docs
  15. BuildRequires: doxygen graphviz
  16. %description
  17. %{summary}
  18. %package devel
  19. Summary: A lightweight C++ template library for vector and matrix math
  20. Group: Development/Libraries
  21. # -devel subpkg only atm, compat with other distros
  22. Provides: %{name} = %{version}-%{release}
  23. %description devel
  24. %{summary}
  25. %prep
  26. %setup -q -n eigen
  27. %build
  28. mkdir -p %{_target_platform}
  29. pushd %{_target_platform}
  30. %cmake ..
  31. popd
  32. make %{?_smp_mflags} -C %{_target_platform}
  33. # docs
  34. doxygen
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  38. %clean
  39. rm -rf %{buildroot}
  40. %files devel
  41. %defattr(-,root,root,-)
  42. %doc COPYING COPYING.LESSER
  43. %doc html/
  44. %{_includedir}/eigen2
  45. %{_datadir}/pkgconfig/eigen2.pc
  46. %changelog
  47. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.15-1
  48. - new upstream release
  49. - built with rpm-4.8.1 for pkg-config
  50. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.9-1
  51. - new upstream release
  52. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.6-1
  53. - new upstream release
  54. * Sat Sep 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.5-1
  55. - Initial build for Vine Linux