commit
6ef1aa3f7f
BIN
armadillo-9.600.6.tar.xz
Normal file
BIN
armadillo-9.600.6.tar.xz
Normal file
Binary file not shown.
68
armadillo.spec
Normal file
68
armadillo.spec
Normal file
@ -0,0 +1,68 @@
|
||||
Name: armadillo
|
||||
Version: 9.600.6
|
||||
Release: 2
|
||||
Summary: Fast C++ matrix library with syntax similar to MATLAB and Octave
|
||||
License: ASL 2.0
|
||||
URL: http://arma.sourceforge.net/
|
||||
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: cmake lapack-devel arpack-devel hdf5-devel openblas-devel SuperLU-devel atlas-devel
|
||||
|
||||
|
||||
%description
|
||||
Armadillo is a C ++ linear algebra library and is an important choice.
|
||||
|
||||
%package devel
|
||||
Summary: Development headers and documentation for the Armadillo C++ library
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: lapack-devel arpack-devel libstdc++-devel hdf5-devel openblas-devel SuperLU-devel atlas-devel
|
||||
|
||||
%description devel
|
||||
This package contains header files.
|
||||
|
||||
%package help
|
||||
Summary: some doc for armadillo
|
||||
|
||||
%description help
|
||||
This help package contain some docs.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
sed -i 's/\r//' README.md
|
||||
|
||||
%build
|
||||
%{cmake}
|
||||
%make_build VERBOSE=1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
rm -f examples/{Makefile.cmake,example1_win64.sln,example1_win64.vcxproj,example1_win64.README.txt,lib_win64}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_libdir}/libarmadillo.so.9*
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libarmadillo.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_includedir}/armadillo
|
||||
%{_includedir}/armadillo_bits/
|
||||
%{_datadir}/Armadillo/
|
||||
|
||||
%files help
|
||||
%doc README.md index.html docs.html mex_interface
|
||||
%doc examples armadillo_icon.png
|
||||
%doc armadillo_nicta_2010.pdf rcpp_armadillo_csda_2014.pdf
|
||||
%doc armadillo_joss_2016.pdf armadillo_mca_2019.pdf
|
||||
|
||||
%changelog
|
||||
* Thu Mar 5 2020 wangye <wangye54@huawei.com> - 9.600.6-2
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user