]> git.pld-linux.org Git - packages/php-horde-Horde_Imap_Client.git/blob - php-horde-Horde_Imap_Client.spec
- up to 1.5.10
[packages/php-horde-Horde_Imap_Client.git] / php-horde-Horde_Imap_Client.spec
1 # TODO
2 # - system locale dir
3 %define         status          stable
4 %define         pearname        Horde_Imap_Client
5 %include        /usr/lib/rpm/macros.php
6 Summary:        %{pearname} - Horde IMAP abstraction interface
7 Name:           php-horde-Horde_Imap_Client
8 Version:        1.5.10
9 Release:        1
10 License:        LGPL
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
13 # Source0-md5:  f26f23111ab0f42bcb17afc098300893
14 URL:            https://github.com/horde/horde/tree/master/framework/Imap_Client/
15 BuildRequires:  php-channel(pear.horde.org)
16 BuildRequires:  php-packagexml2cl
17 BuildRequires:  php-pear-PEAR >= 1:1.7.0
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 BuildRequires:  rpmbuild(macros) >= 1.610
20 Requires:       php(hash)
21 Requires:       php-channel(pear.horde.org)
22 Requires:       php-horde-Horde_Exception < 2.0.0
23 Requires:       php-horde-Horde_Mime < 2.0.0
24 Requires:       php-horde-Horde_Util < 2.0.0
25 Requires:       php-pear >= 4:1.3.6-2
26 Suggests:       php-horde-Horde_Cache
27 Suggests:       php-horde-Horde_Secret
28 Suggests:       php-horde-Horde_Stream_Filter
29 Suggests:       php-imap
30 Suggests:       php-json
31 Suggests:       php-mbstring
32 Suggests:       php-pear-Auth_SASL
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 This package provides an abstracted API interface to various IMAP4rev1
38 (RFC 3501) backend drivers.
39
40 In PEAR status of this package is: %{status}.
41
42 %prep
43 %pear_package_setup
44
45 %build
46 packagexml2cl package.xml > ChangeLog
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
51 %pear_package_install
52
53 %{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Horde_Imap_Client/locale/%{pearname}.pot
54 %{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Horde_Imap_Client/locale/*/LC_MESSAGES/%{pearname}.po
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post -p <lua>
60 %pear_package_print_optionalpackages
61
62 %files
63 %defattr(644,root,root,755)
64 %doc ChangeLog install.log
65 %doc optional-packages.txt
66 %{php_pear_dir}/.registry/.channel.*/*.reg
67 %dir %{php_pear_dir}/Horde/Imap
68 %{php_pear_dir}/Horde/Imap/Client.php
69 %{php_pear_dir}/Horde/Imap/Client
70 %{php_pear_dir}/data/Horde_Imap_Client
This page took 0.087786 seconds and 4 git commands to generate.