public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nils Philippsen <nils@tiptoe.de>
To: git-commits@fedoraproject.org
Subject: [rpms/hydrogen] f45: Include separate documentation
Date: Fri, 30 Oct 2026 17:14:29 GMT	[thread overview]
Message-ID: <179338046932.1.4779737084002257433.rpms-hydrogen-0a47d1514d93@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/hydrogen
            Branch : f45
            Commit : 0a47d1514d936aa3697b741d561358ec9057daa4
            Author : Nils Philippsen <nils@tiptoe.de>
            Date   : 2026-10-29T23:53:32+01:00
            Stats  : +23/-1 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/hydrogen/c/0a47d1514d936aa3697b741d561358ec9057daa4?branch=f45

            Log:
            Include separate documentation

Signed-off-by: Nils Philippsen <nils@tiptoe.de>

---
diff --git a/.gitignore b/.gitignore
index 75f22ea..ffd4292 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ hydrogen-0.9.4.1.tar.gz
 /hydrogen-1.2.5.tar.gz
 /hydrogen-1.2.6.tar.gz
 /hydrogen-1.2.7.tar.gz
+/hydrogen-documentation-1.2.7.tar.gz

diff --git a/hydrogen.spec b/hydrogen.spec
index fa9dd61..d01fc4d 100644
--- a/hydrogen.spec
+++ b/hydrogen.spec
@@ -1,9 +1,14 @@
 Summary:      Advanced drum machine for GNU/Linux
 Name:         hydrogen
 Version:      1.2.7
+%global docversion %version
 Release:      %autorelease
 URL:          http://www.hydrogen-music.org/
+# GPL-2.0-or-later
 Source0:      https://github.com/hydrogen-music/%{name}/archive/refs/tags/%{version}/%{name}-%{version}.tar.gz
+# GPL-2.0-only AND MIT
+Source1:      https://github.com/hydrogen-music/documentation/archive/refs/tags/%{docversion}/%{name}-documentation-%{docversion}.tar.gz
+SourceLicense:	GPL-2.0-or-later AND GPL-2.0-only AND MIT
 License:      GPL-2.0-or-later
 
 Patch0:       %{name}-cxxflags.patch
@@ -46,8 +51,19 @@ Obsoletes:  devel <= 0.9.7-9
 %description devel
 Header files for the hydrogen drum machine.
 
+%package doc
+Summary:	Hydrogen documentation
+License:	GPL-2.0-only AND MIT
+BuildArch:	noarch
+Requires:	%{name} = %{version}-%{release}
+
+%description doc
+Documentation files for the hydrogen drum machine.
+
 %prep
-%autosetup -p1
+%autosetup -p1 -T -b 0 -a 1
+rmdir data/doc
+mv documentation-%{docversion} data/doc
 
 %build
 %cmake \
@@ -90,6 +106,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.hydrogenmu
 %{_bindir}/hydrogen
 %{_bindir}/h2*
 %{_datadir}/hydrogen/
+%exclude %{_datadir}/%{name}/data/doc
 %{_datadir}/applications/org.hydrogenmusic.Hydrogen.desktop
 %{_datadir}/icons/hicolor/scalable/apps/*.svg
 %{_libdir}/libhydrogen-core-1.2.*.so
@@ -99,5 +116,8 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.hydrogenmu
 %files devel
 %{_includedir}/hydrogen/
 
+%files doc
+%doc %{_datadir}/%{name}/data/doc
+
 %changelog
 %autochangelog

diff --git a/sources b/sources
index 9192418..607f30f 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 SHA512 (hydrogen-1.2.7.tar.gz) = 158cd7e1d32d283347d45e9d7f3d55876badb4ea857094922ec6fd15290239d319830b93925d16e2a6f65758314ad63bbf73ab6b936d05b8858307a464c8d714
+SHA512 (hydrogen-documentation-1.2.7.tar.gz) = e170d0bc6d35349086782aa208057eb9812ded658a9e8c5d19874a1b8749d0176a63f59d44841b64f2df28df8db15ee4c8c055a4eeed184f3867851d8016890d

                 reply	other threads:[~2026-10-30 17:14 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=179338046932.1.4779737084002257433.rpms-hydrogen-0a47d1514d93@fedoraproject.org \
    --to=nils@tiptoe.de \
    --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