eigen/eigen3.spec
2020-12-01 15:14:58 +08:00

52 lines
1.2 KiB
RPMSpec

%global debug_package %{nil}
Name: eigen3
Version: 3.3.8
Release: 1%{?dist}
Summary: A lightweight C++ template library for vector and matrix math
License: MPLv2.0 and LGPLv2+ and BSD
URL: http://eigen.tuxfamily.org/index.php?title=Main_Page
Source0: https://gitlab.com/libeigen/eigen/-/archive/%{version}/eigen-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: doxygen
%description
%{summary}.
%package devel
Summary: A lightweight C++ template library for vector and matrix math
BuildArch: noarch
# -devel subpkg only atm, compat with other distros
Provides: %{name} = %{version}-%{release}
# not *strictly* a -static pkg, but the results are the same
Provides: %{name}-static = %{version}-%{release}
%description devel
%{summary}.
%prep
%autosetup -p1 -n eigen-%{version}
%build
%install
install -p -d Eigen %{buildroot}/%{_includedir}/%{name}
%files
%license COPYING.README COPYING.BSD COPYING.MPL2 COPYING.LGPL
%{_includedir}/%{name}
%files devel
%license COPYING.README COPYING.BSD COPYING.MPL2 COPYING.LGPL
%{_includedir}/%{name}
%changelog
* Tue Dec 1 2020 hubble_zhu<hubble_zhu@qq.com> - 3.3.8-1
- package init