]>
Commit | Line | Data |
---|---|---|
4958e11a | 1 | %define pearname Mail_mimeDecode |
4958e11a ER |
2 | Summary: %{pearname} - decode MIME messages |
3 | Summary(pl.UTF-8): %{pearname} - dekodowanie wiadomości MIME | |
4 | Name: php-pear-%{pearname} | |
5 | Version: 1.5.6 | |
10237d59 | 6 | Release: 1 |
add3f7af AG |
7 | License: BSD Style |
8 | Group: Development/Languages/PHP | |
4958e11a ER |
9 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
10 | # Source0-md5: a2d64cf970cb869ac034493ce6fa53d0 | |
add3f7af | 11 | URL: http://pear.php.net/package/Mail_mimeDecode/ |
b0f76667 | 12 | BuildRequires: php-pear-PEAR >= 1:1.6.0 |
add3f7af | 13 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
4958e11a | 14 | BuildRequires: rpmbuild(macros) >= 1.654 |
add3f7af | 15 | Requires: php-pear |
c8916c3c | 16 | Requires: php-pear-Mail_Mime > 1.4.0 |
dc35943f | 17 | Obsoletes: php-pear-Mail_mimeDecode-tests |
add3f7af AG |
18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Provides a class to deal with the decoding and interpreting of MIME | |
23 | messages. This package used to be part of the Mail_Mime package, but | |
24 | has been split off. | |
25 | ||
add3f7af | 26 | %description -l pl.UTF-8 |
886870ce | 27 | Ta klasa pozwala na dekodowanie i analizę wiadomości MIME. |
add3f7af AG |
28 | Funkcjonalność ta była częścią pakietu Mail_Mime, została jednak z |
29 | niego wydzielona. | |
30 | ||
add3f7af AG |
31 | %prep |
32 | %pear_package_setup | |
33 | ||
979d1b29 | 34 | # pear/tests/pearname/tests -> pear/tests/pearname |
4958e11a ER |
35 | mv ./%{php_pear_dir}/tests/%{pearname}/{tests/*,} |
36 | rmdir ./%{php_pear_dir}/tests/%{pearname}/tests | |
979d1b29 | 37 | |
add3f7af AG |
38 | %install |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
41 | %pear_package_install | |
42 | ||
4958e11a ER |
43 | # not used by this package |
44 | %{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Mail_mimeDecode/xmail.dtd | |
45 | %{__rm} $RPM_BUILD_ROOT%{php_pear_dir}/data/Mail_mimeDecode/xmail.xsl | |
46 | ||
add3f7af AG |
47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc install.log | |
53 | %{php_pear_dir}/.registry/*.reg | |
54 | %{php_pear_dir}/Mail/mimeDecode.php |