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