Name: FreeFactory Version: 1.1.37 Release: 1%{?dist} Summary: Professional drag-and-drop FFmpeg conversion system License: GPLv3+ URL: https://github.com/jimhines/FreeFactoryQT Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3 Requires: python3, ffmpeg %description FreeFactoryQT is a professional yet cost-effective video conversion manager built around FFmpeg. It provides drag-and-drop conversion factories, metadata support, caption handling, and queue management. Designed for broadcast engineers and media professionals who need power without the price tag. %prep %autosetup -n FreeFactory-%{version} %build # No compilation needed; Python application echo "Building FreeFactoryQT..." %install rm -rf %{buildroot} install -d %{buildroot}/opt/FreeFactory cp -r * %{buildroot}/opt/FreeFactory/ install -d %{buildroot}%{_bindir} echo '#!/bin/bash' > %{buildroot}%{_bindir}/freefactoryqt echo 'exec python3 /opt/FreeFactory/bin/main.py "$@"' >> %{buildroot}%{_bindir}/freefactoryqt chmod 755 %{buildroot}%{_bindir}/freefactoryqt install -d %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/freefactoryqt.desktop <<'EOF' [Desktop Entry] Name=FreeFactory Exec=freefactoryqt Icon=utilities-terminal Type=Application Categories=AudioVideo;Video;Utility; Comment=Professional FFmpeg-based video conversion tool EOF %files %license license.txt %doc README.md /opt/FreeFactory %{_bindir}/freefactoryqt %{_datadir}/applications/freefactoryqt.desktop %changelog * Fri Nov 08 2025 Jim Hines - 1.1.37-1 - Initial RPM release for Fedora 41 - Installs to /opt/FreeFactory - Added desktop launcher and wrapper script