--- eigen2.spec 2009-02-17 15:18:06 +0200 +++ eigen2.spec.new 2009-02-24 14:48:05 +0200 @@ -1,4 +1,3 @@ - Name: eigen2 Version: 2.0 Release: alt2 @@ -20,6 +19,14 @@ Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra. +%package docs +Group: Documentation +Summary: Documentation for %name +Requires: %name = %version-%release + +%description docs +html documentation for %name + %prep %setup -q -n %name @@ -47,9 +54,11 @@ %make -C %_target_platform DESTDIR=%buildroot install %files -%doc %_target_platform/doc/html %_includedir/eigen2/ +%files docs +%doc %_target_platform/doc/html + %changelog * Tue Feb 17 2009 Sergey V Turchin 2.0-alt2 - package html docs