Page 1 of 5 123 ... LastLast
Results 1 to 10 of 50

Thread: First try

  1. #1

    Default First try

    I never worked with OBS neither ever made any packages other than for myself. So I just decided to give it a try.

    For my attempt I choose Ultimate++, an IDE for programming in C++ because

    a) it is useful,
    b) it is rather modern,
    c) it is adapted for OpenSUSE and RPM,
    d) it does not exist in any OpenSUSE repo.

    I uploaded this file:
    Download U++ from SourceForge.net

    but OBS said the package in broken because there is no spec file. But thiere IS a spec file inside the archive. What am I doing wrong here?

  2. #2
    palladium NNTP User

    Default Re: First try

    Ansus wrote:
    > What am I doing wrong here?


    maybe didn't spend enough time reading how to do it right?

    --
    palladium

  3. #3
    palladium NNTP User

    Default Re: First try

    Ansus wrote:
    > but OBS said the package in broken because there is no spec file. But
    > thiere IS a spec file inside the archive. What am I doing wrong here?


    perhaps i posted too quickly--sorry, instead i probably should have asked:

    Does the included spec file meet the requirements laid out in:

    http://en.opensuse.org/Packaging/SUS...ge_Conventions ?

    that section is intended to help folks who are already experienced in
    creating RPM packages to create packages that conform to SUSE
    specifications..

    what is your experience with creating RPM packages?

    i believe experience is a requirement which _might_ be satisfied by
    reading, instruction, self-study and the clarifying of hazy sections
    though pointed questions here (or in the mail list/IRC, as suggested)..

    but, probably not by 'trying' as your subject indicates is your
    current technique..

    nor is it likely it come through asking: "What am I doing wrong here?"
    and waiting for someone to point you to a comprehensive step-by-step
    *other* than the one already available..

    --
    palladium

  4. #4

    Default Re: First try

    So it is impossible to add a tarball or a link to SVN?

  5. #5

    Default Re: First try

    Does the included spec file meet the requirements laid out in:
    I do not know. OBS simply cannot find the spec file. I suppose, because it is inside the tarball.

  6. #6

  7. #7
    palladium NNTP User

    Default Re: First try

    Ansus wrote:
    > So it is impossible to add a tarball or a link to SVN?


    no idea, but i would guess the answer is within the documentation, or
    in the previous experience you bring to this point:

    http://en.opensuse.org/Build_Service

    --
    palladium

  8. #8

    Default Re: First try

    From the tutorial:

    Get the project's source files necessary to build the package. Most projects provide source files in compressed tarballs.
    So I should unpack the tarball and upload all the files one by one?

  9. #9

    Default Re: First try

    Also from the tutorial (directly below):

    Step Four - Get project source files

    Get the project's source files necessary to build the package. Most projects provide source files in compressed tarballs.

    Step Five - Create the spec file

    Now that you have the source you follow the usual RPM creation process. Create a specfile for the package.
    But I think it boils down to this:

    Prerequisites

    You should have a general understanding about RPMs and how they are created (see also packaging conventions for SUSE), or else a similar understanding of another supported packaging system such as dpkg. This document is not meant to be a replacement for packaging documentation, which can be found at the above links.
    So maybe you should start by learning how to build (openSUSE-)RPM packages in the first place (and do that locally) before you start with OBS.

  10. #10
    palladium NNTP User

    Default Re: First try

    Akoellh wrote:
    > So maybe you should start by learning how to build (openSUSE-)RPM
    > packages in the first place (and do that locally) before you start with
    > OBS.


    i mentioned that in a different way and was ignored..
    lets see if the routine of ignore and try try try try try try etc
    eventually produces an installable openSUSE package for Ultimate++.

    when you say "do that locally" i believe you mean he should first
    learn how to build RPM packages on his own machine, as is explained
    here: http://en.opensuse.org/SUSE_Build_Tutorial

    --
    palladium

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •