]> git.pld-linux.org Git - packages/php-pear-Mail_mimeDecode.git/blob - php-pear-Mail_mimeDecode.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Mail_mimeDecode.git] / php-pear-Mail_mimeDecode.spec
1 %define         pearname        Mail_mimeDecode
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
6 Release:        1
7 License:        BSD Style
8 Group:          Development/Languages/PHP
9 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
10 # Source0-md5:  a2d64cf970cb869ac034493ce6fa53d0
11 URL:            http://pear.php.net/package/Mail_mimeDecode/
12 BuildRequires:  php-pear-PEAR >= 1:1.6.0
13 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
14 BuildRequires:  rpmbuild(macros) >= 1.654
15 Requires:       php-pear
16 Requires:       php-pear-Mail_Mime > 1.4.0
17 Obsoletes:      php-pear-Mail_mimeDecode-tests
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
26 %description -l pl.UTF-8
27 Ta klasa pozwala na dekodowanie i analizę wiadomości MIME.
28 Funkcjonalność ta była częścią pakietu Mail_Mime, została jednak z
29 niego wydzielona.
30
31 %prep
32 %pear_package_setup
33
34 # pear/tests/pearname/tests -> pear/tests/pearname
35 mv ./%{php_pear_dir}/tests/%{pearname}/{tests/*,}
36 rmdir ./%{php_pear_dir}/tests/%{pearname}/tests
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_pear_dir}
41 %pear_package_install
42
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
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
This page took 0.084681 seconds and 4 git commands to generate.