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: d9034fe68546e2d4e0d00159a672427d
11 URL: https://pear.php.net/package/Mail_Mime/
12 BuildRequires: php-pear-PEAR
13 BuildRequires: rpm-php-pearprov >= 4.4.2-11
14 BuildRequires: rpmbuild(macros) >= 1.580
15 Requires: php(mbstring)
18 Obsoletes: php-pear-Mail_Mime-tests
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Provides classes to deal with creation and manipulation of mime
25 - mime.php: Create mime email, with html, attachments, embedded images
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
31 - xmail.xsl: An XSLT stylesheet to transform the output of the
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,
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().
47 mv docs/Mail_Mime/scripts/phail.php examples
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
55 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/Mail/*
65 %{_examplesdir}/%{name}-%{version}