%global debug_package %{nil} # Concat ships its own FFmpeg + onnxruntime under /opt/concat/lib with # DT_RPATH $ORIGIN/lib (see upstream assets/linux/nfpm.yaml). Those bundled # libraries must not be advertised as system-wide Provides, nor become # system Requires; the genuine system deps below are declared explicitly. %global __provides_exclude_from ^/opt/concat/.*$ %global __requires_exclude_from ^/opt/concat/.*$ Name: concat Version: 0.2.6 # 2 = %license/%doc path fix (COPR 11066628); 3 = restore libxkbcommon-x11 # Requires dropped by a concurrent edit + desktop-file-utils BuildRequires. # COPR already published 0.2.5-2, so a same-version fix must exceed it. Release: 1%{?dist} Summary: Free and open source video editor (CapCut alternative) License: AGPL-3.0-or-later URL: https://github.com/jub0t/Concat Source0: %{url}/releases/download/v0.2.6/Concat-0.2.6-linux-x86_64.rpm # sha256: 069caef461a41e5a59524351174382cadddec0adee8935dfa9b0b4d22367d28b ExclusiveArch: x86_64 # aarch64 asset exists upstream (Concat-0.2.5-linux-aarch64.rpm) but this repo # only enables x86_64 COPR chroots; extend with a %ifarch Source0 if that changes. BuildRequires: desktop-file-utils # System libraries the binary loads outside its own lib/ — the exact set from # upstream assets/linux/nfpm.yaml (rpm.depends), names already Fedora-style. Requires: gtk3 Requires: fontconfig Requires: freetype Requires: libxkbcommon # X11 keyboard init: xkbcommon-dl dlopens libxkbcommon-x11.so.0 at startup and # the app panics without it under X11/Xvfb (proven 2026-10-03 teardown); gtk3 # only pulls libxkbcommon.so.0 (dnf repoquery --requires gtk3), so this must be # an explicit Requires. Requires: libxkbcommon-x11 Requires: mesa-libGL Requires: alsa-lib Requires: hicolor-icon-theme Provides: concat = %{version}-%{release} %description Concat is a free and open source video editor and CapCut alternative. Auto-captions, text-to-speech, background removal, keyframe animation, GPU-rendered effects, multi-track cutting and 4K export, all running locally on a native Rust engine. No watermark, no account, no subscription. %prep %setup -T -c rpm2cpio %{SOURCE0} | cpio -idmv %install mkdir -p %{buildroot}/opt/concat cp -a opt/concat/* %{buildroot}/opt/concat/ mkdir -p %{buildroot}%{_bindir} install -pm0755 usr/bin/concat %{buildroot}%{_bindir}/concat install -Dm0644 usr/share/applications/concat.desktop \ %{buildroot}%{_datadir}/applications/concat.desktop install -Dm0644 usr/share/icons/hicolor/256x256/apps/concat.png \ %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/concat.png desktop-file-validate %{buildroot}%{_datadir}/applications/concat.desktop || true %files %license usr/share/doc/concat/LICENSE %doc usr/share/doc/concat/THIRD_PARTY_NOTICES.md %{_bindir}/concat /opt/concat/ %{_datadir}/applications/concat.desktop %{_datadir}/icons/hicolor/256x256/apps/concat.png %changelog * Tue Oct 06 2026 Ackerman-00 - 0.2.6-1 - Auto-update to upstream release v0.2.6