CommunityWeek/PackagingSession

From openSUSE

Contents

Packaging Session

where: #opensuse-buildservice
when: Monday 11.5.2009 9:00 UTC
when: Tuesday 12.5.2009 15:00 UTC
when: Friday 15.5.2009 12:00 UTC

Update

To make the Tuesday session more interesting, participants are encouraged to choose any open source software they miss in openSUSE. During the session they will have the opportunity to package it and discuss any problems immediately.

About

In a few minutes will be explained a process of creating RPM packages. Download upstream archive, write a spec file, built it using Build_Service, fix some issues and sent to Contrib repository.

Prerequisites

Even if the process itself is simple and short, it would be nice to have some things prepared before a session.

  1. Have a Novell account - visit build.opensuse.org, click on Login and Create a new account to obtain it.
  2. Have an osc installed ...
  3. ... and configured for local build
  4. Create your home project and allow building for (at least) openSUSE 11.1
  5. Installed quilt for patches maintenance

Those things are explained on Build_Service/Tutorial.

Latest copy of osc

Because a command line tool named osc is under active development, it should be better to install a latest available version (example is for openSUSE_11.1, for older releases, just change a version number).

zypper ar http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/openSUSE:Tools.repo
zypper ref
zypper in osc build

The build package contains a /usr/bin/build which prepares a chroot and starts a build process.