summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.spec')
-rw-r--r--urpmi.spec16
1 files changed, 15 insertions, 1 deletions
diff --git a/urpmi.spec b/urpmi.spec
index 6c18dba2..cbaa2775 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -81,6 +81,16 @@ Group: %{group}
urpmi-parallel-ssh is an extension module to urpmi for handling
distributed installation using ssh and scp tools.
+%package -n urpmi-ldap
+Summary: Extension to urpmi to specify media configuration via LDAP
+Requires: urpmi >= %{version}-%{release}
+Requires: openldap-clients
+Group: %{group}
+
+%description -n urpmi-ldap
+urpmi-ldap is an extension module to urpmi to allow to specify
+urpmi configuration (notably media) in an LDAP directory.
+
%prep
%setup -q -n %{name}
@@ -104,7 +114,7 @@ install -m 644 gurpmi.pm %{buildroot}%{compat_perl_vendorlib}/gurpmi.pm
rm -rf %{buildroot}%{_sbindir}/gurpmi
%endif
mkdir -p %{buildroot}%{compat_perl_vendorlib}/urpm
-for p in args cfg download msg util sys parallel_ka_run parallel_ssh prompt
+for p in args cfg download msg util sys parallel_ka_run parallel_ssh prompt ldap
do
install -m 644 urpm/$p.pm %{buildroot}%{compat_perl_vendorlib}/urpm/$p.pm
done
@@ -234,6 +244,10 @@ if (-e "/etc/urpmi/urpmi.cfg") {
%dir %{compat_perl_vendorlib}/urpm
%{compat_perl_vendorlib}/urpm/parallel_ssh.pm
+%files -n urpmi-ldap
+%doc urpmi.schema
+%{compat_perl_vendorlib}/urpm/ldap.pm
+
%changelog
* Wed May 04 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 4.7.2-1mdk
- Adaptations for rpm 4.4.1 (new-style key ids)