--- parrot.spec 2009-01-06 09:06:53.000000000 +0100 +++ parrot.spec.new 2009-01-19 17:25:34.000000000 +0100 @@ -11,7 +11,6 @@ BuildRequires: ncurses-devel BuildRequires: gmp-devel BuildRequires: gdbm-devel -BuildRequires: /usr/bin/perldoc BuildRequires: bc BuildRequires: m4 BuildRequires: libicu-devel @@ -28,6 +27,12 @@ Requires: %{name} = %{version}-%{release} Requires: %{_libdir}/pkgconfig +%package doc +Summary: Parrot Virtual Machine languages +License: Artistic 2.0 +Group: Development/Libraries +BuildRequires: /usr/bin/perldoc + %description Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. Parrot is the target for Rakudo Perl 6, @@ -39,6 +44,10 @@ %description devel Parrot Virtual Machine development headers and libraries. +%description doc +Documentation in text-, POD-, and HTML-format (in the docs/html-subdirectory) +and also examples about the Parrot Virtual Machine + %prep %setup -q @@ -67,6 +76,7 @@ make make languages make perl6 +make html %install rm -rf $RPM_BUILD_ROOT @@ -107,9 +117,6 @@ %files %defattr(-,root,root,-) -%doc ChangeLog CREDITS NEWS PBC_COMPAT PLATFORMS README -%doc RESPONSIBLE_PARTIES TODO -%doc docs examples %exclude %{_bindir}/parrot_config %exclude %{_bindir}/perl6 %{_bindir}/* @@ -131,10 +138,13 @@ %{_libdir}/libparrot.a %{_libdir}/pkgconfig/* -%changelog -* Tue Dec 16 2008 Whiteknight 0.8.2 -- updated to 0.8.2 +%files doc +%defattr(-,root,root,-) +%doc ChangeLog CREDITS NEWS PBC_COMPAT PLATFORMS README +%doc RESPONSIBLE_PARTIES TODO +%doc docs examples +%changelog * Tue Nov 18 2008 chromatic 0.8.1 - updated to 0.8.1