[[linux_wiki:rpm_building]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:rpm_building [2016/04/14 01:38]
billdozor [Setup Build Environment]
linux_wiki:rpm_building [2019/05/26 03:50] (current)
Line 79: Line 79:
  
 Download source files, place a copy in rpmbuild'​s SOURCES directory. Download source files, place a copy in rpmbuild'​s SOURCES directory.
-  * Download the Xymon tar file +  * Download the Xymon tar file<​code bash>​wget http://​downloads.sourceforge.net/​project/​xymon/​Xymon/​4.3.21/​xymon-4.3.21.tar.gz</​code>​ 
-    * <code bash>​wget http://​downloads.sourceforge.net/​project/​xymon/​Xymon/​4.3.21/​xymon-4.3.21.tar.gz</​code>​ +  * Extract<​code bash>tar -zxvf xymon-4.3.21.tar.gz</​code>​ 
-  * Extract +  * Copy the original tar file into rpmbuild'​s SOURCES<​code bash>cp ~/​xymon-4.3.21.tar.gz ~/​rpmbuild/​SOURCES/</​code>​ 
-    * <code bash>tar -zxvf xymon-4.3.21.tar.gz</​code>​ +  * Copy all files but "​xymon.spec"​ from the xymon-4.3.21/​rpm directory into SOURCES<​code bash>cp ~/​xymon-4.3.21/​rpm/​xymon-client* ~/​rpmbuild/​SOURCES/​
-  * Copy the original tar file into rpmbuild'​s SOURCES +
-    * <code bash>cp ~/​xymon-4.3.21.tar.gz ~/​rpmbuild/​SOURCES/</​code>​ +
-  * Copy all files but "​xymon.spec"​ from the xymon-4.3.21/​rpm directory into SOURCES +
-    * <code bash>cp ~/​xymon-4.3.21/​rpm/​xymon-client* ~/​rpmbuild/​SOURCES/​+
 cp ~/​xymon-4.3.21/​rpm/​xymon-init.d ~/​rpmbuild/​SOURCES/​ cp ~/​xymon-4.3.21/​rpm/​xymon-init.d ~/​rpmbuild/​SOURCES/​
 cp ~/​xymon-4.3.21/​rpm/​xymon.logrotate ~/​rpmbuild/​SOURCES/</​code>​ cp ~/​xymon-4.3.21/​rpm/​xymon.logrotate ~/​rpmbuild/​SOURCES/</​code>​
  • linux_wiki/rpm_building.txt
  • Last modified: 2019/05/26 03:50
  • (external edit)