[php-PHPMailer/f17] * 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 14:03:43 UTC 2013


commit 8310155968d433eac28d5b290ac8f9499486571e
Author: Patrick Monnerat <pm at datasphere.ch>
Date:   Tue Apr 16 16:03:19 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 |   37 +++++++++++++------------------------
 sources            |    2 +-
 3 files changed, 15 insertions(+), 25 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 af689ae..495b259 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
+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.
+
 * Sun Dec 23 2012 Johan Cwiklinski <johan AT x-tnd DOT be> - 5.2.2-1
 - Latest upstream release
 
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