[Xorp-users] Interfaces must be connected to a switch all - FEDORA 12
greearb at candelatech.com
Wed Mar 17 13:03:33 PDT 2010
On 03/17/2010 06:19 AM, Achmad Basuki wrote:
> Hi Ben,
> Perhaps the easiest way to create the rpm package is by editing from
> the existing .spec file.
> 1. Download and install the src.rpm file from
> in your home directory
> # rpm -ivh http://abazh.ai3.net/xorp/fedora/12/SRPMS/xorp-1.7-WIP.1.fc12.src.rpm
> 2. The above command will automatically install the source files and
> creating directories under
> your home directory:
> 3. Modify the .spec to suit to your needs. Compiling command,
> patching, defining install directories, etc. must be defined in this
> .spec file.
> The .spec file will be at ~/rpmbuild/SPECS/
> 4. Build it (assuming "rpm-build" package has been installed)
> ex. commands:
> rpmbuild -bb xorp.ct.spec # building only the binary rpm
> rpmbuild -ba xorp.ct.spec # building binary and the source
> The .rpm packages will be stored in ~/rpmbuild/RPMS/... (binary)
> and ~/rpmbuild/SRPMS/... (source)
> That's all I guess, but maybe you and other have different approaches
> on creating the RPMs.
I'll take a look at this as soon as I get a few bugs fixed.
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Xorp-users