Verified locally in debian:12 and fedora:43 containers before pushing:
- deb: dpkg-deb rejected the control file because `paste -sd', '` uses
the delimiter list cyclically (comma, space, comma, ...) — join with a
plain comma instead;
- rpm: rpm 4.20+ (Fedora 43) computes %{buildroot} itself and ignores a
caller-supplied buildroot define, so stage the payload and let the
spec's %install copy it via %{_oak_stage}; add a changelog entry (the
%source_date_epoch_from_changelog warning) and drop it from the
changelog-less build.
50 lines
1.8 KiB
RPMSpec
50 lines
1.8 KiB
RPMSpec
# Oak Video Editor - Non-Linear Video Editor
|
|
# Copyright (C) 2026 Oak Team
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# RPM spec for Oak. Requires are AUTO-COMPUTED by rpmbuild from the
|
|
# packaged binaries' NEEDED entries (the distro's own names); do not add a
|
|
# static Requires list.
|
|
Name: oak-editor
|
|
Version: %{_version}
|
|
Release: 1%{?dist}
|
|
Summary: Oak Video Editor — a free, open-source non-linear video editor
|
|
License: GPL-3.0-or-later
|
|
URL: https://github.com/OakVideoEditorCommunity/oak
|
|
|
|
%description
|
|
Oak is a non-linear video editor written in Rust (OpenFX plug-in host,
|
|
proxy editing, multicam, hardware decoding).
|
|
|
|
%install
|
|
# The caller staged the payload in %{_oak_stage} (build-rpm.sh); rpm
|
|
# 4.20+ computes %{buildroot} itself, so copy the tree in through the
|
|
# macro instead of relying on a caller-supplied buildroot define.
|
|
install -d %{buildroot}
|
|
cp -a %{_oak_stage}/usr %{buildroot}/
|
|
|
|
%files
|
|
/usr/bin/oak-editor
|
|
/usr/bin/oak-cli
|
|
/usr/bin/oak-worker
|
|
/usr/share/applications/oak.desktop
|
|
/usr/share/icons/hicolor/512x512/apps/oak.png
|
|
/usr/share/icons/hicolor/scalable/apps/oak.svg
|
|
/usr/share/oak/i18n/
|
|
|
|
%changelog
|
|
* Thu Sep 24 2026 Oak Team <noreply@oakvideoeditor.org> - 0.5.0-1
|
|
- Release build of the Rust rewrite.
|