Hi,
A spec file has more than just a header, it has other sections like:
* %prep (where you prepare your package. Ex: uncompress it, apply patches, etc)
* %build (where you build the stuff)
* %install (where you install the stuff)
* %files (where you set the files)
etc... etc etc...
Look into this: http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
NM
On Sat, Jun 18, 2011 at 11:32 PM, Kim Leyendecker
Dear packagers,
I created a spec-file for my app according to this reference: http://www.rpm.org/max-rpm/s1-rpm-specref-scripts.html
My app should be build with OBS, and here´s my spec-file:
The reference says, that I can use every valid sh-command, so, I used the command to decompress the source tarball and the "make" command for building from sources.
Oh, I think, I forgot something like configure?
What do you think?
thanks in advance,
-- Kim Leyendecker kdl@k-dl.de.vu openSUSE Ambassador, openSUSE Wiki DE Send from my notebook
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-- Nelson Marques /* As cicatrizes lembram-nos de onde estivemos, mas não ditam para onde vamos */ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org