]> git.pld-linux.org Git - packages/php-pear-Mail_Mime.git/blame - php-pear-Mail_Mime.spec
- up to 1.7.0
[packages/php-pear-Mail_Mime.git] / php-pear-Mail_Mime.spec
CommitLineData
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 6Summary: %{_pearname} - classes to create and decode mime messages
6918e50a 7Summary(pl.UTF-8): %{_pearname} - klasa do tworzenia i dekodowania wiadomości mime
b00204bf 8Name: php-pear-%{_pearname}
1968bc42 9Version: 1.7.0
7456f8b3 10Release: 1
4c5635f1 11License: PHP
b00204bf
PG
12Group: Development/Languages/PHP
13Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
1968bc42 14# Source0-md5: 806a09fb93d7f472617f7a0f0dcb585e
6ae6e643 15URL: http://pear.php.net/package/Mail_Mime/
63228ece 16BuildRequires: php-pear-PEAR
7872ec30 17BuildRequires: rpm-php-pearprov >= 4.4.2-11
463effef 18BuildRequires: rpmbuild(macros) >= 1.300
f685b9b6 19Requires: php(pcre)
4c5635f1 20Requires: php-pear
b00204bf
PG
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Provides classes to deal with creation and manipulation of mime
26messages:
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 36In PEAR status of this package is: %{_status}.
0c1f5cfb 37
32691a7b
JR
38%description -l pl.UTF-8
39Dostarcza 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
47Ta klasa ma w PEAR status: %{_status}.
48
b00204bf 49%prep
90496049 50%pear_package_setup
7f3697b4
AG
51
52%package tests
53Summary: Tests for PEAR::%{_pearname}
54Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
55Group: Development/Languages/PHP
56Requires: %{name} = %{version}-%{release}
57AutoReq: no
58AutoProv: no
59
60%description tests
61Tests for PEAR::%{_pearname}.
62
63%description tests -l pl.UTF-8
64Testy dla PEAR::%{_pearname}.
b00204bf
PG
65
66%install
67rm -rf $RPM_BUILD_ROOT
90496049
ER
68install -d $RPM_BUILD_ROOT%{php_pear_dir}
69%pear_package_install
b00204bf
PG
70
71%clean
72rm -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}
This page took 0.1013 seconds and 4 git commands to generate.