]> git.pld-linux.org Git - packages/armadillo.git/blame - armadillo.spec
- updated to 3.920.2
[packages/armadillo.git] / armadillo.spec
CommitLineData
259f20ab
JB
1Summary: C++ linear algebra library
2Summary(pl.UTF-8): Biblioteka C++ do algebry liniowej
3Name: armadillo
015bf1b5 4Version: 3.920.2
259f20ab 5Release: 1
32b3b541 6License: MPL v2.0
259f20ab
JB
7Group: Libraries
8Source0: http://downloads.sourceforge.net/arma/%{name}-%{version}.tar.gz
015bf1b5 9# Source0-md5: 3d0396513e2802c08152f50e18b4a1cd
259f20ab
JB
10URL: http://arma.sourceforge.net/
11BuildRequires: blas-devel
12BuildRequires: boost-devel >= 1.34
13BuildRequires: cmake >= 2.6
14BuildRequires: lapack-devel
15BuildRequires: libstdc++-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Armadillo is a C++ linear algebra library (matrix maths) aiming
20towards a good balance between speed and ease of use. The syntax is
21deliberately similar to Matlab.
22
23%description -l pl.UTF-8
24Armadillo to biblioteka C++ do algebry liniowej (obliczeń na
25macierzach), 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
29Summary: Header files for Armadillo library
30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Armadillo
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: blas-devel
34Requires: boost-devel >= 1.34
35Requires: lapack-devel
36Requires: libstdc++-devel
37
38%description devel
39Header files for Armadillo library.
40
41%description devel -l pl.UTF-8
42Pliki nagłówkowe biblioteki Armadillo.
43
44%package static
45Summary: Static Armadillo library
46Summary(pl.UTF-8): Statyczna biblioteka Armadillo
47Group: Development/Libraries
48Requires: %{name}-devel = %{version}-%{release}
49
50%description static
51Static Armadillo library.
52
53%description static -l pl.UTF-8
54Statyczna biblioteka Armadillo.
55
56%package apidocs
57Summary: Armadillo API documentation
58Summary(pl.UTF-8): Dokumentacja API biblioteki Armadillo
59Group: Documentation
60
61%description apidocs
62API and internal documentation for Armadillo library.
63
64%description apidocs -l pl.UTF-8
65Dokumentacja API biblioteki Armadillo.
66
67%prep
68%setup -q
69
70%build
71%cmake .
72
73%{__make}
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
80
81%clean
82rm -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.08436 seconds and 4 git commands to generate.