armadillo/armadillo.spec

85 lines
2.0 KiB
RPMSpec
Raw Normal View History

2020-03-10 16:17:35 +08:00
Name: armadillo
2023-09-21 09:39:31 +08:00
Version: 12.6.2
Release: 1
2020-03-10 16:17:35 +08:00
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
2021-06-01 15:01:44 +08:00
BuildRequires: cmake lapack-devel arpack-devel hdf5-devel openblas-devel SuperLU-devel gcc-g++
2020-03-10 16:17:35 +08:00
%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}
2021-03-26 10:43:59 +08:00
Requires: lapack-devel arpack-devel libstdc++-devel hdf5-devel openblas-devel SuperLU-devel
2020-03-10 16:17:35 +08:00
%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
2020-03-10 17:29:39 +08:00
rm -f examples/{Makefile.cmake,example1_win64.sln,example1_win64.vcxproj,example1_win64.README.txt}
2023-09-21 09:39:31 +08:00
rm -rf examples/example2_win64.*
2020-03-10 17:29:39 +08:00
rm -rf examples/lib_win64
2020-03-10 16:17:35 +08:00
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
2023-09-21 09:39:31 +08:00
%{_libdir}/*.so.*
2020-03-10 16:17:35 +08:00
%license LICENSE.txt NOTICE.txt
%files devel
2023-09-21 09:39:31 +08:00
%{_libdir}/*.so
2020-03-10 16:17:35 +08:00
%{_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
2023-09-21 09:39:31 +08:00
%doc armadillo_*.pdf
2020-03-10 16:17:35 +08:00
%changelog
2023-09-21 09:39:31 +08:00
* Thu Sep 21 2023 wulei <wu_lei@hoperun.com> - 12.6.2-1
- Update to 12.6.2
* Fri Jan 21 2022 SimpleUpdate Robot <tc@openeuler.org> - 10.7.4-1
- Upgrade to version 10.7.4
2021-06-01 15:01:44 +08:00
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 9.600.6-5
- Add gcc-g++ in BuildRequires
2021-03-26 10:43:59 +08:00
* Fri 26 Mar 2021 sunguoshuai <sunguoshuai@huawei.com> - 9.600.6-4
- Delete depends on atlas
2020-03-10 17:53:24 +08:00
* Thu Mar 5 2020 wangye <wangye54@huawei.com> - 9.600.6-3
- Update
2020-03-10 16:17:35 +08:00
* Thu Mar 5 2020 wangye <wangye54@huawei.com> - 9.600.6-2
2020-03-10 17:29:39 +08:00
- Package init