eigen2-vl.spec 1.8 KB

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