Re: [CentOS] building CentOS rpms?
Dave wrote: > Hello, > I'd like to get in to rpm building and am looking for a CentOS > specific document if any to get me going? I want to repackage an existing > rpm and give it different runtime options so it'll work on a server, and > make an rpm at least one probably more, and then submit them to the rpmforge > repo. > Googling showed me some old Suse docs on this subject. Any help > appreciated. > Thanks. > Dave. > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > Or you can just go to the CentOS Wiki: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment HTH. Lee ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] building CentOS rpms?
Hello, One of the rpms has a src.rpm file, the other one i need to make. I'd also like to do this as a nonroot user. Thanks. Dave. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Mfawa Alfred Onen Sent: Friday, August 14, 2009 9:00 PM To: CentOS mailing list Subject: Re: [CentOS] building CentOS rpms? On Sat, Aug 15, 2009 at 1:31 AM, Dave wrote: > > Hello, > I'd like to get in to rpm building and am looking for a CentOS > specific document if any to get me going? I want to repackage an > existing rpm and give it different runtime options so it'll work on a > server, and make an rpm at least one probably more, and then submit > them to the rpmforge repo. > Googling showed me some old Suse docs on this subject. Any help > appreciated. > Thanks. > Dave. Well dave, you can start off by getting the source rpms of the packages you want to modify and when done editing the spec file you can easily use the rpmbuild command to recreate the rpms with your changes. Hope it helps? Cheers! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] building CentOS rpms?
Dave, --- On Fri, 8/14/09, Dave wrote: > From: Dave > Subject: [CentOS] building CentOS rpms? > To: centos@centos.org > Date: Friday, August 14, 2009, 5:31 PM > Hello, > I'd like to get in to rpm building and > am looking for a CentOS > specific document if any to get me going? I want to > repackage an existing > rpm and give it different runtime options so it'll work on > a server, and > make an rpm at least one probably more, and then submit > them to the rpmforge > repo. The rpmforge repo is independent (but much loved) from Centos. It has its own rules and mailing lists. http://lists.rpmforge.net/ To get started you need a small toolset called rpmdevtools (found at Epel). (usage): To make a buildroot in your home folder, rpmdev-setuptreeCreate RPM build tree within user's home directory The bible for building rpm packages was written by Ed Bailey http://www.rpm.org/max-rpm/ Fedora has stellar docs for rpm building, compatible with Centos https://fedoraproject.org/wiki/Packaging/Guidelines To modify an SRPM, you need to extract the source to your buildroot first. If you want to change default values in a config file, then rebuild the rpm, you can use rpmbuild. -- Mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] building CentOS rpms?
On Sat, Aug 15, 2009 at 1:31 AM, Dave wrote: > > Hello, > I'd like to get in to rpm building and am looking for a CentOS > specific document if any to get me going? I want to repackage an existing > rpm and give it different runtime options so it'll work on a server, and > make an rpm at least one probably more, and then submit them to the rpmforge > repo. > Googling showed me some old Suse docs on this subject. Any help > appreciated. > Thanks. > Dave. Well dave, you can start off by getting the source rpms of the packages you want to modify and when done editing the spec file you can easily use the rpmbuild command to recreate the rpms with your changes. Hope it helps? Cheers! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] building CentOS rpms?
Hello, I'd like to get in to rpm building and am looking for a CentOS specific document if any to get me going? I want to repackage an existing rpm and give it different runtime options so it'll work on a server, and make an rpm at least one probably more, and then submit them to the rpmforge repo. Googling showed me some old Suse docs on this subject. Any help appreciated. Thanks. Dave. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos