Files
oak-editor/tooling/package/oak.spec
T
Mike-Solar 71e41d2d82 app: ship the Oak icon on every platform surface
- Runtime window icon: X11 takes the embedded 512px PNG up front
  (_NET_WM_ICON), Wayland resolves it from oak.desktop via the app id,
  Windows reads it from the exe's icon resource.
- assets/appicon: 512px PNG + 7-size ICO rasterized from Oak_Icon.svg.
- Windows: oak.rc (ICON resource ID 1, also the Explorer icon) compiled
  by build.rs through embed-resource.
- Linux packaging (deb/rpm/PKGBUILD/oak.spec): install Oak_Icon.svg
  into the hicolor scalable theme alongside the existing 512px PNG.
- macOS: no change needed - cargo packager already builds the .icns
  from the CD-generated icons/icon.png (same source art).
2026-09-10 16:54:51 +08:00

46 lines
1.6 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
# Everything is staged into %{buildroot} by the caller (build-rpm.sh);
# nothing to compile here.
true
%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