Move documentation and examples to a -doc subpackage

epel9
Benjamin A. Beasley 3 years ago
parent ce48a7c0ec
commit 78f4099bfb

@ -19,8 +19,6 @@ BuildRequires: libtool
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
BuildRequires: doxygen
%description %description
FreeXL is a library to extract valid data from within spreadsheets. FreeXL is a library to extract valid data from within spreadsheets.
@ -31,6 +29,17 @@ Design goals:
• completely ignoring any GUI-related oddity • completely ignoring any GUI-related oddity
%package doc
Summary: Documentation and examples for FreeXL
BuildArch: noarch
BuildRequires: doxygen
%description doc
%{summary}.
%package devel %package devel
Summary: Development Libraries for FreeXL Summary: Development Libraries for FreeXL
@ -75,27 +84,34 @@ find '%{buildroot}' -type f -name '*.la' -print -delete
%files %files
%license COPYING %license COPYING
%doc AUTHORS
%doc README
%{_libdir}/libfreexl.so.%{so_version} %{_libdir}/libfreexl.so.%{so_version}
%{_libdir}/libfreexl.so.%{so_version}.* %{_libdir}/libfreexl.so.%{so_version}.*
%files devel %files devel
%doc clean/examples
%doc html
%{_includedir}/freexl.h %{_includedir}/freexl.h
%{_libdir}/libfreexl.so %{_libdir}/libfreexl.so
%{_libdir}/pkgconfig/freexl.pc %{_libdir}/pkgconfig/freexl.pc
%files doc
%license COPYING
%doc AUTHORS
%doc README
%doc clean/examples
%doc html
%changelog %changelog
* Thu Dec 16 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.0.6-4 * Thu Dec 16 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.0.6-4
- Modernize and clean up the spec file - Modernize and clean up the spec file
- Make it harder to miss any .so version change - Make it harder to miss any .so version change
- Properly install the license file - Properly install the license file
- Remove an obsolete sed-patch - Remove an obsolete sed-patch
- Move documentation and examples to a -doc subpackage
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-3 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save