public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hydrogen] f45: Include separate documentation
@ 2026-10-30 17:14 Nils Philippsen
0 siblings, 0 replies; only message in thread
From: Nils Philippsen @ 2026-10-30 17:14 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-30 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 17:14 [rpms/hydrogen] f45: Include separate documentation Nils Philippsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox