diff --git a/build/redhat/README b/build/redhat/README new file mode 100644 index 000000000..5d733b107 --- /dev/null +++ b/build/redhat/README @@ -0,0 +1,8 @@ +How to build LemonLDAP::NG for RedHat/CentOS + +- Install rpm-build package +- Install all perl dependencies +- Put lemonldap-ng.spec in /usr/src/redhat/SPECS +- Put LemonLDAP::NG tarball in /usr/src/redhat/SOURCES +- Go to /usr/src/redhat +- Do rpmbuild -ba SPECS/lemonldap-ng.spec diff --git a/build/redhat/lemonldap-ng.spec b/build/redhat/lemonldap-ng.spec new file mode 100644 index 000000000..999c86055 --- /dev/null +++ b/build/redhat/lemonldap-ng.spec @@ -0,0 +1,42 @@ +Name: lemonldap-ng +Version: 0.9.2 +Release: 1%{?dist} +Summary: Lemonldap-ng Web SSO module + +Group: Applications/System +License: GPL +URL: http://wiki.lemonldap.objectweb.org +Source0: http://download.forge.objectweb.org/lemonldap/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl-Apache-Session, perl-LDAP, perl-Email-MIME-Encodings, perl-CGI-Session, +Requires: perl-libwww-perl, perl-DBI, perl-Cache-Cache, perl-XML-Simple, perl-SOAP-Lite, perl-HTML-Template + +%description +Lemonldap::NG is a modular Web-SSO based on Apache::Session modules. It simplifies the build of a protected area with a few changes in the application. It manages both authentication and authorization and provides headers for accounting. So you can have a full AAA protection for your web space as described below. + +%prep +%setup -q + +%build +make %{?_smp_mflags} +make test + +%install +rm -rf $RPM_BUILD_ROOT +make install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc + +%changelog +* Tue Oct 7 2008 David Hannequin +- initial RPM