]>
Commit | Line | Data |
---|---|---|
ec2e41a8 | 1 | %define _class Net |
2 | %define _subclass LDAP | |
d3344da2 | 3 | %define _status stable |
69583a92 | 4 | %define _pearname %{_class}_%{_subclass} |
8daa0074 | 5 | |
69583a92 | 6 | Summary: %{_pearname} - OO interface for searching and manipulating LDAP-entries |
b61ce843 | 7 | Summary(pl.UTF-8): %{_pearname} - obiektowy interfejs do przeszukiwania i modyfikowania wpisów LDAP |
69583a92 | 8 | Name: php-pear-%{_pearname} |
c3514b89 | 9 | Version: 1.1.5 |
fb62b3ea | 10 | Release: 2 |
6b3a4761 | 11 | Epoch: 0 |
c5fd3cf7 | 12 | License: LGPL |
69583a92 | 13 | Group: Development/Languages/PHP |
d3344da2 | 14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
c3514b89 | 15 | # Source0-md5: 63d4fcc1053315bd447e3a5ee907469c |
9322aae1 | 16 | Patch0: %{name}-path_fix.patch |
35692c35 | 17 | URL: http://pear.php.net/package/Net_LDAP/ |
7c3eb4c7 | 18 | BuildRequires: php-pear-PEAR |
c5fd3cf7 | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
e3f4bb3a | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
69583a92 | 21 | Requires: php-pear |
a0c58887 | 22 | Obsoletes: php-pear-Net_LDAP-tests |
69583a92 AG |
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 | ||
18b3c129 | 34 | In PEAR status of this package is: %{_status}. |
69583a92 | 35 | |
03dc81eb | 36 | %description -l pl.UTF-8 |
58241419 | 37 | %{_pearname} jest klonem perlowego Net::LDAP, czyli zorientowanego |
03dc81eb JR |
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 | |
58241419 | 40 | cechy: |
03dc81eb | 41 | - prosty interfejs obiektowy do połączeń, wyszukiwań i dodawania |
58241419 | 42 | nowych pozycji |
03dc81eb JR |
43 | - obsługa TLS i LDAP v3 |
44 | - możliwość prostych modyfikacji, usuwania i tworzenia wpisów LDAP. | |
69583a92 AG |
45 | |
46 | Ta klasa ma w PEAR status: %{_status}. | |
47 | ||
48 | %prep | |
c5fd3cf7 ER |
49 | %pear_package_setup |
50 | ||
c5fd3cf7 | 51 | cd ./%{php_pear_dir}/%{_class} |
3d4f15c2 | 52 | %patch0 -p1 |
69583a92 AG |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
c5fd3cf7 ER |
56 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
57 | %pear_package_install | |
69583a92 AG |
58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
c5fd3cf7 ER |
64 | %doc install.log |
65 | %doc docs/%{_pearname}/* | |
66 | %{php_pear_dir}/.registry/*.reg | |
69583a92 AG |
67 | %{php_pear_dir}/%{_class}/*.php |
68 | %{php_pear_dir}/%{_class}/%{_subclass} |