]> git.pld-linux.org Git - packages/php-pear-Mail_Mime.git/blob - php-pear-Mail_Mime.spec
402dd9f375757f211a78f494170ea1bad1fc936d
[packages/php-pear-Mail_Mime.git] / php-pear-Mail_Mime.spec
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}
5 Version:        1.10.2
6 Release:        1
7 License:        BSD
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)
16 Requires:       php(pcre)
17 Requires:       php-pear
18 Obsoletes:      php-pear-Mail_Mime-tests
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
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,
37   etc.
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().
42
43 %prep
44 %pear_package_setup
45
46 install -d examples
47 mv docs/Mail_Mime/scripts/phail.php examples
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{php_pear_dir}
52 %pear_package_install
53
54 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
55 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc install.log
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/Mail/*
65 %{_examplesdir}/%{name}-%{version}
This page took 0.081412 seconds and 2 git commands to generate.