STEPS FOR CREATING THE RPM FILES:::
A) first we have to create the five file in any directory i.e::::
mkdir -p BUILD RPMS SOURCES SPECS SRPMS
B) create your binary file of any program like i created one program of hello world!! and then compile it then it become the binary file.
copy that binary file into that path SOURCE->rpmdemo-0.1 ->bin
then make the tar file of the rpmdemo-0.1.tar.gz.
Then make the spec file and past it into the SPECS folder .
Some changes in the spec file are : change the name of rpm of your output(binary of the hello world.).
then compile it by that command :::
rpmbuild -v -bb --clean SPECS/rpmdemo.spec --define "_topdir${PWD}"
----------------------------------------------------------------------------------------------------------
Only .tar.gz, .tar, .tgz and .tar.Z can be used with RPM.
************************************************************************
Some useful links::
http://home.gna.org/subtitleeditor/
A) first we have to create the five file in any directory i.e::::
mkdir -p BUILD RPMS SOURCES SPECS SRPMS
B) create your binary file of any program like i created one program of hello world!! and then compile it then it become the binary file.
copy that binary file into that path SOURCE->rpmdemo-0.1 ->bin
then make the tar file of the rpmdemo-0.1.tar.gz.
Then make the spec file and past it into the SPECS folder .
Some changes in the spec file are : change the name of rpm of your output(binary of the hello world.).
then compile it by that command :::
rpmbuild -v -bb --clean SPECS/rpmdemo.spec --define "_topdir${PWD}"
----------------------------------------------------------------------------------------------------------
Only .tar.gz, .tar, .tgz and .tar.Z can be used with RPM.
************************************************************************
Some useful links::
http://home.gna.org/subtitleeditor/
No comments:
Post a Comment