1 Star 0 Fork 12

baizg1107/armadillo

forked from src-openEuler/armadillo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
armadillo.spec 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
baizg1107 提交于 2021-06-01 15:01 . add build requires
Name: armadillo
Version: 9.600.6
Release: 5
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 gcc-g++
%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
%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}
rm -rf examples/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
* Mon May 31 2021 baizhonggui <[email protected]> - 9.600.6-5
- Add gcc-g++ in BuildRequires
* Fri 26 Mar 2021 sunguoshuai <[email protected]> - 9.600.6-4
- Delete depends on atlas
* Thu Mar 5 2020 wangye <[email protected]> - 9.600.6-3
- Update
* Thu Mar 5 2020 wangye <[email protected]> - 9.600.6-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bzg1107/armadillo.git
[email protected]:bzg1107/armadillo.git
bzg1107
armadillo
armadillo
master

搜索帮助