Re: [opensuse-buildservice] Easy xbuntu/Debian packages?

Am Montag, den 16.07.2007, 17:38 +0200 schrieb Roland Wolters:
> Once upon a time Stephan Hermann wrote:
> > Am Montag, 16. Juli 2007 14:48 schrieb Roland Wolters:
> > > Once upon a time Stephan Hermann wrote:
> > > > And read the "new debian maitainerns guide" on
> > > > http://www.debian.org/doc/maint-guide/ for a introduction to debian
> > > > packaging.
> > >
> > > As mentioned already in the other thread, the main problem is that this
> > > guide requires you to have certain tools - like dh_make. Which of course
> > > are not included in a rpm distribution like Fedora 7.
> >
> > Well, but this is an easy task...install vmware server (free from vmware)
> > and install a debian distro. and install dh_make :)
> >
> Yes, but where would be the advantage of the OpenSuse build server then?
> Except maybe for the build power itself?

The openbuild service is not for "creating the specific package for a
specific distribution". You have to have knowledge about creating the
package.
There is no way, AFAIK, that you will have one "canonical package build
description" for every and any distribution on the linux market.

Therefore, you need to create the package with the tools for this
particular distro. When dh_make e.g. (which is not essential to create a
debian package, it's just a helper tool) is not available, you can do
the following:

Use dh_make source package from debian (it's just orig.tar.gz or native
tar.gz, a .diff.gz and a .dsc file). you can use dpkg-source (which is
in the deb rpm on opensuse) and create a debianized source tree and
rebuild it for fedora (creating a spec etc.) or you take some debian
source package as example, with the debian/ dir inside the sourcetree.

You shouldn't build a debian package without knowing anything about
debian, the same applies to any other distro.

this sounds a bit stubborn, but the differences are sometimes bigger
then you expect.

Or you can tell some people what you want to package and they create a
debian package for you, including the debian/ dir.