%define debug_package %nil Name: libmakemkv 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-oss-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel, openssl-devel, expat-devel, ffmpeg-devel, g++ Provides: libmakemkv.so.1()(64bit) Provides: libdriveio.so.0()(64bit) %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-oss-%{version} %build ./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --libdir=%{_libdir} --sysconfdir=%{_sysconfdir} \ --disable-gui --disable-qt5 make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %post if [ $1 == 1 ];then /sbin/ldconfig fi %postun if [ $1 == 0 ];then /sbin/ldconfig fi %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %license License.txt /usr/bin/mmccextr /usr/bin/mmgplsrv /usr/lib64/libdriveio.so.0 /usr/lib64/libmakemkv.so.1 /usr/lib64/libmmbd.so.0