]> git.pld-linux.org Git - packages/php-pear-Net_LDAP2.git/blob - php-pear-Net_LDAP2.spec
- R: php(ldap)
[packages/php-pear-Net_LDAP2.git] / php-pear-Net_LDAP2.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Net
3 %define         _subclass       LDAP2
4 %define         _status         beta
5 %define         _pearname       Net_LDAP2
6
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}
10 Version:        2.0.0
11 Release:        0.RC3.2
12 License:        LGPL License
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
20 Requires:       php(ldap)
21 Requires:       php-pear
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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.
29
30 With Net_LDAP2 you have:
31  - A simple object-oriented interface to connections, searches entries
32    and filters,
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.
37
38 In PEAR status of this package is: %{_status}.
39
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.
44
45 Cechy Net_LDAP2:
46  - prosty, zorientowany obiektowo interfejs do połączeń, wyszukiwania i
47    filtrowania,
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.
52
53 Ta klasa ma w PEAR status: %{_status}.
54
55 %package tests
56 Summary:        Tests for PEAR::%{_pearname}
57 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
58 Group:          Development/Languages/PHP
59 AutoReq:        no
60 Requires:       %{name} = %{version}-%{release}
61 AutoProv:       no
62
63 %description tests
64 Tests for PEAR::%{_pearname}.
65
66 %description tests -l pl.UTF-8
67 Testy dla PEAR::%{_pearname}.
68
69 %prep
70 %pear_package_setup
71 %patch0 -p1
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{php_pear_dir}
76 %pear_package_install
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
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
87
88 %files tests
89 %defattr(644,root,root,755)
90 %{php_pear_dir}/tests/Net_LDAP2
This page took 0.066608 seconds and 3 git commands to generate.