summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-16 08:36:46 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-16 08:36:46 +0000
commit4533c41ea1d052c4df901a81201876283ced9315 (patch)
tree9b0d81527b92102501e6d7fcbb33310bdc3141e5 /urpmi.spec
parent59ec72561a844ab1c461dad34426e54cdef34578 (diff)
downloadurpmi-4533c41ea1d052c4df901a81201876283ced9315.tar
urpmi-4533c41ea1d052c4df901a81201876283ced9315.tar.gz
urpmi-4533c41ea1d052c4df901a81201876283ced9315.tar.bz2
urpmi-4533c41ea1d052c4df901a81201876283ced9315.tar.xz
urpmi-4533c41ea1d052c4df901a81201876283ced9315.zip
Create a new package urpmi-ldap
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)