]> git.pld-linux.org Git - packages/php-pear-Net_IMAP.git/blob - php-pear-Net_IMAP.spec
bff1752a428c8d6862aec111f2e4a435a153f0bc
[packages/php-pear-Net_IMAP.git] / php-pear-Net_IMAP.spec
1 %define         status          stable
2 %define         pearname        Net_IMAP
3 %include        /usr/lib/rpm/macros.php
4 Summary:        %{pearname} - an implementation of the IMAP protocol
5 Summary(pl.UTF-8):      %{pearname} - implementacja protokołu IMAP
6 Name:           php-pear-%{pearname}
7 Version:        1.1.1
8 Release:        2
9 License:        PHP 2.02
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
12 # Source0-md5:  79ea05dfc3af6ae2fa276831b4cceb8a
13 URL:            http://pear.php.net/package/Net_IMAP/
14 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.580
17 Requires:       php-pear
18 Requires:       php-pear-Net_Socket >= 1.0.8
19 Suggests:       php-pear-Auth_SASL
20 Obsoletes:      php-pear-Net_IMAP-tests
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 # exclude optional dependencies
25 %define         _noautoreq      pear(Auth/SASL.*)
26
27 %description
28 Provides an implementation of the IMAP4Rev1 protocol using PEAR's
29 Net_Socket and Auth_SASL class.
30
31 In PEAR status of this package is: %{status}.
32
33 %description -l pl.UTF-8
34 Klasa dostarcza implementację protokołu IMAP4Rev1 przy użyciu
35 PEAR-owych klas Net_Socket oraz Auth_SASL.
36
37 Ta klasa ma w PEAR status: %{status}.
38
39 %prep
40 %pear_package_setup
41
42 mv .%{php_pear_dir}/data/Net_IMAP/README .
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 %pear_package_install
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %doc install.log
56 %{php_pear_dir}/.registry/*.reg
57 %{php_pear_dir}/Net/*.php
This page took 0.077727 seconds and 2 git commands to generate.