1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - POP3 class to access POP3 server
8 Summary(pl): %{_pearname} - klasa POP3 daj±ca dostêp do serwerów POP3
9 Name: php-pear-%{_pearname}
14 Group: Development/Languages/PHP
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 # Source0-md5: dad6200744d2c8f326fbec1f5e0c8249
17 URL: http://pear.php.net/package/Net_POP3/
18 BuildRequires: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
21 Requires: php-pear-Net_Socket >= 1.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Provides a POP3 class to access POP3 server. Support all POP3 commands
27 including UIDL listings, APOP authentication, DIGEST-MD5 and CRAM-MD5
28 using optional Auth_SASL package.
30 In PEAR status of this package is: %{_status}.
33 Dostarcza klasê POP3, daj±c± dostêp do serwerów POP3. Wspiera
34 wszystkie komendy POP3, w³±czaj±c w to listy UIDL, uwierzytelnianie APOP,
35 DIGEST-MD5 i CRAM-MD5 z u¿yciem klasy Auth_SASL.
37 Ta klasa ma w PEAR status: %{_status}.
40 Summary: Tests for PEAR::%{_pearname}
41 Summary(pl): Testy dla PEAR::%{_pearname}
42 Group: Development/Languages/PHP
43 Requires: %{name} = %{epoch}:%{version}-%{release}
47 Tests for PEAR::%{_pearname}.
49 %description tests -l pl
50 Testy dla PEAR::%{_pearname}.
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{php_pear_dir}
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %{php_pear_dir}/.registry/*.reg
67 %{php_pear_dir}/%{_class}/*.php
70 %defattr(644,root,root,755)
71 %{php_pear_dir}/tests/*