This directory contains source RPMs for various versions of Fedora. These RPMs were used to build the binary RPMs that are also provided on this site, but they can also be used to build your own for versions of Fedora that we don't provide binary RPMs for. These RPMs can also be used to build binaries for CentOS.
To build your own binary RPMs, proceed as follows.
- Download the source RPM.
-
If you don't have this already, create a file in your home
directory called
~/.rpmmacros
with just the following line:
%_topdir %(echo ${HOME}/rpmbuild)
Create the following (empty) directories:
mkdir -p ~/rpmbuild/{RPMS,SRPMS,SPECS,SOURCES,BUILD,BUILDROOT}
-
Extract:
rpm -i MonetDB-....src.rpm
This will create two files, one in~/rpmbuild/SPECS
calledMonetDB.spec
and the other in~/rpmbuild/SOURCES
. -
Make sure you have all prerequisites:
sudo dnf install /usr/bin/yum-builddep rpm-build
sudo yum-builddep ~/rpmbuild/SPECS/MonetDB.spec
-
Build:
rpmbuild -bb ~/rpmbuild/SPECS/MonetDB.spec
The end result of this process will be in ~/rpmbuild/RPMS
.