From 78f4099bfbddae0d79e3196287004c8766e345ca Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 16 Dec 2021 09:33:51 -0500 Subject: [PATCH] Move documentation and examples to a -doc subpackage --- freexl.spec | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/freexl.spec b/freexl.spec index b86a154..6861745 100644 --- a/freexl.spec +++ b/freexl.spec @@ -19,8 +19,6 @@ BuildRequires: libtool BuildRequires: gcc BuildRequires: make -BuildRequires: doxygen - %description FreeXL is a library to extract valid data from within spreadsheets. @@ -31,6 +29,17 @@ Design goals: • completely ignoring any GUI-related oddity +%package doc +Summary: Documentation and examples for FreeXL + +BuildArch: noarch + +BuildRequires: doxygen + +%description doc +%{summary}. + + %package devel Summary: Development Libraries for FreeXL @@ -75,27 +84,34 @@ find '%{buildroot}' -type f -name '*.la' -print -delete %files %license COPYING -%doc AUTHORS -%doc README + %{_libdir}/libfreexl.so.%{so_version} %{_libdir}/libfreexl.so.%{so_version}.* %files devel -%doc clean/examples -%doc html - %{_includedir}/freexl.h %{_libdir}/libfreexl.so %{_libdir}/pkgconfig/freexl.pc +%files doc +%license COPYING + +%doc AUTHORS +%doc README + +%doc clean/examples +%doc html + + %changelog * Thu Dec 16 2021 Benjamin A. Beasley - 1.0.6-4 - Modernize and clean up the spec file - Make it harder to miss any .so version change - Properly install the license file - Remove an obsolete sed-patch +- Move documentation and examples to a -doc subpackage * Wed Jul 21 2021 Fedora Release Engineering - 1.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild