1 %define pearname Mail_Mime
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}
8 Group: Development/Languages/PHP
9 Source0: https://pear.php.net/get/%{pearname}-%{version}.tgz
10 # Source0-md5: a26f4aa0c599f0a5341bab3994d46207
11 URL: https://pear.php.net/package/Mail_Mime/
12 BuildRequires: php(zlib)
13 BuildRequires: php-pear-PEAR
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.580
16 Requires: php(mbstring)
20 Obsoletes: php-pear-Mail_Mime-tests
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Provides classes to deal with creation and manipulation of mime
27 - mime.php: Create mime email, with html, attachments, embedded images
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
33 - xmail.xsl: An XSLT stylesheet to transform the output of the
36 %description -l pl.UTF-8
37 Dostarcza klasy do tworzenia oraz manipulowania wiadomościami mime:
38 - mime.php: tworzenie emaili mime, z htmlem, załącznikami, obrazkami,
40 - mimePart.php: zaawansowane metody tworzenia wiadomości mime.
41 - mimeDecode.php: dekoduje wiadomości mime do używalnej struktury.
42 - xmail.dtd: XML DTD dla metody getXML() klasy dekodującej.
43 - xmail.xsl: styl XSLT do transformowania wyjścia metody getXML().
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{php_pear_dir}/.registry/*.reg
60 %{php_pear_dir}/Mail/*