%define debug_package %{nil} Name: makemkv License: GuinpinSoft inc and Mozilla Public License Version 1.1 and LGPLv2.1+ Group: Applications/System Version: 1.18.2 Release: 1%{?dist} Summary: DVD and Blu-ray to MKV converter and network streamer URL: http://www.makemkv.com/ %undefine _disable_source_fetch Source0: https://www.makemkv.com/download/makemkv-bin-%{version}.tar.gz Source3: makemkvbeta.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: expat-devel BuildRequires: ffmpeg-devel BuildRequires: libmakemkv = %{version} BuildRequires: less BuildRequires: make Requires: libmakemkv = %{version} Requires: ffmpeg %description MakeMKV is your one-click solution to convert video that you own into free and patents-unencumbered format that can be played everywhere. MakeMKV is a format converter, otherwise called "transcoder".It converts the video clips from proprietary (and usually encrypted) disc into a set of MKV files, preserving most information but not changing it in any way. The MKV format can store multiple video/audio tracks with all meta-information and preserve chapters. Additionally MakeMKV can instantly stream decrypted video without intermediate conversion to wide range of players, so you may watch Blu-ray and DVD discs with your favorite player on your favorite OS or on your favorite device. %prep %setup -q -n makemkv-bin-%{version} %build mkdir -p tmp echo "accepted" > tmp/eula_accepted %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm $RPM_BUILD_ROOT/usr/bin/sdftool cd $RPM_BUILD_ROOT/usr/bin/ ln -s makemkv sdftool install -pm 755 %{_sourcedir}/makemkvbeta.sh $RPM_BUILD_ROOT/usr/bin/makemkvbeta chmod +x $RPM_BUILD_ROOT/usr/bin/makemkvbeta %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files /usr/bin/makemkvcon /usr/bin/makemkvbeta /usr/bin/sdftool /usr/share/MakeMKV/appdata.tar /usr/share/MakeMKV/blues.jar /usr/share/MakeMKV/blues.policy