Mailinglist Archive: opensuse (4294 mails)

< Previous Next >
Re: [opensuse] Suse 10.2 +KDE +Evolution
  • From: Andreas <linuxdreas@xxxxxxxxxxxxxx>
  • Date: Mon, 18 Dec 2006 03:04:06 -0800
  • Message-id: <200612180304.07080.linuxdreas@xxxxxxxxxxxxxx>
Le lundi 18 décembre 2006 00:18, Rainer Klier a écrit :
> but where did you get the spec-file?
> is it part of the source-rpm?

yep. it is in the source rpm.
What I do usually when I want to change a detail about an rpm is:
- download source rpm
- execute rpmbuild --rebuild <name-of-source-rpm> in the download-folder
- install all the dependencies (the rpmbuild --rebuild shows an error message
if dependencies are missing)
- cd into /usr/src/packages/SPECS
- edit the *.spec file with a simple texteditor
- execute rpmbuild -ba <name-of-the-specfile>
- hope that everything builds without an error message ;)
- install the new rpms from /usr/src/packages/RPMS/i586.

That is - very simplified - how every rpm is built.
If you want to know more about rpms, specfiles and rpmbuild, have a look at
the manpages and at http://www.rpm.org/RPM-HOWTO/

--
Gruß & Happy Holidays
Andreas
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups