Commit 17eee08a authored by Clément OUDOT's avatar Clément OUDOT

Merge branch 'master' into 'master'

Preliminary Clean-up  for modern RPM distros (SLES12+, EL7+, Fedora)

See merge request lemonldap-ng/lemonldap-ng!9
parents 1015e446 4d932787
......@@ -59,15 +59,9 @@ Name: %{real_name}
Version: %{real_version}
Release: 1%{?dist}
Summary: LemonLDAP-NG WebSSO
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
License: GPL v2
URL: http://lemonldap-ng.org
Source0: http://lemonldap-ng.org/download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildArch: noarch
BuildRequires: perl(Apache::Session)
......@@ -145,11 +139,6 @@ So you can have a full AAA protection for your web space as described below.
#==============================================================================
%package -n lemonldap-ng-conf
Summary: LemonLDAP-NG configuration
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n lemonldap-ng-conf
This package contains the main storage configuration.
......@@ -159,11 +148,6 @@ This package contains the main storage configuration.
#==============================================================================
%package -n lemonldap-ng-doc
Summary: LemonLDAP-NG documentation
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n lemonldap-ng-doc
This package contains html documentation.
......@@ -173,11 +157,6 @@ This package contains html documentation.
#==============================================================================
%package -n lemonldap-ng-fr-doc
Summary: LemonLDAP-NG French documentation
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n lemonldap-ng-fr-doc
This package contains html documentation translated in French.
......@@ -186,12 +165,6 @@ This package contains html documentation translated in French.
# Handler
#==============================================================================
%package -n lemonldap-ng-handler
Summary: LemonLDAP-NG Handler
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n lemonldap-ng-handler
This package deploys the Apache Handler.
......@@ -201,11 +174,6 @@ This package deploys the Apache Handler.
#==============================================================================
%package -n lemonldap-ng-manager
Summary: LemonLDAP-NG administration interface
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n lemonldap-ng-manager
This package deploys the adminsitration interface and sessions explorer.
......@@ -215,7 +183,6 @@ This package deploys the adminsitration interface and sessions explorer.
#==============================================================================
%package -n lemonldap-ng-portal
Summary: LemonLDAP-NG authentication portal
Group: Applications/System
%description -n lemonldap-ng-portal
This package deploys the authentication portal.
......@@ -225,11 +192,6 @@ This package deploys the authentication portal.
#==============================================================================
%package -n lemonldap-ng-test
Summary: LemonLDAP-NG test applications
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n lemonldap-ng-test
This package deploys small test applications.
......@@ -239,11 +201,6 @@ This package deploys small test applications.
#==============================================================================
%package -n lemonldap-ng-fastcgi-server
Summary: LemonLDAP-NG FastCGI Server
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
Requires: perl-FCGI-ProcManager
%description -n lemonldap-ng-fastcgi-server
......@@ -255,11 +212,6 @@ This package deploys files needed to start a FastCGI server.
%package -n perl-Lemonldap-NG-Common
Summary: LemonLDAP-NG Common Modules
Version: %{cpan_common_version}
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n perl-Lemonldap-NG-Common
This package installs the configuration libraries used by other LemonLDAP::NG modules.
......@@ -270,11 +222,6 @@ This package installs the configuration libraries used by other LemonLDAP::NG mo
%package -n perl-Lemonldap-NG-Handler
Summary: LemonLDAP-NG Handler Modules
Version: %{cpan_handler_version}
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n perl-Lemonldap-NG-Handler
This package installs the Apache module part (handler) used to protect web areas.
......@@ -285,11 +232,6 @@ This package installs the Apache module part (handler) used to protect web areas
%package -n perl-Lemonldap-NG-Manager
Summary: LemonLDAP-NG Manager Modules
Version: %{cpan_manager_version}
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n perl-Lemonldap-NG-Manager
This package installs the administration interface (manager).
......@@ -300,11 +242,6 @@ This package installs the administration interface (manager).
%package -n perl-Lemonldap-NG-Portal
Summary: LemonLDAP-NG Portal Modules
Version: %{cpan_portal_version}
%if 0%{?rhl}%{?rhel}%{?fedora}
Group: Applications/System
%else
Group: Monitoring
%endif
%description -n perl-Lemonldap-NG-Portal
This package installs the authentication portal.
......@@ -347,8 +284,6 @@ chmod +x %{__perl_requires}
# Installation
#============================================================================
%install
rm -rf %{buildroot}
%{__make} %{?_smp_mflags} install \
DESTDIR=%{buildroot} \
PREFIX=%{lm_prefix} \
......@@ -484,9 +419,6 @@ if [ $1 -eq 1 ] ; then
rm -f %{apache_confdir}/z-lemonldap-ng.conf 2>&1 > /dev/null || :
fi
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment