Hi!
Da ich in der Suche nichts fand mach ich mal nen neuen Tread auf.
Wie kann ich RPMs selbst erzeugen? Bei installationen ohne RPM fühl ich mich nich immer besonders wohl und wenn ich zB Firefox updaten will gibts da kein RPM für.. wie kann man sowas selbst erzeugen?
Danke im Vorraus
Jonboy
RPM erzeugen
Building RPMs is fairly easy to do, especially if you can get the software you are trying to package to build on its own. We assume here that you know how to build software from source. If you don't you probably shouldn't be starting with this document.
+++okay
The basic procedure to build an RPM is as follows:
*
Get the source code you are building the RPM for to build on your system.
*
+++ Kein Thema
Make a patch of any changes you had to make to the sources to get them to build properly.
*
Für Standartsoftware?
Make a spec file for the package.
*
+++ Was für ein spezifisches?
Make sure everything is in its proper place.
*
+++ Dat krieg ich hin
Build the package using RPM.
und wie mach ich das? Brauch ich da ein Tool für is das in der Komandozeile bereits drinn?
+++okay
The basic procedure to build an RPM is as follows:
*
Get the source code you are building the RPM for to build on your system.
*
+++ Kein Thema
Make a patch of any changes you had to make to the sources to get them to build properly.
*
Für Standartsoftware?
Make a spec file for the package.
*
+++ Was für ein spezifisches?
Make sure everything is in its proper place.
*
+++ Dat krieg ich hin
Build the package using RPM.
und wie mach ich das? Brauch ich da ein Tool für is das in der Komandozeile bereits drinn?
Hi,
Im Prinzip kannst du das Spec-File als Vorlage nehmen und deine Befehle reinschreiben. Wenn du also ein Programm hast, welches du mit "configure && make && make install" installieren kannst, dann traegst du diese Befehle in den entsprechenden Abschnitt ein.
Das sieht dann ungefaehr so aus:
Gruss,
Alex
Nein, fuer Standardsoftware ist das nicht noetig. Wenn du nichts patchen musstest, dann kannst du den Punkt ueberspringen.Make a patch of any changes you had to make to the sources to get them to build properly.
*
Für Standartsoftware?
Ein Beispiel fuer ein Spec-File findest du auf der obigen Seite unter 6.1 im grauen Kasten. Dieses Beispiel ist extra nicht fuer Standardsoftware gemacht, damit der User sieht was alles moeglich ist. Ein Beispiel fuer Standardsoftware waere zu einfach.Make a spec file for the package.
*
+++ Was für ein spezifisches?
Im Prinzip kannst du das Spec-File als Vorlage nehmen und deine Befehle reinschreiben. Wenn du also ein Programm hast, welches du mit "configure && make && make install" installieren kannst, dann traegst du diese Befehle in den entsprechenden Abschnitt ein.
Das sieht dann ungefaehr so aus:
Du musst natuerlich noch den Teil ueber SCHNIPP und den unter SCHNAPP mit deinen Werten auffuellen. Also ueber SCHNIPP kommt die allgemeine Programmbeschreibung und unter SCHNAPP noch die Auflistung der Dateien, die installiert werden. Ist alles weiter unten auf der Seite genau erklaert.---SCHNIPP---
%prep
./configure
%build
make
%install
make install
%clean
rm -rf $RPM_BUILD_ROOT
---SCHNAPP---
Gruss,
Alex