]>
Commit | Line | Data |
---|---|---|
b00204bf PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Mail | |
3 | %define _subclass Mime | |
0c1f5cfb | 4 | %define _status stable |
b00204bf | 5 | %define _pearname %{_class}_%{_subclass} |
93450aa4 | 6 | Summary: %{_pearname} - classes to create and decode mime messages |
6918e50a | 7 | Summary(pl.UTF-8): %{_pearname} - klasa do tworzenia i dekodowania wiadomości mime |
b00204bf | 8 | Name: php-pear-%{_pearname} |
1968bc42 | 9 | Version: 1.7.0 |
7456f8b3 | 10 | Release: 1 |
4c5635f1 | 11 | License: PHP |
b00204bf PG |
12 | Group: Development/Languages/PHP |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
1968bc42 | 14 | # Source0-md5: 806a09fb93d7f472617f7a0f0dcb585e |
6ae6e643 | 15 | URL: http://pear.php.net/package/Mail_Mime/ |
63228ece | 16 | BuildRequires: php-pear-PEAR |
7872ec30 | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
463effef | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
f685b9b6 | 19 | Requires: php(pcre) |
4c5635f1 | 20 | Requires: php-pear |
b00204bf PG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Provides classes to deal with creation and manipulation of mime | |
26 | messages: | |
27 | - mime.php: Create mime email, with html, attachments, embedded images | |
28 | etc. | |
29 | - mimePart.php: Advanced method of creating mime messages. | |
30 | - mimeDecode.php - Decodes mime messages to a usable structure. | |
31 | - xmail.dtd: An XML DTD to acompany the getXML() method of the | |
32 | decoding class. | |
33 | - xmail.xsl: An XSLT stylesheet to transform the output of the | |
34 | getXML() method. | |
35 | ||
f43bfa77 | 36 | In PEAR status of this package is: %{_status}. |
0c1f5cfb | 37 | |
32691a7b JR |
38 | %description -l pl.UTF-8 |
39 | Dostarcza klasy do tworzenia oraz manipulowania wiadomościami mime: | |
40 | - mime.php: tworzenie emaili mime, z htmlem, załącznikami, obrazkami, | |
b00204bf | 41 | etc. |
32691a7b JR |
42 | - mimePart.php: zaawansowane metody tworzenia wiadomości mime. |
43 | - mimeDecode.php: dekoduje wiadomości mime do używalnej struktury. | |
44 | - xmail.dtd: XML DTD dla metody getXML() klasy dekodującej. | |
45 | - xmail.xsl: styl XSLT do transformowania wyjścia metody getXML(). | |
b00204bf | 46 | |
0c1f5cfb AG |
47 | Ta klasa ma w PEAR status: %{_status}. |
48 | ||
b00204bf | 49 | %prep |
90496049 | 50 | %pear_package_setup |
7f3697b4 AG |
51 | |
52 | %package tests | |
53 | Summary: Tests for PEAR::%{_pearname} | |
54 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
55 | Group: Development/Languages/PHP | |
56 | Requires: %{name} = %{version}-%{release} | |
57 | AutoReq: no | |
58 | AutoProv: no | |
59 | ||
60 | %description tests | |
61 | Tests for PEAR::%{_pearname}. | |
62 | ||
63 | %description tests -l pl.UTF-8 | |
64 | Testy dla PEAR::%{_pearname}. | |
b00204bf PG |
65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
90496049 ER |
68 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
69 | %pear_package_install | |
b00204bf PG |
70 | |
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
90496049 ER |
76 | %doc install.log |
77 | %{php_pear_dir}/.registry/*.reg | |
b00204bf | 78 | %{php_pear_dir}/%{_class}/* |
90496049 | 79 | %{php_pear_dir}/data/%{_pearname} |
7f3697b4 AG |
80 | |
81 | %files tests | |
82 | %defattr(644,root,root,755) | |
83 | %{php_pear_dir}/tests/%{_pearname} |