packages: php-phpmailer/php-phpmailer.spec - php autodeps prepare, fill the...
glen
glen at pld-linux.org
Tue Jan 12 15:47:19 CET 2010
Author: glen Date: Tue Jan 12 14:47:19 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- php autodeps prepare, fill them manually now too
---- Files affected:
packages/php-phpmailer:
php-phpmailer.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: packages/php-phpmailer/php-phpmailer.spec
diff -u packages/php-phpmailer/php-phpmailer.spec:1.13 packages/php-phpmailer/php-phpmailer.spec:1.14
--- packages/php-phpmailer/php-phpmailer.spec:1.13 Tue Jan 12 15:08:36 2010
+++ packages/php-phpmailer/php-phpmailer.spec Tue Jan 12 15:47:13 2010
@@ -1,6 +1,6 @@
# $Revision$, $Date$
-# TODO:
-# - better requires with proper php modules.
+%define php_min_version 5.1.0
+%include /usr/lib/rpm/macros.php
Summary: Full featured email transfer class for PHP
Summary(pl.UTF-8): W pełni funkcjonalna klasa PHP do przesyłania e-maili
Name: php-phpmailer
@@ -10,16 +10,24 @@
Group: Development/Languages/PHP
Source0: http://dl.sourceforge.net/phpmailer/phpMailer_v%{version}.tar.gz
# Source0-md5: 897f53ab746c48f372364b7745d8d468
+Patch0: paths.patch
URL: http://phpmailer.codeworxtech.com/
-BuildRequires: rpmbuild(macros) >= 1.461
-Requires: php-common >= 4:5.0
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.520
+Requires: php-common >= 4:%{php_min_version}
+Requires: php-pcre
+Suggests: php-hash
+Suggests: php-mbstring
+Suggests: php-openssl
Obsoletes: phpmailer
-Patch0: paths.patch
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _appdir %{php_data_dir}/phpmailer
+# Exclude optional PHP extension dependencies
+%define _noautoreq php-hash php-openssl php-mbstring
+
%description
PHP email transport class featuring multiple file attachments, SMTP
servers, CCs, BCCs, HTML messages, and word wrap, and more. It can
@@ -96,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2010/01/12 14:47:13 glen
+- php autodeps prepare, fill them manually now too
+
Revision 1.13 2010/01/12 14:08:36 glen
- up to 2.3, apidocs accessible over web only
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-phpmailer/php-phpmailer.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list