packages: php-phpmailer/php-phpmailer.spec - up to 5.1

glen glen at pld-linux.org
Wed May 26 17:06:35 CEST 2010


Author: glen                         Date: Wed May 26 15:06:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 5.1

---- Files affected:
packages/php-phpmailer:
   php-phpmailer.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/php-phpmailer/php-phpmailer.spec
diff -u packages/php-phpmailer/php-phpmailer.spec:1.16 packages/php-phpmailer/php-phpmailer.spec:1.17
--- packages/php-phpmailer/php-phpmailer.spec:1.16	Tue Feb  9 13:50:04 2010
+++ packages/php-phpmailer/php-phpmailer.spec	Wed May 26 17:06:28 2010
@@ -1,18 +1,18 @@
 # $Revision$, $Date$
-%define		php_min_version 5.1.0
+%define		php_min_version 5.2.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
-Version:	2.3
-Release:	2
-License:	LGPL
+Version:	5.1
+Release:	1
+License:	LGPL v2.1
 Group:		Development/Languages/PHP
-Source0:	http://downloads.sourceforge.net/phpmailer/phpMailer_v%{version}.tar.gz
-# Source0-md5:	897f53ab746c48f372364b7745d8d468
+Source0:	http://downloads.sourceforge.net/project/phpmailer/phpmailer%20for%20php5_6/PHPMailer%20v%{version}/PHPMailer_v%{version}.tar.gz
+# Source0-md5:	6e81fc229f88f7d9dd7cf70d65296ef8
 Patch0:		paths.patch
 Patch1:		phpmailer-update-et.patch
-URL:		http://phpmailer.codeworxtech.com/
+URL:		http://phpmailer.worxware.com/index.php?pg=phpmailer
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.520
 Requires:	php-common >= 4:%{php_min_version}
@@ -26,8 +26,11 @@
 
 %define		_appdir		%{php_data_dir}/phpmailer
 
-# Exclude optional PHP extension dependencies
-%define		_noautoreq	php-openssl php-mbstring
+# exclude optional php dependencies
+%define		_noautophp	php-openssl php-mbstring php-filter
+
+# put it together for rpmbuild
+%define		_noautoreq	%{?_noautophp} %{?_noautopear}
 
 %description
 PHP email transport class featuring multiple file attachments, SMTP
@@ -42,7 +45,7 @@
 poprzez SMTP. Metody są oparte na popularnym komponencie AspEmail.
 
 %prep
-%setup -q -n phpMailer_v%{version}
+%setup -q -n PHPMailer_v%{version}
 %patch0 -p1
 %patch1 -p1
 
@@ -68,16 +71,16 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog.txt README LICENSE docs/*
+%doc changelog.txt README docs/*
 %{php_data_dir}/class.phpmailer.php
 
 %dir %{_appdir}
 %{_appdir}/class.pop3.php
 %{_appdir}/class.smtp.php
 %dir %{_appdir}/language
-%{_appdir}/language/phpmailer.lang-en.php
 %lang(ar) %{_appdir}/language/phpmailer.lang-ar.php
 %lang(ca) %{_appdir}/language/phpmailer.lang-ca.php
+%lang(ch) %{_appdir}/language/phpmailer.lang-ch.php
 %lang(cs) %{_appdir}/language/phpmailer.lang-cz.php
 %lang(da) %{_appdir}/language/phpmailer.lang-dk.php
 %lang(de) %{_appdir}/language/phpmailer.lang-de.php
@@ -97,6 +100,8 @@
 %lang(ru) %{_appdir}/language/phpmailer.lang-ru.php
 %lang(sv) %{_appdir}/language/phpmailer.lang-se.php
 %lang(tr) %{_appdir}/language/phpmailer.lang-tr.php
+%lang(zh) %{_appdir}/language/phpmailer.lang-zh.php
+%lang(zh_CN) %{_appdir}/language/phpmailer.lang-zh_cn.php
 
 %{_examplesdir}/%{name}-%{version}
 
@@ -106,6 +111,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2010/05/26 15:06:28  glen
+- up to 5.1
+
 Revision 1.16  2010/02/09 12:50:04  glen
 - hash extension is not required, php.req was wrong; rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-phpmailer/php-phpmailer.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list