lemonldap-ng/build/rpm
2009-07-08 07:19:18 +00:00
..
lemonldap-ng.spec Little mistake in package dependencies 2009-07-08 07:19:18 +00:00
README RPMs are not RedHat specific anymore 2009-07-07 09:16:35 +00:00

How to build RPM LemonLDAP::NG 

%_topdir: where you build RPMs (by default, /usr/src/redhat)

- Install rpm-build package
- Install all build dependencies (see BuildRequires in lemonldap-ng.spec)
- Put lemonldap-ng.spec in %_topdir/SPECS
- Put LemonLDAP::NG tarball in %_topdir/SOURCES
- Edit ~/.rpmmacros and set your build parameters (example for RHEL5):
-----
%_topdir /home/user/build
%dist .el5
%rhel 5
-----
- Go to %_topdir
- Do rpmbuild -ba SPECS/lemonldap-ng.spec

This RPM can be build for several distribution like RedHat, CentOS, Fedora, OpenSuSE...