[packages/php-pear-Mail] up to 1.3.0
glen
glen at pld-linux.org
Tue Feb 2 20:56:08 CET 2016
commit f9c58e398df3fb65671d41463428868edc32ef72
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Feb 2 21:55:51 2016 +0200
up to 1.3.0
php-pear-Mail.spec | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/php-pear-Mail.spec b/php-pear-Mail.spec
index 83af2af..4a975ee 100644
--- a/php-pear-Mail.spec
+++ b/php-pear-Mail.spec
@@ -1,20 +1,18 @@
+%define pearname Mail
%include /usr/lib/rpm/macros.php
-%define _class Mail
-%define _status stable
-%define _pearname %{_class}
-Summary: %{_pearname} - Class that provides multiple interfaces for sending emails
-Summary(pl.UTF-8): %{_pearname} - Klasa dająca interfejsy do wysyłania poczty
-Name: php-pear-%{_pearname}
-Version: 1.2.0
-Release: 4
+Summary: %{pearname} - Class that provides multiple interfaces for sending emails
+Summary(pl.UTF-8): %{pearname} - Klasa dająca interfejsy do wysyłania poczty
+Name: php-pear-%{pearname}
+Version: 1.3.0
+Release: 1
License: PHP/BSD
Group: Development/Languages/PHP
-Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 1bb2c88905f255490c4706b5394c2036
+Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: 55ddd9fa33c72cc1720a986678e3499b
URL: http://pear.php.net/package/Mail/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.571
+BuildRequires: rpmbuild(macros) >= 1.654
Requires: php-pear >= 4:1.3-6
Suggests: php-pear-Net_SMTP
Obsoletes: php-pear-Mail-tests
@@ -22,7 +20,7 @@ BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# exclude optional dependencies
-%define _noautoreq pear(Net/SMTP.*)
+%define _noautoreq_pear Net/SMTP.*
%description
The PEAR's Mail:: interface, defines the interface for implementing
@@ -31,8 +29,6 @@ useful in multiple mailer backends. Currently supported are native PHP
mail() function, sendmail and SMTP. This package also provides a RFC
822 Email address list validation utility class.
-In PEAR status of this package is: %{_status}.
-
%description -l pl.UTF-8
Klasa Mail:: definiuje w hierarchii PEAR interfejs do implementowania
wysyłania poczty oraz udostępnia funkcje pomocnicze przydatne w wielu
@@ -40,8 +36,6 @@ backendach do obsługi poczty. Aktualnie obsługiwane sposoby to natywna
dla PHP funkcja mail(), sendmail oraz SMTP. Ten pakiet zawiera także
klasę sprawdzającą zgodność list adresów z RFC 822.
-Ta klasa ma w PEAR status: %{_status}.
-
%prep
%pear_package_setup
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Mail.git/commitdiff/f9c58e398df3fb65671d41463428868edc32ef72
More information about the pld-cvs-commit
mailing list