Page 1 of 1

Fedora RPM spec for MakeMKV

Posted: Sun Oct 07, 2018 5:21 am
by logic
Not sure if this is interesting to anyone here, but I put together a quick spec for MakeMKV (attached to this post).

Only tested on Fedora 32, and building it requires some experience with building RPMs, but a high level summary:
  • install the rpmdevtools and mock packages
  • add yourself to the "mock" group, log out, log in again
  • download the attached makemkv.spec file, make sure it's named correctly (ie. not makemkv.spec.txt)
  • run "spectool -g makemkv.spec" to download the makemkv bin and oss tarballs
  • as root, copy /etc/mock/fedora-32-x86_64.cfg to /etc/mock/makemkv.cfg and add stanzas for the RPMFusion free and non-free repositories (and their updates repos)
  • as a user in the "mock" group, run "mock -r makemkv --sources=. --spec=makemkv.spec"
  • if that works, copy the resulting .src.rpm from the results directory that it prints out to your current directory
  • as a user in the "mock" group, run "mock -r makemkv --rebuild makemkv*.src.rpm"
  • if *that* works, install the .x86_64.rpm from the results directory and enjoy
Looking at the license terms, it seems redistributing this in the RPMFusion non-free repository is explicitly okay, but just in case, I figured I'd post this here to get feedback first.

Oct 8 2020 - Updated to 1.15.3

Re: Fedora RPM spec for MakeMKV

Posted: Sat Aug 31, 2019 9:02 pm
by djotaku
thanks for providing this! I'm running the mock install now to see if it works. I love the work negativo17 does for the community, but unfortunately, his repos clash with rpmfusion so I'd like to be able to build my own MakeMKV so I can stop using his multimedia repo.

Re: Fedora RPM spec for MakeMKV

Posted: Sat Aug 31, 2019 11:01 pm
by djotaku
Hey,

I found when I was running my mock build that it failed on not having zlib.h. So that made me think it needed updating. THAT made me think perhaps a forum where you have to rename to file to have .txt is not the best way to do this. Perhaps the best way is github! So here's the repo I made and we can use PRs if people find issues. And also it can more easily be kept up to date. https://github.com/djotaku/Makemkv-Spec-for-Fedora