[php-PHPMailer] * Tue Apr 16 2013 Patrick Monnerat <pm at datasphere.ch> 5.2.6-1 - New upstream release: source moved t

Patrick Monnerat monnerat at fedoraproject.org
Tue Apr 16 13:37:50 UTC 2013


commit 776a9dba9772313908056e186e570b67066db2e8
Author: Patrick Monnerat <pm at datasphere.ch>
Date:   Tue Apr 16 15:36:37 2013 +0200

    * Tue Apr 16 2013 Patrick Monnerat <pm at datasphere.ch> 5.2.6-1
    - New upstream release: source moved to github.

 .gitignore         |    1 +
 php-PHPMailer.spec |   39 ++++++++++++++-------------------------
 sources            |    2 +-
 3 files changed, 16 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2e13152..93679f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 PHPMailer_v5.1.tar.gz
 /PHPMailer_5.2.1.tgz
 /PHPMailer_5.2.2.tgz
+/Synchro-PHPMailer-4d9434e-5.2.6.tar.gz
diff --git a/php-PHPMailer.spec b/php-PHPMailer.spec
index 8254598..0e931be 100644
--- a/php-PHPMailer.spec
+++ b/php-PHPMailer.spec
@@ -1,10 +1,16 @@
+%global		github_user	Synchro
+%global		github_app	PHPMailer
+%global		github_tag	4d9434e
+
+%global		arch_name	%{github_user}-%{github_app}-%{github_tag}
+
 Name:		php-PHPMailer
 Summary:	PHP email transport class with a lot of features
-Version:	5.2.2
-Release:	2%{?dist}
+Version:	5.2.6
+Release:	1%{?dist}
 License:	LGPLv2+
 Group:		System Environment/Libraries
-Source0:	http://phpmailer.apache-extras.org.codespot.com/files/PHPMailer_%{version}.tgz
+Source0:	https://github.com/Synchro/PHPMailer/tarball/%{github_tag}/%{arch_name}-%{version}.tar.gz
 URL:		http://phpmailer.worxware.com/
 Requires:	php-mbstring >= 5.1.0
 Buildarch:	noarch
@@ -37,27 +43,7 @@ Full Featured Email Transfer Class for PHP. PHPMailer features:
 %prep
 #-------------------------------------------------------------------------------
 
-%setup -q -n PHPMailer_%{version}
-
-pushd docs/phpdoc/js/prettify
-
-NONUTF="lang-apollo.js
-lang-vb.js
-lang-tex.js
-lang-vhdl.js
-lang-scala.js
-lang-lua.js
-lang-ml.js
-lang-wiki.js
-lang-sql.js
-lang-go.js" 
-
-for file in $NONUTF
-do
-	iconv -f iso-8859-1 -t utf-8 $file > $file.utf
-	mv $file.utf $file
-done
-popd
+%setup -q -n %{arch_name}
 
 
 #-------------------------------------------------------------------------------
@@ -122,7 +108,7 @@ rm -rf "${RPM_BUILD_ROOT}"
 #-------------------------------------------------------------------------------
 
 %defattr(-, root, root, -)
-%doc docs/* README LICENSE changelog.txt
+%doc docs/* README.md LICENSE changelog.md
 %doc examples
 %{_datadir}/php/PHPMailer
 %dir %{_datadir}/PHPMailer
@@ -130,6 +116,9 @@ rm -rf "${RPM_BUILD_ROOT}"
 
 
 %changelog
+* Tue Apr 16 2013 Patrick Monnerat <pm at datasphere.ch> 5.2.6-1
+- New upstream release: source moved to github.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.2.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 2e64099..5b27e11 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8c4b4a76641edfc89e3f3424da649b62  PHPMailer_5.2.2.tgz
+932f83054d3987dde4acc377572b7465  Synchro-PHPMailer-4d9434e-5.2.6.tar.gz


More information about the scm-commits mailing list