]> git.pld-linux.org Git - SPECS.git/blob - php-pear-Net_LDAP.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / php-pear-Net_LDAP.spec
1 %define         _class          Net
2 %define         _subclass       LDAP
3 %define         _status         stable
4 %define         _pearname       %{_class}_%{_subclass}
5
6 Summary:        %{_pearname} - OO interface for searching and manipulating LDAP-entries
7 Summary(pl.UTF-8):      %{_pearname} - obiektowy interfejs do przeszukiwania i modyfikowania wpisów LDAP
8 Name:           php-pear-%{_pearname}
9 Version:        1.1.5
10 Release:        2
11 Epoch:          0
12 License:        LGPL
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  63d4fcc1053315bd447e3a5ee907469c
16 Patch0:         %{name}-path_fix.patch
17 URL:            http://pear.php.net/package/Net_LDAP/
18 BuildRequires:  php-pear-PEAR
19 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
20 BuildRequires:  rpmbuild(macros) >= 1.300
21 Requires:       php-pear
22 Obsoletes:      php-pear-Net_LDAP-tests
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 %{_pearname} is a clone of Perl's Net::LDAP object interface to
28 ldapservers. It does not contain all of Net::LDAP features (ldif
29 handling, schemas, etc), but has:
30 - a simple OO interface to connections, searches and entries
31 - support for TLS and ldap v3
32 - simple modification, deletion and creation of ldapentries
33
34 In PEAR status of this package is: %{_status}.
35
36 %description -l pl.UTF-8
37 %{_pearname} jest klonem perlowego Net::LDAP, czyli zorientowanego
38 obiektowo interfejsu do serwerów LDAP. Nie posiada wszystkich
39 możliwości Net::LDAP (obsługa ldif, schematy, itp), ale ma następujące
40 cechy:
41 - prosty interfejs obiektowy do połączeń, wyszukiwań i dodawania
42   nowych pozycji
43 - obsługa TLS i LDAP v3
44 - możliwość prostych modyfikacji, usuwania i tworzenia wpisów LDAP.
45
46 Ta klasa ma w PEAR status: %{_status}.
47
48 %prep
49 %pear_package_setup
50
51 cd ./%{php_pear_dir}/%{_class}
52 %patch0 -p1
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 %pear_package_install
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc install.log
65 %doc docs/%{_pearname}/*
66 %{php_pear_dir}/.registry/*.reg
67 %{php_pear_dir}/%{_class}/*.php
68 %{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.059408 seconds and 3 git commands to generate.