%define debug_package %nil Name: dgdemux Version: 1.0.0.78 Release: 1%{?dist} Summary: DGDemux Blu-Ray/UHD Disk Demuxer License: BSD-3-Clause URL: http://rationalqm.us/dgdemux/dgdemux.html %undefine _disable_source_fetch #https://www.rationalqm.us/dgdemux/binaries/dgdemux_linux_1.0.0.78.zip Source0: dgdemux_linux_1.0.0.78.zip %description DGDemux is a standalone demuxer for BluRay/UHD disks. It takes a playlist and demuxes all the elementary streams (audio and video), the subtitle streams, and the chapters. The demuxed files are all in sync with the demuxed video, even for seamless branching titles. DGDemux runs on Windows and Linux. For Windows, there is a GUI called DGDemuxGUI. Use DGDemux as a command line utility. %package gui Summary: DGDemux GUI Blu-Ray/UHD Disk Demuxer Requires: dgdemux = %{version}-%{release} %description gui This package contains the DGDemux GUI for Blu-Ray/UHD Disk Demuxer. %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT install -d -m 0755 $RPM_BUILD_ROOT/usr/bin unzip %{_sourcedir}/dgdemux_linux_%{version}.zip -d $RPM_BUILD_ROOT/usr/bin #install -p -m 0755 %{_sourcedir}/dgdemux $RPM_BUILD_ROOT/usr/bin/dgdemux %files %attr(0755,root,root) /usr/bin/dgdemux %attr(0755,root,root) /usr/bin/dovi_tool %attr(0755,root,root) /usr/bin/dgmvccombine /usr/bin/DGDemux.txt %files gui /usr/bin/DGDemuxGUI.txt /usr/bin/dgdemuxgui.ini /usr/bin/dgdemuxgui1920.py /usr/bin/dgdemuxgui3840.py