Now, since CentOS/RHEL uses binary packages (RPMs), my next step was to set about creating an RPM package for it -- I don't like installing extra libraries and compiling on my main machine, so when possible I prefer to have an RPM to install.
I am happy to say that I appear to have successfully created a MakeMKV rpm package that works on CentOS 6.5 (and most likely RHEL 6.5 as well).
From my reading of the EULA, I believe this is allowed under the license. Specifically:
Code: Select all
as a special exception, you may extract and repackage Linux-specific part of the Software for the purpose of creating a distribution-specific package, as long as program files and this license remain unchanged.
The compile was completed using the ffmpeg and libavcodec libraries available from the ATrpms yum repository. In order to install the makemkv packages, you will need access to this repository since the final RPM requires libavcodec55 to be intalled.
In addition, for a normal (non-root) user to be able to access the cd/dvd drive, you will need to add your user account to the 'cdrom' group.
My packaging consists of 3 packages:
makemkv - this package is actually blank, but requires the other 2 packages. The idea here is that if you have a yum repo or spacewalk server, you can install this package, and yum will automagically pull the other two. Intended as a simple way to install all the required packages.
makemkv-oss - the components included in the makemkv-oss distro tarball
makemkv-bin - the components included in the makemkv-bin distro tarbal
To install this on CentOS or RHEL:
If you have a central repository, like a yum repo or spacewalk server, just install the makemkv package:
yum install --nogpgcheck makemkv
To install w/out a central repository, simply put the packages in a directory, and use yum to install all 3:
yum install --nogpgcheck makemkv makemkv-oss makemkv-bin
Yum will attempt to install libavcodec55 and any other dependancies (needs ATrpms yum repo)
I have tested this on my CentOS 6.6 server and it appears to be working well. It's possible that I may have missed some dependencies (packages may already have been installed on my machine), so if anyone runs into any problems installing via yum, let me know what packages it's asking for so I can add them to the dependencies list.
(The forum won't let me attach .rpm files, so you can get them from here: https://drive.google.com/folderview?id= ... sp=sharing)