Moblin 2 and Fedora

Arjan van de Ven arjan at infradead.org
Mon May 4 15:27:12 UTC 2009


On Sun, 3 May 2009 17:08:27 +0100
Matthew Garrett <mjg at redhat.com> wrote:

[ I wasn't on the CC, just saw this by accident]

> A large number of the specfiles
> have been processed through something called specbuilder.

If there is anything in Moblin that I'd like Fedora to consider
adopting, it is specbuilder. Specbuilder is basically the (start of) an
autopackaging tool, where we try to automatically generate packaging for
a class of upstream projects. The class we're focusing on is those
upstream packages that use autoconf/automake/etc and use pkgconfig.

For these packages we have a very small .ini file with some basic
metadata (which we're trying to autogenerate at much as possible as
well), which specbuilder then turns into a .spec file for building.

These ini files are relatively small and simple, and can mostly be
autogenerated. The result is a very consistent set of rpms, and we're
working on being able to generate other packaging formats from this
same minimal metadata as well....

For example the ini file for the Intel IIG graphics driver package
looks like this:

[header]
Summary = Xorg X11 Intel video driver
Name = xorg-x11-drv-intel
LocaleName = xorg-x11-drv-intel
Version = 2.7.0
Release = 1
Group = User Interface/X Hardware Support
License = MIT
URL =  http://www.x.org/
Files = xorg-x11-drv-intel.files
Requires = xorg-x11-server-Xorg hwdata
SubPackages = devel tools

[configuration]
Sources = http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-%{version}.tar.bz2
PkgConfig =  xorg-server libdrm xf86driproto xvmc gl x11 xproto fontsproto randrproto renderproto xextproto glproto xineramaproto xi dri2proto xext
configure = reconfigure
ConfigOptions = --enable-dri
Patches = regdumper.patch copy-fb.patch biosdumper.patch

[devel]
Summary = Xorg X11 Intel video driver XvMC development package
Group = Development/System
Files = xorg-x11-drv-intel-devel.files

[tools]
Summary = Xorg X11 Intel video driver diagnostics tools
Group = Development/System
Files = xorg-x11-drv-intel-tools.files



-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org




More information about the fedora-devel-list mailing list