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: 42e18d93c2e89fa11bfa117e9811c52a
10 URL: http://arma.sourceforge.net/
11 BuildRequires: blas-devel
12 BuildRequires: boost-devel >= 1.34
13 BuildRequires: cmake >= 2.6
14 BuildRequires: lapack-devel
15 BuildRequires: libstdc++-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Armadillo is a C++ linear algebra library (matrix maths) aiming
20 towards a good balance between speed and ease of use. The syntax is
21 deliberately similar to Matlab.
23 %description -l pl.UTF-8
24 Armadillo to biblioteka C++ do algebry liniowej (obliczeń na
25 macierzach), której celem jest dobry kompromis między szybkością a
26 łatwością użycia. Składnia jest celowo podobna do Matlaba.
29 Summary: Header files for Armadillo library
30 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Armadillo
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
34 Requires: boost-devel >= 1.34
35 Requires: lapack-devel
36 Requires: libstdc++-devel
39 Header files for Armadillo library.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki Armadillo.
45 Summary: Static Armadillo library
46 Summary(pl.UTF-8): Statyczna biblioteka Armadillo
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static Armadillo library.
53 %description static -l pl.UTF-8
54 Statyczna biblioteka Armadillo.
57 Summary: Armadillo API documentation
58 Summary(pl.UTF-8): Dokumentacja API biblioteki Armadillo
62 API and internal documentation for Armadillo library.
64 %description apidocs -l pl.UTF-8
65 Dokumentacja API biblioteki Armadillo.
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %doc LICENSE.txt README.txt
90 %attr(755,root,root) %{_libdir}/libarmadillo.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libarmadillo.so.3
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libarmadillo.so
96 %{_includedir}/armadillo
97 %{_includedir}/armadillo_bits
98 %dir %{_datadir}/Armadillo
99 %{_datadir}/Armadillo/CMake