Changes between Version 22 and Version 23 of RpmHowToPackagers


Ignore:
Timestamp:
Sep 29, 2011, 8:04:23 PM (13 years ago)
Author:
dmik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RpmHowToPackagers

    v22 v23  
    1515The Fedora project has a very good [http://fedoraproject.org/wiki/How_to_create_an_RPM_package manual on creating RPM packages]. It is recommended for reading in addition to these brief instructions to get deeper understanding of the RPM creation process.
    1616
    17 Also, there is a Fedora [http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html RPM Guide] that may be used as an RPM reference documentation.
     17Also, there is a Fedora [http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html-single/RPM_Guide/ RPM Guide] that may be used as an RPM reference documentation.
    1818
    1919Instead of writing a .spec file from scratch, you can get an existing one: a good source for them is the [http://www.rpmfind.net RPM find service]. Enter the name of your package, and choose a distribution. Usually packages for Fedora or OpenSUSE 11.3 are good. Select your package from the left link, you will get a page with all details; one of them is the .src.rpm package, it contains the spec file, platform specific patches, package sources (in .tar.gz, .tar.bz2, .tar.xz format). Use  unrpm.cmd (check bootstrap directory) to extract all files to a temporary location.