]> git.pld-linux.org Git - packages/armadillo.git/blob - armadillo.spec
- updated to 6.600.4 (note: new soname)
[packages/armadillo.git] / armadillo.spec
1 Summary:        C++ linear algebra library
2 Summary(pl.UTF-8):      Biblioteka C++ do algebry liniowej
3 Name:           armadillo
4 Version:        6.600.4
5 Release:        1
6 License:        MPL v2.0
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/arma/%{name}-%{version}.tar.gz
9 # Source0-md5:  bdd3a34aa9a350a2add53329118cb415
10 URL:            http://arma.sourceforge.net/
11 BuildRequires:  SuperLU-devel >= 4
12 BuildRequires:  arpack-devel
13 BuildRequires:  blas-devel
14 BuildRequires:  cmake >= 2.8
15 BuildRequires:  hdf5-devel
16 BuildRequires:  lapack-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  pkgconfig
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Armadillo is a C++ linear algebra library (matrix maths) aiming
23 towards a good balance between speed and ease of use. The syntax is
24 deliberately similar to Matlab.
25
26 %description -l pl.UTF-8
27 Armadillo to biblioteka C++ do algebry liniowej (obliczeń na
28 macierzach), 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
32 Summary:        Header files for Armadillo library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Armadillo
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       SuperLU >= 4
37 Requires:       arpack-devel
38 Requires:       blas-devel
39 Requires:       hdf5-devel
40 Requires:       lapack-devel
41 Requires:       libstdc++-devel
42 Obsoletes:      armadillo-static
43
44 %description devel
45 Header files for Armadillo library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki Armadillo.
49
50 %package apidocs
51 Summary:        Armadillo API documentation
52 Summary(pl.UTF-8):      Dokumentacja API biblioteki Armadillo
53 Group:          Documentation
54
55 %description apidocs
56 API and internal documentation for Armadillo library.
57
58 %description apidocs -l pl.UTF-8
59 Dokumentacja API biblioteki Armadillo.
60
61 %prep
62 %setup -q
63
64 %build
65 %cmake . \
66         -DDETECT_HDF5=ON \
67         -DINSTALL_LIB_DIR=%{_libdir}
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc LICENSE.txt README.txt docs.html
86 %attr(755,root,root) %{_libdir}/libarmadillo.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libarmadillo.so.6
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
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.252296 seconds and 3 git commands to generate.