Hai all ,
Iam working as support specialist in system administration team . Iam looking for creating my own RPM in centos . Can any one helping me to find a solution for this ? ............
making RPM
Re: making RPM
The following wiki links may help to get you started:
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://wiki.centos.org/HowTos/RebuildSRPM
Generally speaking, the easiest way to learn is to start by grabbing an existing SRPM from somewhere and rebuilding it. You can also rpm --install the SRPM and look at the spec file. One way to work is to identify a package from a third party repo that you would like a newer version of - grab their SRPM, rebuild it first to make sure it works unaltered then edit the spec file to substitute your newer source tar file and rebuild that.
You could also investigate using mock which lets you build rpms for different versions of the o/s - so can e.g. build for el5 on an el6 system etc.
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://wiki.centos.org/HowTos/RebuildSRPM
Generally speaking, the easiest way to learn is to start by grabbing an existing SRPM from somewhere and rebuilding it. You can also rpm --install the SRPM and look at the spec file. One way to work is to identify a package from a third party repo that you would like a newer version of - grab their SRPM, rebuild it first to make sure it works unaltered then edit the spec file to substitute your newer source tar file and rebuild that.
You could also investigate using mock which lets you build rpms for different versions of the o/s - so can e.g. build for el5 on an el6 system etc.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke