Creating an Eprints RPM
Download an appropriate EPrints Release
Install rpm-build (depending on your package manager):
up2date rpm-build yum install -y rpm-build
Download the Eprints source file (eprints-x.x.x.tar.gz, version 3.0.1 and above).
Create the RPM and source RPMs (will error if there are any missing dependencies):
rpmbuild -ta eprints-x.x.x.tar.gz
The RPMs should be written to /usr/src/redhat/RPMS/ and /usr/src/redhat/SRPMS/
Building a Yum repository
Install createrepo from http://linux.duke.edu/projects/metadata/.
Create a directory structure containing RPMS and SRPMS directories:
. ./RPMS ./SRPMS
To create the repository metadata execute:
This should create a repodata directory.
Building an up2date repository
up2date uses an 'obsolete' repository structure and requires yum-arch (isn't in Yum version 3):