trying to install compiled rpm package makemkv from
makemkv src rpm, but this fails with the following error message:
Code:
[root@fc17 tmp]# rpm -ivh makemkv-1.7.7-1.1.x86_64.rpm
warning: makemkv-1.7.7-1.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 097c6052: NOKEY
error: Failed dependencies:
libdriveio.so.0()(64bit) is needed by makemkv-1.7.7-1.1.x86_64
libmakemkv.so.1()(64bit) is needed by makemkv-1.7.7-1.1.x86_64
the rpm spec file i use:
Code:
Name: makemkv
Version: 1.7.7
Release: 1.2
Source0: http://www.makemkv.com/download/makemkv-bin-%{version}.tar.gz
Source1: http://www.makemkv.com/download/makemkv-oss-%{version}.tar.gz
Group: Productivity/Multimedia/Video/Editors and Convertors
Summary: DVD and Blu-ray to MKV converter and network streamer
License: Commercial, Mozilla Public License Version 1.1, LGLP 2.1 and later
URL: http://www.makemkv.com/
BuildRoot: %_tmppath/%name-%version-build
BuildRequires: Mesa-devel
%if 0%{?suse_version}
BuildRequires: pkg-config libopenssl-devel libqt4-devel libexpat-devel update-desktop-files
%endif
%if 0%{?fedora}
Provides: libmakemkv.so.1 libdriveio.so.0
BuildRequires: gcc-c++ pkgconfig openssl-devel qt-devel expat-devel
%endif
%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
set of MKV files, preserving most information but not changing it in any
the video clips from proprietary (and usually encrypted) disc into a
way. The MKV format can store multiple video/audio tracks with all
meta-information and preserve chapters. There are many players that can
play MKV files nearly on all platforms, and there are tools to convert
MKV files to many formats, including DVD and Blu-ray discs.
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
rm -fr makemkv-bin-%{version}
tar xf %{SOURCE0}
rm -fr makemkv-oss-%{version}
tar xf %{SOURCE1}
%build
cd makemkv-oss-%{version}
make -f makefile.linux
%install
cd makemkv-bin-%{version}
install -d %{buildroot}%{_bindir}
%ifarch i386 i486 i586 i686
install -t %{buildroot}%{_bindir} bin/i386/makemkvcon
%endif
%ifarch x86_64
install -t %{buildroot}%{_bindir} bin/amd64/makemkvcon
%endif
install -d %{buildroot}%{_datadir}/MakeMKV
install -m 644 -t %{buildroot}%{_datadir}/MakeMKV src/share/default.mmcp.xml
install -m 644 -t %{buildroot}%{_datadir}/MakeMKV src/share/makemkv_deu.mo.gz
install -m 644 -t %{buildroot}%{_datadir}/MakeMKV src/share/makemkv_jpn.mo.gz
install -m 644 -t %{buildroot}%{_datadir}/MakeMKV src/share/makemkv_spa.mo.gz
install -m 644 -t %{buildroot}%{_datadir}/MakeMKV src/share/makemkv_ptb.mo.gz
install -m 644 -t %{buildroot}%{_datadir}/MakeMKV src/share/makemkv_dut.mo.gz
install -m 644 -t %{buildroot}%{_datadir}/MakeMKV src/share/makemkv_swe.mo.gz
cd ../makemkv-oss-%{version}
install -D -m 644 out/libdriveio.so.0 %{buildroot}%{_libdir}/libdriveio.so.0
install -D -m 644 out/libmakemkv.so.1 %{buildroot}%{_libdir}/libmakemkv.so.1
install -D -m 755 out/makemkv %{buildroot}%{_bindir}/makemkv
install -D -m 644 makemkvgui/share/makemkv.desktop %{buildroot}%{_datadir}/applications/makemkv.desktop
install -D -m 644 makemkvgui/src/img/16/mkv_icon.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/makemkv.png
install -D -m 644 makemkvgui/src/img/22/mkv_icon.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/makemkv.png
install -D -m 644 makemkvgui/src/img/32/mkv_icon.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/makemkv.png
install -D -m 644 makemkvgui/src/img/64/mkv_icon.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/makemkv.png
install -D -m 644 makemkvgui/src/img/128/mkv_icon.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/makemkv.png
%if 0%{?suse_version}
%suse_update_desktop_file -r -G 'MKV Creator & Streamer' makemkv AudioVideo AudioVideoEditing
%endif
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/MakeMKV
%changelog
* Tue Apr 17 2012 padx@gmx.net
- Added support for AACS v31
- Improved handling for DVD/Blu-ray discs with mastering errors
- Conversion profile improvements in expert mode
- Bug fixes:
* On some discs 3D MVC video was not recognized
* Subtitle tracks were not available on HD-DVD discs after 1.7.0 update
* Thu Apr 5 2012 padx@gmx.net
- Initial release