]> git.pld-linux.org Git - packages/php-phpmailer.git/blobdiff - php-phpmailer.spec
Up to 5.2.28
[packages/php-phpmailer.git] / php-phpmailer.spec
index 4944cef0298119208b6be4d167619e4581ee0afe..1d2ef902b8005a6577ec2ef776d7436e1d9a3045 100644 (file)
@@ -4,17 +4,17 @@
 
 %define                pkgname phpmailer
 %define                php_min_version 5.2.4
-%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.12
+Version:       5.2.28
 Release:       1
 License:       LGPL v2.1
 Group:         Development/Languages/PHP
 Source0:       https://github.com/PHPMailer/PHPMailer/archive/v%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: 5c2d02e6fc4a61c9ba8b20810b564b1c
+# Source0-md5: 7cc68ae383b4300212880534fb399844
 URL:           https://github.com/PHPMailer/PHPMailer
+BuildRequires: php-devel
 BuildRequires: php-pear-PhpDocumentor
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.663
@@ -25,6 +25,7 @@ BuildRequires:        phpunit
 BuildRequires: which
 %endif
 Requires:      php(core) >= %{php_min_version}
+Requires:      php(ctype)
 Requires:      php(date)
 Requires:      php(pcre)
 Suggests:      php(hash)
@@ -43,7 +44,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _noautophp      php-openssl php-mbstring php-filter php-hash
 
 # bad depsolver
-%define                _noautoreq_pear extras/ntlm_sasl_client.php PHPMailerAutoload.php
+%define                _noautoreq_pear extras/ntlm_sasl_client.php PHPMailerAutoload.php extras/.*
 
 # put it together for rpmbuild
 %define                _noautoreq      %{?_noautophp}
@@ -81,7 +82,7 @@ for f in $(find -name '*.php' -o -name '*.inc'); do
 
 %if "%{php_major_version}.%{php_minor_version}" < "5.4"
        case $(basename $f) in
-       class.oauth.php|get_oauth_token.php)
+       class.phpmaileroauthgoogle.php|get_oauth_token.php)
                # needs php 5.4
                continue
        ;;
@@ -143,28 +144,29 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md changelog.md docs/*
+#%doc README.md changelog.md docs/*
 # public interfaces
 %{php_data_dir}/PHPMailerAutoload.php
 %{php_data_dir}/class.phpmailer.php
 
 %dir %{_appdir}
 %{_appdir}/PHPMailerAutoload.php
-%{_appdir}/class.oauth.php
 %{_appdir}/class.phpmailer.php
 %{_appdir}/class.phpmaileroauth.php
+%{_appdir}/class.phpmaileroauthgoogle.php
 %{_appdir}/class.pop3.php
 %{_appdir}/class.smtp.php
 %dir %{_appdir}/language
 %lang(am) %{_appdir}/language/phpmailer.lang-am.php
 %lang(ar) %{_appdir}/language/phpmailer.lang-ar.php
 %lang(az) %{_appdir}/language/phpmailer.lang-az.php
+%lang(ba) %{_appdir}/language/phpmailer.lang-ba.php
 %lang(be) %{_appdir}/language/phpmailer.lang-be.php
 %lang(bg) %{_appdir}/language/phpmailer.lang-bg.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(cs) %{_appdir}/language/phpmailer.lang-cs.php
+%lang(da) %{_appdir}/language/phpmailer.lang-da.php
 %lang(de) %{_appdir}/language/phpmailer.lang-de.php
 %lang(el) %{_appdir}/language/phpmailer.lang-el.php
 %lang(eo) %{_appdir}/language/phpmailer.lang-eo.php
@@ -186,17 +188,17 @@ rm -rf $RPM_BUILD_ROOT
 %lang(lt) %{_appdir}/language/phpmailer.lang-lt.php
 %lang(lv) %{_appdir}/language/phpmailer.lang-lv.php
 %lang(ms) %{_appdir}/language/phpmailer.lang-ms.php
-%lang(nb) %{_appdir}/language/phpmailer.lang-no.php
+%lang(nb) %{_appdir}/language/phpmailer.lang-nb.php
 %lang(nl) %{_appdir}/language/phpmailer.lang-nl.php
 %lang(pl) %{_appdir}/language/phpmailer.lang-pl.php
 %lang(pt) %{_appdir}/language/phpmailer.lang-pt.php
-%lang(pt_BR) %{_appdir}/language/phpmailer.lang-br.php
+%lang(pt_BR) %{_appdir}/language/phpmailer.lang-pt_br.php
 %lang(ro) %{_appdir}/language/phpmailer.lang-ro.php
+%lang(rs) %{_appdir}/language/phpmailer.lang-rs.php
 %lang(ru) %{_appdir}/language/phpmailer.lang-ru.php
 %lang(sk) %{_appdir}/language/phpmailer.lang-sk.php
 %lang(sl) %{_appdir}/language/phpmailer.lang-sl.php
-%lang(sr) %{_appdir}/language/phpmailer.lang-sr.php
-%lang(sv) %{_appdir}/language/phpmailer.lang-se.php
+%lang(sv) %{_appdir}/language/phpmailer.lang-sv.php
 %lang(tr) %{_appdir}/language/phpmailer.lang-tr.php
 %lang(uk) %{_appdir}/language/phpmailer.lang-uk.php
 %lang(vi) %{_appdir}/language/phpmailer.lang-vi.php
This page took 0.090666 seconds and 4 git commands to generate.