]>
Commit | Line | Data |
---|---|---|
088c5335 ER |
1 | %define status stable |
2 | %define pearname Horde_Ldap | |
088c5335 ER |
3 | Summary: %{pearname} - Horde LDAP libraries |
4 | Name: php-horde-Horde_Ldap | |
7f1aaf5b | 5 | Version: 1.1.5 |
ff194bb3 | 6 | Release: 2 |
088c5335 ER |
7 | License: LGPLv3 |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz | |
7f1aaf5b | 10 | # Source0-md5: 539a3f067c18d50da2960b111a337ffa |
507dcace | 11 | URL: https://github.com/horde/horde/tree/master/framework/Ldap/ |
088c5335 ER |
12 | BuildRequires: php-channel(pear.horde.org) |
13 | BuildRequires: php-packagexml2cl | |
14 | BuildRequires: php-pear-PEAR >= 1:1.7.0 | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.610 | |
ff194bb3 | 17 | Requires: php(ldap) |
088c5335 ER |
18 | Requires: php-channel(pear.horde.org) |
19 | Requires: php-horde-Horde_Exception < 2.0.0 | |
20 | Requires: php-horde-Horde_Util < 2.0.0 | |
a31a2c41 | 21 | Requires: php-pear >= 4:1.3.6-2 |
088c5335 ER |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | This package provides a set of classes for connecting to LDAP servers | |
27 | and working with directory objects. | |
28 | ||
29 | In PEAR status of this package is: %{status}. | |
30 | ||
31 | %prep | |
32 | %pear_package_setup | |
33 | ||
34 | %build | |
35 | packagexml2cl package.xml > ChangeLog | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
40 | %pear_package_install | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc ChangeLog install.log | |
48 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
49 | %{php_pear_dir}/Horde/Ldap.php | |
50 | %{php_pear_dir}/Horde/Ldap |