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