5 |
|
|
6 |
Summary: Email message manipulation for PHP |
Summary: Email message manipulation for PHP |
7 |
Name: php-%{modname} |
Name: php-%{modname} |
8 |
Version: 3.0.2 |
Version: 3.0.3 |
9 |
Release: %mkrel 6 |
Release: %mkrel 1 |
10 |
License: PHP License |
License: PHP License |
11 |
Group: Development/PHP |
Group: Development/PHP |
12 |
URL: http://pecl.php.net/package/mailparse |
URL: http://pecl.php.net/package/mailparse |
13 |
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz |
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz |
14 |
Source1: %{modname}.ini |
Source1: %{modname}.ini |
15 |
Patch0: mailparse-0.9.4-silly_fix.patch |
#Patch1: mailparse-2.1.5-libmbfl_is_external.diff |
16 |
Patch1: mailparse-2.1.5-libmbfl_is_external.diff |
Requires: php >= 3:7.3.0 |
|
Requires: php >= 3:7.0.0 |
|
17 |
Requires: php-mbstring |
Requires: php-mbstring |
18 |
BuildRequires: php-devel >= 3:7.0.0 |
BuildRequires: php-devel >= 3:7.3.0 |
19 |
BuildRequires: mbfl-devel |
BuildRequires: mbfl-devel |
20 |
Epoch: 1 |
Epoch: 1 |
21 |
|
|
26 |
%prep |
%prep |
27 |
|
|
28 |
%setup -q -n %{modname}-%{version} |
%setup -q -n %{modname}-%{version} |
29 |
%patch0 -p0 |
%autopatch -p0 |
|
%patch1 -p0 |
|
30 |
|
|
31 |
# fix strange attribs |
# fix strange attribs |
32 |
find tests -type f|xargs chmod 644 |
find tests -type f|xargs chmod 644 |
53 |
install -m0755 %{soname} %{buildroot}%{_libdir}/php/extensions/ |
install -m0755 %{soname} %{buildroot}%{_libdir}/php/extensions/ |
54 |
|
|
55 |
%files |
%files |
56 |
%doc tests CREDITS README try.php |
%doc tests CREDITS try.php |
57 |
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/php.d/%{inifile} |
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/php.d/%{inifile} |
58 |
%attr(0755,root,root) %{_libdir}/php/extensions/%{soname} |
%attr(0755,root,root) %{_libdir}/php/extensions/%{soname} |
59 |
|
|