Summary: DaveDAP's A Very Easy Directory Administration Program
+Summary(pl): DaveDAP - bardzo prosty program do administrowania katalogami
Name: davedap
-Version: 0.8.2
+Version: 0.8.3
Release: 1
License: GPL v2
Group: Applications/Databases
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 55c6e4b2954f2319f2bebf1cb7700e64
+# Source0-md5: 559109c9ac62da488cbadb8c0a642052
Source1: %{name}.conf
URL: http://davedap.sourceforge.net/
Requires: apache
+Requires: php
Requires: php-ldap
Requires: php-xml
Requires(post,preun): grep
Requires(preun): fileutils
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define davedapdir %{_datadir}/%{name}
+%define davedapdir %{_datadir}/%{name}
%description
DaveDAP is a web-based LDAP admin tool written in PHP. You can browse
searches, and view your server's schema. You can even copy objects
between two LDAP servers and recursively delete or copy entire trees.
+%description -l pl
+DaveDAP to oparte na WWW narzêdzie administracyjne do LDAP napisane w
+PHP. Pozwala przegl±daæ drzewo LDAP, tworzyæ, usuwaæ, modyfikowaæ i
+kopiowaæ obiekty, wyszukiwaæ i ogl±daæ schematy serwera. Mo¿na te¿
+kopiowaæ obiekty miêdzy dwoma serwerami LDAP i rekurencyjnie usuwaæ
+lub kopiowaæ ca³e drzewa.
+
%prep
-%setup -q
+%setup -q -n %{name}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/etc/httpd,%{davedapdir}/{images,templates/creation}}
install *.php *.css *.txt $RPM_BUILD_ROOT%{davedapdir}/
-install images/* $RPM_BUILD_ROOT%{davedapdir}/images/
+install images/*.png $RPM_BUILD_ROOT%{davedapdir}/images/
install templates/creation/*.php $RPM_BUILD_ROOT%{davedapdir}/templates/creation/
install %SOURCE1 $RPM_BUILD_ROOT/etc/httpd/