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