-
Notifications
You must be signed in to change notification settings - Fork 20
BuildingOnLinux
Phil Shafer edited this page Oct 4, 2013
·
1 revision
Here are my notes from building RPMs under Fedora18. This is run under vagrant (vagrantup.com).
fetch http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz
wget http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz
tar zxf yum-3.4.3.tar.gz
cd yum-3.4.3
make
make install
yum install rpm-build.x86_64
yum install redhat-rpm-config.noarch
yum install libxml2-devel.x86_64
yum install libxslt-devel.x86_64
yum install libcurl-devel.x86_64
yum install libssh2-devel.x86_64
yum install bison.x86_64
yum install bison-devel.x86_64
yum install libedit-devel.x86_64
Optional:
yum install ntpdate.x86_64
rpm -i /vagrant/ntpdate-4.2.6p5-8.fc18.x86_64.rpm
wget https://github.com/Juniper/libslax/releases/download/0.16.16/libslax-0.16.16.tar.gz
tar zxf libslax-0.16.16.tar.gz
cd libslax-0.16.16
sh bin/setup.sh
../configure
cp /vagrant/libslax-0.16.16.tar.gz /root/rpmbuild/SOURCES/
rpmbuild -ba packaging/libslax.spec