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