source: projects/specs/branches/6/e/eigen2/eigen2-vl.spec @ 6197

Revision 6197, 1.7 KB checked in by inagaki, 12 years ago (diff)

update: eigen2, fastjar, icu

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