diff --git a/cairomm.spec b/cairomm.spec index e408755..af4cc1a 100644 --- a/cairomm.spec +++ b/cairomm.spec @@ -26,6 +26,8 @@ BuildRequires: libsigc++20-devel >= %{libsigc_version} BuildRequires: perl-interpreter BuildRequires: perl(Getopt::Long) +BuildRequires: doxygen + Requires: cairo%{?_isa} >= %{cairo_version} Requires: libsigc++20%{?_isa} >= %{libsigc_version} @@ -55,6 +57,15 @@ documentation browser or through a web browser at %prep %setup -q +# We must remove the jQuery/jQueryUI bundle with precompiled/minified/bundled +# JavaScript that is in docs/reference/html/jquery.js, since such sources are +# banned in Fedora. (Note also that the bundled JavaScript had a different +# license.) We also remove the tag file, which triggers a rebuild of the +# documentation. While we are at it, we might as well rebuild the devhelp XML +# too. +rm -rf docs/reference/html +rm docs/reference/%{name}-%{apiver}.tag \ + docs/reference/%{name}-%{apiver}.devhelp2 %build