RPM packages for Fedora?
Hi, is it possible to have RPM packages for Fedora?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Pogo Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- guidito73
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I don't think anyone has built pogo packages for fedora yet. Please
inform me if anyone does, please. Unfortunately, I have no experience in
rpm packaging.
Revision history for this message
|
#2 |
No, the only packages I found are rpm for OpenSUSE and for version 0.4
If anyone can take a look at it, it should be great!
As for experience, I have none in packaging, and lately, very little free time to spare to learn, but if someone has a good tutorial or is willing to show me the way, I could try.
Thanks!
Revision history for this message
|
#3 |
I will have a look at it soon. I'm a member of the Fedora packagers group. Just tested v0.5. It works (after installation in /usr/local), but album covers are not shown for the time being. Once this also works, I will provide it for review, which might take a while to include in in Fedora officially.
Revision history for this message
|
#4 |
Nice, it's awesome that you're working on including it in fedora. Let me
know if you need any infos.
Revision history for this message
|
#5 |
It builds on my system, but it fails within the chroot environment on koji.fedoraproj
BuildRequires: python-devel
BuildRequires: python-4suite-XML
Requires: dbus-python pygtk2 python-mutagen
There's a scratch build on Koji:
http://
And here's the build log:
http://
Seems to be a po file is actually missing...
Revision history for this message
|
#6 |
New build:
http://
I've added intltool and desktop-file-utils to BuildRequires. No it works. But the question remains: What do we really need? The Opensuse package lists Python-devel, but due to using "make" I think it's unneeded. And what about the Python XML stack?
Revision history for this message
|
#7 |
For testing purposes, you can download my packages from here:
http://
http://
Any feedback welcome.
Revision history for this message
|
#8 |
After some finetuning, here are my newest packages:
http://
http://
http://
The "gnome" subpackage doesn't contain anything, it calls only gnome-settings-
Scratch build:
http://
Revision history for this message
|
#9 |
From what I can say just by looking at the spec file, the package seems
to cover all dependencies. I don't have a fedora system to test on
though, maybe someone else can?
Are the gstreamer codecs included? For debian we had to list them all:
Depends: ${python:Depends},
Recommends: gstreamer0.
Suggests: gstreamer0.
Why can't you add gnome-settings-
A subpackage seems unnecessary to me (having no knowledge about
rpm/fedora). I don't think python-xml is needed. Maybe you can take some
packaging ideas from the orphaned decibel-
I don't know.
Revision history for this message
|
#10 |
Newest packages have been uploaded to the known download links:
http://
http://
Now I'm using the following settings:
BuildArch: noarch
BuildRequires: intltool
BuildRequires: desktop-file-utils
For other BuildRequires, Fedora provides a generic build environment:
http://
Requires: dbus-python
Requires: pygtk2-libglade
Requires: python-mutagen
Requires: python-imaging
Requires: python-inotify
Requires: gstreamer-python
Requires: python-CDDB
There's no pogo-gnome subpackage anymore. It is senseless, because GNOME users who are able to use the media keys hav gnome-settings-
When testing the package with the validator tool rpmlint, I get the following error:
pogo.noarch: E: non-executable-
Would it make sense to add the executable bit to make rpmlint happy again? Or would it break anything?
Revision history for this message
|
#11 |
BTW, gstreamer plugins are optional. They will be installed at runtime via the codec installer, if needed.
Revision history for this message
|
#12 |
> pogo.noarch: E: non-executable-
> 0644L /usr/bin/env
Thanks for the hint, I removed the line from the file since it only
should occur in executable scripts.
The dependencies look fine to me. I think you can propose it for inclusion.
Thanks again for your work on packaging pogo!
Revision history for this message
|
#13 |
OK, I've patched the current sources and published the package for review:
Revision history for this message
|
#14 |
Thanks!
It worked on my Fedora LXDE Spin! :D
Many, many thanks to Mario and all who put the effort into this.
Let's hope to see Pogo in the repositories soon ;)
Best,
Guido
Revision history for this message
|
#15 |
Pogo v0.6 is now available in Fedora 16 (updates) and 17, packages for RHEL/Centos and its derivatives are still pending.
Revision history for this message
|
#16 |
Nice. Now we provide packages for debian (via the PPA), fedora and arch,
so I think most of the Linux users are catered for already.