2009/4/30 David Nielsen <gnomeuser(a)gmail.com>:
You will need to restructure the spec layout to fit better with the
Fedora
way of doing things. Also you are not allowed to use %{_prefix} as that
would break our currently terrible Mono packaging guidelines which require
that we build Mono stuff as arch - please use %{_libdir} instead.
You need to keep a changelog.
I added it for the fedora packages. Usually with the openSUSE build
service there is a .changes file that gets updated and it then
reformats and auto appends it to the spec file.
I also believe that adding copyright notices to spec files in
generally
frowned upon.
I removed this from out spec files as well.
AutoReqProv: on seems like SuSE magic and should perish
It turns out that this has been deprecated, so its removed from the
openSUSE rpms too now.
Release should be > 0
Easy fix :) The openSUSE build service auto increments this and
that's why it was zero. In the end it was irrelevant making it an
easy change.
pkgconfig files go in a separate -devel package
Not all of the packages have a .pc file. We had talked about this in
our group and decided to put them in the same rpm as these are all
library type files. So, in a way I would guess that the whole rpm is
really just a devel package.
What do you think?
I only briefly looked at one spec file but generally it looks like
an
excellent start
The Banshee spec is a fairly well kept example to go by (just ignore the
commented buildrequires, that's maintainer preference and not the general
style).
http://cvs.fedoraproject.org/viewvc/rpms/banshee/F-11/banshee.spec?revisi...
I created a directory in svn for fedora -
http://anonsvn.mono-project.com/viewvc/trunk/uia2atk/build/specs/fedora/
Thanks,
Stephen