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}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: dad6200744d2c8f326fbec1f5e0c8249
16 URL: http://pear.php.net/package/Net_POP3/
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pear-Net_Socket >= 1.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Provides a POP3 class to access POP3 server. Support all POP3 commands
25 including UIDL listings, APOP authentication, DIGEST-MD5 and CRAM-MD5
26 using optional Auth_SASL package.
28 In PEAR status of this package is: %{_status}.
31 Dostarcza klasê POP3, daj±c± dostêp do serwerów POP3. Wspiera
32 wszystkie komendy POP3, w³±czaj±c w to listy UIDL, uwierzytelnianie APOP,
33 DIGEST-MD5 i CRAM-MD5 z u¿yciem klasy Auth_SASL.
35 Ta klasa ma w PEAR status: %{_status}.
38 Summary: Tests for PEAR::%{_pearname}
39 Summary(pl): Testy dla PEAR::%{_pearname}
41 Requires: %{name} = %{epoch}:%{version}-%{release}
45 Tests for PEAR::%{_pearname}.
47 %description tests -l pl
48 Testy dla PEAR::%{_pearname}.
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/%{_class}/*.php
68 %defattr(644,root,root,755)
69 %{php_pear_dir}/tests/*