58 |
|
|
59 |
c) Creating Redhat packages |
c) Creating Redhat packages |
60 |
|
|
61 |
TODO |
You need to have the rpmbuild tool installed and properly configured to |
62 |
|
create RPM packages. To create the RPM packages do the following: |
63 |
|
|
64 |
|
* Get .spec file generated by ./configure and edit it as appropriate. |
65 |
|
|
66 |
|
* Copy the source tarball to "/usr/src/<rpmdir>/SOURCES" directory, |
67 |
|
where <rpmdir> is dependent to the system you are using. For SuSE |
68 |
|
<rmpdir> will be "packages", for Mandrake <rpmdir> is "RPM" and for |
69 |
|
Redhat / Fedora <rpmdir> always equals "redhat". |
70 |
|
|
71 |
|
* Build the rpm(s) by invoking 'rpmbuild -bb <specfile>' from the |
72 |
|
command line. |
73 |
|
|
74 |
|
On success, the resulting rpm(s) can usually be found under the proper |
75 |
|
"/usr/src/<rpmdir>/RPMS/<arch>" directory. |
76 |
|
|
77 |
Tools |
Tools |
78 |
===== |
===== |