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