public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Oliver <git@mavit.org.uk>
To: git-commits@fedoraproject.org
Subject: [rpms/whipper] f45: Build and install man pages.
Date: Wed, 23 Sep 2026 11:52:03 GMT	[thread overview]
Message-ID: <179016432343.1.5265906768463189152.rpms-whipper-962d6ac8f701@fedoraproject.org> (raw)

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
 
 

                 reply	other threads:[~2026-09-23 11:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179016432343.1.5265906768463189152.rpms-whipper-962d6ac8f701@fedoraproject.org \
    --to=git@mavit.org.uk \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox