public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/whipper] f45: Build and install man pages.
@ 2026-09-23 11:52 Peter Oliver
0 siblings, 0 replies; only message in thread
From: Peter Oliver @ 2026-09-23 11:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/whipper
Branch : f45
Commit : 962d6ac8f701c028d34a0400146613c56179f00d
Author : Peter Oliver <git@mavit.org.uk>
Date : 2026-09-23T12:32:06+01:00
Stats : +21/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/whipper/c/962d6ac8f701c028d34a0400146613c56179f00d?branch=f45
Log:
Build and install man pages.
---
diff --git a/whipper.spec b/whipper.spec
index 8455a07..f0f76a9 100644
--- a/whipper.spec
+++ b/whipper.spec
@@ -10,9 +10,11 @@ Source: https://github.com/whipper-team/%{name}/archive/v%{version}.tar.gz
# Cherry pick commit fixing this from upstream
Patch: https://patch-diff.githubusercontent.com/raw/whipper-team/whipper/pull/543.patch
+BuildRequires: /usr/bin/rst2man
BuildRequires: gcc
BuildRequires: libsndfile-devel
BuildRequires: libappstream-glib
+BuildRequires: make
BuildRequires: python3dist(musicbrainzngs)
BuildRequires: python3dist(mutagen)
BuildRequires: python3dist(pycdio)
@@ -53,6 +55,10 @@ CD ripper preferring accuracy over speed
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
+cd man
+%make_build
+cd -
+
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
@@ -64,6 +70,8 @@ mv %{buildroot}%{_datadir}/metainfo/ \
%{buildroot}%{_metainfodir}/
%endif
+install -m0644 -pD -t %{buildroot}%{_mandir}/man1/ man/*.1
+
%check
%pyproject_check_import
@@ -76,6 +84,19 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/com.github.wh
%doc README.md
%{_bindir}/whipper
%{_bindir}/accuraterip-checksum
+%{_mandir}/man1/whipper-accurip.1*
+%{_mandir}/man1/whipper-cd-info.1*
+%{_mandir}/man1/whipper-cd-rip.1*
+%{_mandir}/man1/whipper-cd.1*
+%{_mandir}/man1/whipper-drive-analyze.1*
+%{_mandir}/man1/whipper-drive-list.1*
+%{_mandir}/man1/whipper-drive.1*
+%{_mandir}/man1/whipper-image-verify.1*
+%{_mandir}/man1/whipper-image.1*
+%{_mandir}/man1/whipper-mblookup.1*
+%{_mandir}/man1/whipper-offset-find.1*
+%{_mandir}/man1/whipper-offset.1*
+%{_mandir}/man1/whipper.1*
%{_metainfodir}/com.github.whipper_team.Whipper.metainfo.xml
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 11:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 11:52 [rpms/whipper] f45: Build and install man pages Peter Oliver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox