Accepting request 511190 from home:cfeck:branches:science

Split documentation into its own package. The docs are over 50 MB big, while the headers only amount to about 6.5 MB

OBS-URL: https://build.opensuse.org/request/show/511190
OBS-URL: https://build.opensuse.org/package/show/science/eigen3?expand=0&rev=10
This commit is contained in:
Ismail Dönmez 2017-07-18 12:42:00 +00:00 committed by Git OBS Bridge
parent c24a4327d4
commit fe29c0a9aa

View File

@ -77,6 +77,14 @@ Obsoletes: libeigen3-devel < %{version}
Eigen is a C++ template library for linear algebra: matrices, vectors,
numerical solvers, and related algorithms.
%package doc
Summary: C++ Template Library for Linear Algebra - Documentation
Group: Development/Libraries/C and C++
%description doc
Documentation in HTML format for the Eigen3 C++ Template Library
for Linear Algebra
%prep
%setup -q -n eigen-eigen-5a0156e40feb
%patch0 -p1
@ -103,10 +111,14 @@ make %{?_smp_mflags} all doc
%files devel
%defattr(-,root,root,-)
%doc build/doc/html/ COPYING.*
%doc COPYING.*
%{_includedir}/eigen3/
%{_datadir}/eigen3/
%{_datadir}/pkgconfig/eigen3.pc
%{_datadir}/cmake/Modules/FindEigen3.cmake
%files doc
%defattr(-,root,root,-)
%doc build/doc/html/
%changelog