]> git.pld-linux.org Git - packages/armadillo.git/blob - armadillo.spec
- updated to 3.920.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:        3.920.2
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:  3d0396513e2802c08152f50e18b4a1cd
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)
17
18 %description
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.
22
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.
27
28 %package devel
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}
33 Requires:       blas-devel
34 Requires:       boost-devel >= 1.34
35 Requires:       lapack-devel
36 Requires:       libstdc++-devel
37
38 %description devel
39 Header files for Armadillo library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki Armadillo.
43
44 %package static
45 Summary:        Static Armadillo library
46 Summary(pl.UTF-8):      Statyczna biblioteka Armadillo
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static Armadillo library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka Armadillo.
55
56 %package apidocs
57 Summary:        Armadillo API documentation
58 Summary(pl.UTF-8):      Dokumentacja API biblioteki Armadillo
59 Group:          Documentation
60
61 %description apidocs
62 API and internal documentation for Armadillo library.
63
64 %description apidocs -l pl.UTF-8
65 Dokumentacja API biblioteki Armadillo.
66
67 %prep
68 %setup -q
69
70 %build
71 %cmake .
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
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
92
93 %files devel
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
This page took 0.055644 seconds and 3 git commands to generate.