]> git.pld-linux.org Git - packages/php-horde-Horde_Imap_Client.git/blob - php-horde-Horde_Imap_Client.spec
- up to 1.5.1
[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.1
9 Release:        1
10 License:        LGPL
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.horde.org/get/%{pearname}-%{version}.tgz
13 # Source0-md5:  13036502eb66cf700b054e30645c55f4
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-channel(pear.horde.org)
21 Requires:       php-hash
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 # exclude optional dependencies
37 %define         _noautoreq       pear(Horde/Cache.*) pear(Horde/Secret.*) pear(Horde/Stream/Filter.*) pear(Auth/SASL.*)
38
39 %description
40 This package provides an abstracted API interface to various IMAP4rev1
41 (RFC 3501) backend drivers.
42
43 In PEAR status of this package is: %{status}.
44
45 %prep
46 %pear_package_setup
47
48 %build
49 packagexml2cl package.xml > ChangeLog
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 %pear_package_install
55
56 %{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Horde_Imap_Client/locale/%{pearname}.pot
57 %{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Horde_Imap_Client/locale/*/LC_MESSAGES/%{pearname}.po
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post -p <lua>
63 %pear_package_print_optionalpackages
64
65 %files
66 %defattr(644,root,root,755)
67 %doc ChangeLog install.log
68 %doc optional-packages.txt
69 %{php_pear_dir}/.registry/.channel.*/*.reg
70 %dir %{php_pear_dir}/Horde/Imap
71 %{php_pear_dir}/Horde/Imap/Client.php
72 %{php_pear_dir}/Horde/Imap/Client
73 %{php_pear_dir}/data/Horde_Imap_Client
This page took 0.98772 seconds and 4 git commands to generate.