Changes between Version 21 and Version 22 of RpmHowToPackagers
- Timestamp:
- Sep 29, 2011, 9:57:16 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RpmHowToPackagers
v21 v22 15 15 The 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. 16 16 17 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. 18 18 19 19 Instead 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.