[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Oprettelse af RPM pakker



Niels Træholt Franck wrote:
> FIndes der et værktøj der ud fra et programs makefile kan lave en
> rpm pakke?
Nej, ikke fra Makefilen, så vidt jeg ved.

Men hvis du i den .tar.gz-fil, som du skaber, inkluderer en
SOFTWARENAVN.spec-fil, kan man bygge binære RPM'er ud af tar.gz-filen:
rpm -tb SOFTWARENAVN.tar.gz

Det interessante er at få skabt en fornuftig .spec-fil. Til dette formål
er der vist forskellige værktøjer (søg på Freshmeat). Alternativt kan
man lade sig inspirere af andre softwarepakker's .spec-filer.

For info om RPM-bygning:
http://rpmdp.org/rpmbook/

Desværre halter RPM-systemets dokumentation meget. Primært fordi den
ikke har været opdateret i evigheder.

Hvis du vælger at knytte post-(un-)installation til dine RPM-pakker, så
vil jeg særligt råde til at læse
http://rpmdp.org/rpmbook/node112.html#SECTION031243100000000000000

For at kunne skelne mellem install og update-situationerne er det nemlig
vigtigt at forstå, hvad der menes med fx.:
if [ "$1" = 0 ];

-- 
Greetings from Troels Arvin, Copenhagen, Denmark


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *