1 Summary: C++ linear algebra library
2 Summary(pl.UTF-8): Biblioteka C++ do algebry liniowej
8 Source0: http://downloads.sourceforge.net/arma/%{name}-%{version}.tar.gz
9 # Source0-md5: 16c8bf27e989b2eaf6e4096a4c056269
10 URL: http://arma.sourceforge.net/
11 BuildRequires: arpack-devel
12 BuildRequires: blas-devel
13 BuildRequires: boost-devel >= 1.34
14 BuildRequires: cmake >= 2.8
15 BuildRequires: hdf5-devel
16 BuildRequires: lapack-devel
17 BuildRequires: libstdc++-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Armadillo is a C++ linear algebra library (matrix maths) aiming
22 towards a good balance between speed and ease of use. The syntax is
23 deliberately similar to Matlab.
25 %description -l pl.UTF-8
26 Armadillo to biblioteka C++ do algebry liniowej (obliczeń na
27 macierzach), której celem jest dobry kompromis między szybkością a
28 łatwością użycia. Składnia jest celowo podobna do Matlaba.
31 Summary: Header files for Armadillo library
32 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Armadillo
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: arpack-devel
37 Requires: boost-devel >= 1.34
39 Requires: lapack-devel
40 Requires: libstdc++-devel
43 Header files for Armadillo library.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe biblioteki Armadillo.
49 Summary: Static Armadillo library
50 Summary(pl.UTF-8): Statyczna biblioteka Armadillo
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static Armadillo library.
57 %description static -l pl.UTF-8
58 Statyczna biblioteka Armadillo.
61 Summary: Armadillo API documentation
62 Summary(pl.UTF-8): Dokumentacja API biblioteki Armadillo
66 API and internal documentation for Armadillo library.
68 %description apidocs -l pl.UTF-8
69 Dokumentacja API biblioteki Armadillo.
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc LICENSE.txt README.txt
94 %attr(755,root,root) %{_libdir}/libarmadillo.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libarmadillo.so.4
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libarmadillo.so
100 %{_includedir}/armadillo
101 %{_includedir}/armadillo_bits
102 %dir %{_datadir}/Armadillo
103 %{_datadir}/Armadillo/CMake