]> git.pld-linux.org Git - packages/php-phpmailer.git/commitdiff
up to 5.2.2-beta1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 27 Aug 2012 13:19:23 +0000 (16:19 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 27 Aug 2012 13:19:23 +0000 (16:19 +0300)
php-phpmailer.spec

index a3ca3944f34f4b197a21cb85a85c3651f35b240c..9099415dca7d2e4c9f237f21b81b621ccaa852ea 100644 (file)
@@ -1,18 +1,18 @@
 %define                pkgname phpmailer
 %define                php_min_version 5.2.0
+%define                subver  beta1
 %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-%{pkgname}
-Version:       5.2.1
-Release:       2
+Version:       5.2.2
+Release:       0.%{subver}.2
 License:       LGPL v2.1
 Group:         Development/Languages/PHP
-Source0:       http://phpmailer.apache-extras.org.codespot.com/files/PHPMailer_%{version}.tgz
-# Source0-md5: 2ef9a089aa9aae9899b4ab785ef873c3
+#Source0:      http://phpmailer.apache-extras.org.codespot.com/files/PHPMailer_%{version}.tgz
+Source0:       http://phpmailer.apache-extras.org.codespot.com/files/PHPMailer_%{version}-%{subver}.tgz
+# Source0-md5: 67bbd48cb35ed070c636b7ad67daaca1
 Patch0:                paths.patch
-Patch1:                phpmailer-update-et.patch
-Patch2:                tests.patch
 URL:           http://code.google.com/a/apache-extras.org/p/phpmailer/
 BuildRequires: php-pear-PhpDocumentor
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -32,6 +32,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # exclude optional php dependencies
 %define                _noautophp      php-openssl php-mbstring php-filter
 
+# bad depsolver
+%define                _noautopear     pear(ntlm_sasl_client.php)
+
 # put it together for rpmbuild
 %define                _noautoreq      %{?_noautophp} %{?_noautopear}
 
@@ -60,15 +63,14 @@ Documentation for %{name}.
 Dokumentacja do %{name}.
 
 %prep
-%setup -q -n PHPMailer_%{version}
+%setup -q -n PHPMailer_%{version}%{?subver:-%{subver}}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %undos -f php,html,txt README LICENSE
 
-mv docs/5.0-phpdocs phpdoc.orig
+mv docs/phpdoc .
 
+%if 0
 %build
 phpdoc --title 'PHPMailer version %{version}' --target phpdoc --defaultpackagename PHPMailer -f 'class.*.php'
 # nuke smarty cache
@@ -80,6 +82,7 @@ sdir=%{php_pear_dir}/data/PhpDocumentor/phpDocumentor/Converters/HTML/frames/tem
 install -d phpdoc/media/images
 cp -a $sdir/Constant.png phpdoc/media/images
 cp -a $sdir/Variable.png phpdoc/media/images
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -91,7 +94,7 @@ cp -p class.{smtp,pop3}.php  $RPM_BUILD_ROOT%{_appdir}
 # language: translations of error messages
 cp -p language/*.php $RPM_BUILD_ROOT%{_appdir}/language
 
-# extras: htmlfilter.php
+# extras: htmlfilter.php, ntlm_sasl_client.php
 cp -a extras $RPM_BUILD_ROOT%{_appdir}
 
 # examples
@@ -140,7 +143,9 @@ rm -rf $RPM_BUILD_ROOT
 %lang(zh_CN) %{_appdir}/language/phpmailer.lang-zh_cn.php
 
 %dir %{_appdir}/extras
+%{_appdir}/extras/class.html2text.inc
 %{_appdir}/extras/htmlfilter.php
+%{_appdir}/extras/ntlm_sasl_client.php
 
 %{_examplesdir}/%{name}-%{version}
 
This page took 0.097081 seconds and 4 git commands to generate.