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
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Provides a POP3 class to access POP3 server. Support all POP3 commands
24 including UIDL listings, APOP authentication, DIGEST-MD5 and CRAM-MD5
25 using optional Auth_SASL package.
27 In PEAR status of this package is: %{_status}.
30 Dostarcza klasê POP3, daj±c± dostêp do serwerów POP3. Wspiera
31 wszystkie komendy POP3, w³±czaj±c w to listy UIDL, uwierzytelnianie APOP,
32 DIGEST-MD5 i CRAM-MD5 z u¿yciem klasy Auth_SASL.
34 Ta klasa ma w PEAR status: %{_status}.
37 Summary: Tests for PEAR::%{_pearname}
38 Summary(pl): Testy dla PEAR::%{_pearname}
40 Requires: %{name} = %{epoch}:%{version}-%{release}
44 Tests for PEAR::%{_pearname}.
46 %description tests -l pl
47 Testy dla PEAR::%{_pearname}.
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/%{_class}/*.php
67 %defattr(644,root,root,755)
68 %{php_pear_dir}/tests/*