-%include /usr/lib/rpm/macros.python
Summary: WWW gateway to LDAP server
-Summary(pl): Bramka WWW do serwera LDAP
+Summary(pl.UTF-8): Bramka WWW do serwera LDAP
Name: web2ldap
-Version: 0.11.9
+Version: 0.16.11
Release: 1
License: distributable (mostly GPL)
Group: Applications
Source0: http://www.web2ldap.de/download/%{name}-%{version}.tar.gz
-# Source0-md5: 03566fbb78ab2146dd696cf5ca6f7740
+# Source0-md5: b82e0a8a5b730ec577f8891a14cbde92
Patch0: %{name}-config.patch
URL: http://www.web2ldap.de/
%pyrequires_eq python-modules
Requires: python-ldap
Requires: python-pyweblib
-BuildArch: noarch
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This is:
-- a generic LDAPv3 client which does not make any assumptions about the tree
- structure or LDAP schema.
-- kind of a swiss-army knife for accessing/manipulating LDAP servers without
- having to configure anything.
+- a generic LDAPv3 client which does not make any assumptions about
+ the tree structure or LDAP schema.
+- kind of a swiss-army knife for accessing/manipulating LDAP servers
+ without having to configure anything.
- a secure LDAP client with clean login behaviour.
-- a schema browser which displays references/dependencies within an LDAPv3
- schema.
+- a schema browser which displays references/dependencies within an
+ LDAPv3 schema.
- continously maintained software.
-%description -l pl
+%description -l pl.UTF-8
To jest:
-- ogólny klient LDAPv3, nie czyni±cy ¿adnych za³o¿eñ dotycz±cych
+- ogólny klient LDAPv3, nie czyniący żadnych założeń dotyczących
struktury drzewa ani schemacie LDAP
-- narzêdzie do dostêpu i manipulacji na serwerach LDAP bez potrzeby
+- narzędzie do dostępu i manipulacji na serwerach LDAP bez potrzeby
konfigurowania niczego
-- bezpieczny klient LDAP czysto loguj±cy siê
-- przegl±darka schematów wy¶wietlaj±ca odwo³ania i zale¿no¶ci wewn±trz
+- bezpieczny klient LDAP czysto logujący się
+- przeglądarka schematów wyświetlająca odwołania i zależności wewnątrz
schematu LDAPv3
- stale utrzymywane oprogramowanie.
-
+
%prep
%setup -q
%patch0 -p1
$RPM_BUILD_ROOT/var{/run,/lib,/log}/%{name}
cp -R etc/web2ldap $RPM_BUILD_ROOT%{_sysconfdir}
-cp -R fcgi pylib scgi templates sbin $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -R fcgi pylib scgi sbin $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -R htdocs/css $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
find $RPM_BUILD_ROOT%{_datadir}/%{name}/pylib -name "*.py" | xargs rm
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/sbin/compile*
%files
%defattr(644,root,root,755)
-%doc htdocs/* etc/httpd
+%doc AUTHORS README htdocs/* etc/httpd
%attr(755,root,root) %{_sbindir}/*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/pylib
%{_datadir}/%{name}/htdocs
%{_datadir}/%{name}/sbin
-%{_datadir}/%{name}/templates
%dir %{_datadir}/%{name}/fcgi
%attr(755,root,root) %{_datadir}/%{name}/fcgi/web2ldap.py