Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
dev:sahana_packaging_rpm [2009/02/26 22:07] fran |
dev:sahana_packaging_rpm [2009/02/28 20:27] fran |
||
---|---|---|---|
Line 12: | Line 12: | ||
mkdir -p / | mkdir -p / | ||
mkdir -p / | mkdir -p / | ||
+ | cd / | ||
+ | mkdir BUILD RPMS SRPMS SOURCES SPECS | ||
2. Create a file / | 2. Create a file / | ||
Line 57: | Line 59: | ||
</ | </ | ||
- | 3. Execute the following commands | + | 3. Download the sahana source tar ball and extract it to / |
- | < | + | |
- | cd / | + | |
- | mkdir BUILD RPMS SRPMS SOURCES SPECS | + | |
- | + | ||
- | </ | + | |
- | 4. Download the sahana source tar ball and extract it to / | + | |
The folder / | The folder / | ||
- | 5. Execute the following command | + | 4. Execute the following command |
< | < | ||
cd / | cd / | ||
Line 75: | Line 71: | ||
</ | </ | ||
- | 6. Create a file named ' | + | 5. Create a file named ' |
< | < | ||
- | %packager | + | %packager |
%vendor | %vendor | ||
Line 85: | Line 81: | ||
7. Execute the following command to create the rpm. | 7. Execute the following command to create the rpm. | ||
- | < | + | |
- | cd /tmp | + | rpmbuild -bb sahana.spec |
- | rpmbuild -bb sahana.spec | + | |
- | + | ||
- | </ | + | |
8. The rpm file will be created under / | 8. The rpm file will be created under / | ||