Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open to packaging on Fedora? Specfile included #28

Open
tabbyrobin opened this issue Jun 9, 2024 · 1 comment
Open

Open to packaging on Fedora? Specfile included #28

tabbyrobin opened this issue Jun 9, 2024 · 1 comment

Comments

@tabbyrobin
Copy link

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:
animetosho/par2cmdline-turbo#27

@brenthuisman
Copy link
Owner

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants