]> git.pld-linux.org Git - packages/armadillo.git/blame - armadillo.spec
- updated to 6.600.4 (note: new soname)
[packages/armadillo.git] / armadillo.spec
CommitLineData
259f20ab
JB
1Summary: C++ linear algebra library
2Summary(pl.UTF-8): Biblioteka C++ do algebry liniowej
3Name: armadillo
eb074bf7 4Version: 6.600.4
9001a4bd 5Release: 1
32b3b541 6License: MPL v2.0
259f20ab
JB
7Group: Libraries
8Source0: http://downloads.sourceforge.net/arma/%{name}-%{version}.tar.gz
eb074bf7 9# Source0-md5: bdd3a34aa9a350a2add53329118cb415
259f20ab 10URL: http://arma.sourceforge.net/
9001a4bd 11BuildRequires: SuperLU-devel >= 4
795d738e 12BuildRequires: arpack-devel
259f20ab 13BuildRequires: blas-devel
795d738e
JB
14BuildRequires: cmake >= 2.8
15BuildRequires: hdf5-devel
259f20ab
JB
16BuildRequires: lapack-devel
17BuildRequires: libstdc++-devel
eb074bf7 18BuildRequires: pkgconfig
259f20ab
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Armadillo is a C++ linear algebra library (matrix maths) aiming
23towards a good balance between speed and ease of use. The syntax is
24deliberately similar to Matlab.
25
26%description -l pl.UTF-8
27Armadillo to biblioteka C++ do algebry liniowej (obliczeń na
28macierzach), której celem jest dobry kompromis między szybkością a
29łatwością użycia. Składnia jest celowo podobna do Matlaba.
30
31%package devel
32Summary: Header files for Armadillo library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Armadillo
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
9001a4bd 36Requires: SuperLU >= 4
795d738e 37Requires: arpack-devel
259f20ab 38Requires: blas-devel
795d738e 39Requires: hdf5-devel
259f20ab
JB
40Requires: lapack-devel
41Requires: libstdc++-devel
eb074bf7 42Obsoletes: armadillo-static
259f20ab
JB
43
44%description devel
45Header files for Armadillo library.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe biblioteki Armadillo.
49
259f20ab
JB
50%package apidocs
51Summary: Armadillo API documentation
52Summary(pl.UTF-8): Dokumentacja API biblioteki Armadillo
53Group: Documentation
54
55%description apidocs
56API and internal documentation for Armadillo library.
57
58%description apidocs -l pl.UTF-8
59Dokumentacja API biblioteki Armadillo.
60
61%prep
62%setup -q
63
64%build
1d517c7d 65%cmake . \
eb074bf7 66 -DDETECT_HDF5=ON \
1d517c7d 67 -DINSTALL_LIB_DIR=%{_libdir}
259f20ab
JB
68
69%{__make}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
83%files
84%defattr(644,root,root,755)
eb074bf7 85%doc LICENSE.txt README.txt docs.html
259f20ab 86%attr(755,root,root) %{_libdir}/libarmadillo.so.*.*.*
eb074bf7 87%attr(755,root,root) %ghost %{_libdir}/libarmadillo.so.6
259f20ab
JB
88
89%files devel
90%defattr(644,root,root,755)
91%attr(755,root,root) %{_libdir}/libarmadillo.so
92%{_includedir}/armadillo
93%{_includedir}/armadillo_bits
94%dir %{_datadir}/Armadillo
95%{_datadir}/Armadillo/CMake
eb074bf7
JB
96
97%files apidocs
98%defattr(644,root,root,755)
99%doc docs.html armadillo_icon.png armadillo_nicta_2010.pdf rcpp_armadillo_csda_2014.pdf
This page took 0.099146 seconds and 4 git commands to generate.