par2deep icon indicating copy to clipboard operation
par2deep copied to clipboard

Open to packaging on Fedora? Specfile included

Open tabbyrobin opened this issue 1 year ago • 1 comments

Hi,

Are you open to the idea of packaging this on Fedora? I've put together a working specfile. python-par2deep.spec.txt

Note, the changelog section is not fleshed out. File has extra .txt extension so GitHub will allow upload.

Example commands to use it:

#!/usr/bin/env sh
[ "$SPECFILE" = "" ] && SPECFILE="./python-par2deep.spec"
[ "$SRC_RPM" = "" ] && SRC_RPM="$HOME/rpmbuild/SRPMS/python-par2deep-1.10.1-1.fc38.src.rpm"
time sudo dnf install -y pyp2rpm rpmlint tito automake &&
  rpmlint "$SPECFILE" &&
  spectool -g -R "$SPECFILE"

# Everything is downloaded now, can disconnect from network for the build step.
rpmbuild -bs "$SPECFILE" && rpmbuild --rebuild "$SRC_RPM"

# sudo dnf install ~/rpmbuild/RPMS/noarch/python3-par2deep-*.noarch.rpm

I also went ahead and put together a specfile for par2cmdline-turbo, see: https://github.com/animetosho/par2cmdline-turbo/issues/27

tabbyrobin avatar Jun 09 '24 00:06 tabbyrobin

Sure I'm open to it! Will you be the maintainer of the Fedora spec file? Or would it live in this repo? Do you need any further changes to this repo? I imagine perhaps not packaging of par2cmdline-turbo binaries ;)

brenthuisman avatar Jun 10 '24 11:06 brenthuisman