lemonldap-ng/rpm
Clément OUDOT fddab8f0f2 Update packaging files 2022-09-15 16:03:30 +02:00
..
README Update RPM README 2017-09-01 13:51:34 +00:00
lemonldap-ng.fc Initial SELinux policy for cache files (#2401) 2020-12-21 16:17:32 +01:00
lemonldap-ng.spec Update packaging files 2022-09-15 16:03:30 +02:00
lemonldap-ng.te Initial SELinux policy for cache files (#2401) 2020-12-21 16:17:32 +01:00

README

== 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 tarball in %_topdir/SOURCES (built with 'make dist')
- Edit ~/.rpmmacros and set your build parameters:
-----
%_topdir /home/user/build
%dist .el7
%rhel 7
-----
- Go to %_topdir
- Do rpmbuild -ta SOURCES/lemonldap-ng-VERSION.tar.gz

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

== Update YUM repository ==

The YUM repository is hosted on http://lemonldap-ng.org/rpm7

First copy RPM files (they must be signed!) and source RPM:
$ scp *.noarch.rpm lemonldapng@lemonldap-ng.org:redhat/2.0/7/noarch/
$ scp *.src.rpm lemonldapng@lemonldap-ng.org:redhat/2.0/7/SRPMS/

Then connect on server and launch repodata:
$ ssh lemonldapng@lemonldap-ng.org
lemonldapng@lemonldap-ng.org$ cd redhat/2.0/7/
lemonldapng@lemonldap-ng.org$ createrepo noarch
lemonldapng@lemonldap-ng.org$ createrepo SRPMS

That's all!