Mailinglist Archive: opensuse-packaging (220 mails)

< Previous Next >
Re: [opensuse-packaging] What´s wrong with my spec-file?
On 06/19/2011 12:32 AM, Kim Leyendecker wrote:
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:

https://build.opensuse.org/package/view_file?file=diav.spec&package=diav-3.1&project=home%3AopenLHAG&srcmd5=bcb3bebbf8b993bde14f0cd113cecace

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,


A good starting point for a spec file is "rpmdev-newspec" which generates a bare openSUSE spec file, I use it as a starting point for any new package I create. The max-rpm site is an excellent reference for rpmbuild but it doesn't have openSUSE specific information.
You will find the package "rpmdevtools" in "devel:tools" :
http://download.opensuse.org/repositories/devel:/tools/openSUSE_11.4

Regards
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References