OBS (and OBS Light) are not designed to build single files. They suppose you have got an archive of your sources, and a Spec file to describe the packaging process. At the moment, there is no wizard to help you creating the Spec file. The best documentation I know about Spec files is there: http://www.rpm.org/max-rpm/ .

An example roadmap to build on OBS:
1. Create a new project
2. Create a new package
3. Upload your package archive and Spec file
4. Add a build target
5. The package starts to build automatically

On OBS Light we suppose the project is already created on OBS and has a build target:
1. Import the project
2. Create a new package
3. Upload your package archive and Spec file
4. Either commit to OBS ("Commit changes" button) or build the package locally ("%prep" button in "Project filesystem" tab).

I hope this will help you.

Florent Vennetier
Intel Open Source Technology Center


Le 06/08/2012 14:05, Nicolas Zingile a écrit :
Ok thanks. I knew. I'm sorry but my question wasn't precise enough. I would like to know what is the roadmap to follow to build a package against a project ? When I create my package, what should I do to enable the build process by OBS ? For example I would like to build an hello world package for Tizen:1.0:Main. I edited an hello.c file and I put it in my empty package. What are the next steps ?

Thank you !

2012/8/6 Ronan Le Martret (Intel OTC) <[email protected] <mailto:[email protected]>>

    Hi Nicolas,
    you can create a package from scratch of two different ways:
    -By web UI:
            *select a project.
            *select "Packages".
            *select "Create package".
            -enter "Name","Title" and Description.
    Now you have an empty package.

    -By OBS Light:
            *select a project.
            *In the package section select "New".
            -enter "Name","Title" and Description.
    Now you have an empty package.


    Le 06/08/2012 13:03, Nicolas Zingile a écrit :

        Hi,

        It seems that we can't create a package from scratch with the
        Web UI or
        OBS Light. You can only create a package using an existing
        package of a
        project. I wonder what is the entry point of this system ? How
        to create
        a package from scratch and put it in your OBS ?


        _______________________________________________
        MeeGo-distribution-tools mailing list
        [email protected]
        <mailto:[email protected]>
        http://lists.meego.com/listinfo/meego-distribution-tools



-- Ronan Le Martret
    Intel Open Source Technology Center


    _______________________________________________
    MeeGo-distribution-tools mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.meego.com/listinfo/meego-distribution-tools




_______________________________________________
MeeGo-distribution-tools mailing list
[email protected]
http://lists.meego.com/listinfo/meego-distribution-tools
_______________________________________________
MeeGo-distribution-tools mailing list
[email protected]
http://lists.meego.com/listinfo/meego-distribution-tools

Reply via email to