]>
Commit | Line | Data |
---|---|---|
4379eb44 | 1 | %define pearname Mail_Mime |
4379eb44 ER |
2 | Summary: %{pearname} - classes to create and decode mime messages |
3 | Summary(pl.UTF-8): %{pearname} - klasa do tworzenia i dekodowania wiadomości mime | |
4 | Name: php-pear-%{pearname} | |
ae521cd1 | 5 | Version: 1.10.10 |
7456f8b3 | 6 | Release: 1 |
c95bca4a | 7 | License: BSD |
b00204bf | 8 | Group: Development/Languages/PHP |
c95bca4a | 9 | Source0: https://pear.php.net/get/%{pearname}-%{version}.tgz |
ae521cd1 | 10 | # Source0-md5: 00d76735b185cd636da916543dcc1a44 |
c95bca4a | 11 | URL: https://pear.php.net/package/Mail_Mime/ |
63228ece | 12 | BuildRequires: php-pear-PEAR |
7872ec30 | 13 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
4379eb44 | 14 | BuildRequires: rpmbuild(macros) >= 1.580 |
c95bca4a | 15 | Requires: php(mbstring) |
f685b9b6 | 16 | Requires: php(pcre) |
4c5635f1 | 17 | Requires: php-pear |
4846aa9e | 18 | Obsoletes: php-pear-Mail_Mime-tests |
b00204bf PG |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Provides classes to deal with creation and manipulation of mime | |
24 | messages: | |
25 | - mime.php: Create mime email, with html, attachments, embedded images | |
26 | etc. | |
27 | - mimePart.php: Advanced method of creating mime messages. | |
28 | - mimeDecode.php - Decodes mime messages to a usable structure. | |
29 | - xmail.dtd: An XML DTD to acompany the getXML() method of the | |
30 | decoding class. | |
31 | - xmail.xsl: An XSLT stylesheet to transform the output of the | |
32 | getXML() method. | |
33 | ||
32691a7b JR |
34 | %description -l pl.UTF-8 |
35 | Dostarcza klasy do tworzenia oraz manipulowania wiadomościami mime: | |
36 | - mime.php: tworzenie emaili mime, z htmlem, załącznikami, obrazkami, | |
b00204bf | 37 | etc. |
32691a7b JR |
38 | - mimePart.php: zaawansowane metody tworzenia wiadomości mime. |
39 | - mimeDecode.php: dekoduje wiadomości mime do używalnej struktury. | |
40 | - xmail.dtd: XML DTD dla metody getXML() klasy dekodującej. | |
41 | - xmail.xsl: styl XSLT do transformowania wyjścia metody getXML(). | |
b00204bf PG |
42 | |
43 | %prep | |
90496049 | 44 | %pear_package_setup |
7f3697b4 | 45 | |
65d32b41 | 46 | %install |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
49 | %pear_package_install | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
b00204bf PG |
54 | %files |
55 | %defattr(644,root,root,755) | |
90496049 ER |
56 | %doc install.log |
57 | %{php_pear_dir}/.registry/*.reg | |
4f5c3353 | 58 | %{php_pear_dir}/Mail/* |