Changes between Version 8 and Version 9 of RpmHowToPackagers
- Timestamp:
- Oct 30, 2010, 10:05:31 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RpmHowToPackagers
v8 v9 8 8 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. 9 9 10 The first time you start ''rpmbuild.exe'', it will create a set of directories in your %HOME% directory:10 RPM packages are created from .spec files using the ''rpmbuild'' command. The first time you try to build a package (see '''Building package''' below), rpmbuild will create a set of directories in your %HOME% directory that it uses for the package generation process: 11 11 * %HOME%\rpmbuild\BUILD (temporary storage for compiled files) 12 12 * %HOME%\rpmbuild\BUILDROOT (temporary storage for installed files)