1 %include /usr/lib/rpm/macros.php
3 %define _subclass LDAP2
5 %define _pearname Net_LDAP2
7 Summary: %{_pearname} - Object oriented interface for searching and manipulating LDAP-entries
8 Summary(pl.UTF-8): %{_pearname} - zorientowany obiektowo interfejs do wyszukiwania i obróbki wpisów LDAP
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}RC3.tgz
15 # Source0-md5: c80cf918122dac2e0b52f4f34d8d806b
16 Patch0: %{name}-paths.patch
17 URL: http://pear.php.net/package/Net_LDAP2/
18 BuildRequires: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Net_LDAP2 is the successor of Net_LDAP which is a clone of Perls
27 Net::LDAP object interface to directory servers. It does contain most
28 of Net::LDAPs features but has some own too.
30 With Net_LDAP2 you have:
31 - A simple object-oriented interface to connections, searches entries
33 - Support for TLS and LDAP v3,
34 - Simple modification, deletion and creation of LDAP entries,
35 - Support for schema handling,
36 - Net_LDAP2 layers itself on top of PHP's existing LDAP extensions.
38 In PEAR status of this package is: %{_status}.
40 %description -l pl.UTF-8
41 Net_LDAP2 to następca Net_LDAP, klonu Perlowego obiektowego interfejsu
42 NET::LDAP do serwerów katalogowych. Pakiet ten zawiera większość
43 funkcjonalności Net::LDAP jak również trochę dodatkowej.
46 - prosty, zorientowany obiektowo interfejs do połączeń, wyszukiwania i
48 - wsparcie dla TLS i LDAP v3,
49 - wygodny sposób na modyfikację usuwanie i tworzenie wpisów LDAP,
50 - wsparcie dla obsługi schematów,
51 - NET_LDAP2 wykorzystuje istniejące rozszerzenie LDAP.
53 Ta klasa ma w PEAR status: %{_status}.
56 Summary: Tests for PEAR::%{_pearname}
57 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
58 Group: Development/Languages/PHP
60 Requires: %{name} = %{version}-%{release}
64 Tests for PEAR::%{_pearname}.
66 %description tests -l pl.UTF-8
67 Testy dla PEAR::%{_pearname}.
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{php_pear_dir}
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
83 %doc install.log docs/Net_LDAP2/doc
84 %{php_pear_dir}/.registry/*.reg
85 %{php_pear_dir}/Net/LDAP2
86 %{php_pear_dir}/Net/LDAP2.php
89 %defattr(644,root,root,755)
90 %{php_pear_dir}/tests/Net_LDAP2