diff --git a/wxGTK3.spec b/wxGTK3.spec index 70afa3a..9331a79 100644 --- a/wxGTK3.spec +++ b/wxGTK3.spec @@ -11,7 +11,7 @@ Name: %{wxgtkname} Version: 3.0.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: GTK port of the wxWidgets GUI library License: wxWidgets Group: System Environment/Libraries @@ -65,6 +65,7 @@ BuildRequires: GConf2-devel BuildRequires: gettext BuildRequires: cppunit-devel BuildRequires: libmspack-devel +BuildRequires: doxygen Provides: %{srcname} = %{version}-%{release} Provides: bundled(scintilla) = 3.2.1 @@ -145,6 +146,17 @@ BuildArch: noarch This package provides documentation for the %{srcname} library. +%package xmldocs +Group: Development/Libraries +Summary: XML Documentation for the wxGTK3 library +Requires: %{name} = %{version}-%{release} +Provides: %{srcname}-xmldocs = %{version}-%{release} +BuildArch: noarch + +%description xmldocs +This package provides XML documentation for the %{srcname} library. + + %prep %setup -q -n %{srcname}-%{version} -a 1 %patch0 -p1 -b .abicheck @@ -194,6 +206,10 @@ export CPPUNIT_CONFIG="/usr/bin/pkg-config cppunit" make %{?_smp_mflags} +pushd docs/doxygen +WX_SKIP_DOXYGEN_VERSION_CHECK=1 ./regen.sh xml +popd + %install %makeinstall @@ -283,7 +299,13 @@ popd %files docs %doc html +%files xmldocs +%doc docs/doxygen/out/xml/* + %changelog +* Tue Feb 23 2016 Scott Talbert - 3.0.2-16 +- Add -xmldocs subpackage containing XML documentation (needed for Phoenix) + * Tue Feb 23 2016 Scott Talbert - 3.0.2-15 - Add GCC6 patches for STC and strings tests - Adapt cppunit to use pkg-config (cppunit-config has been removed in F24)