]> git.pld-linux.org Git - packages/php-pear-Mail.git/blobdiff - php-pear-Mail.spec
- dropped -tests
[packages/php-pear-Mail.git] / php-pear-Mail.spec
index fd1343ff1d3d7dc26af93833bbc7d7484a0e0358..abcbd091ec397ea799f98041b89ae4081c4f671a 100644 (file)
@@ -2,22 +2,28 @@
 %define                _class          Mail
 %define                _status         stable
 %define                _pearname       %{_class}
-
 Summary:       %{_pearname} - Class that provides multiple interfaces for sending emails
-Summary(pl):   %{_pearname} - Klasa daj±ca interfejsy do wysy³ania poczty
+Summary(pl.UTF-8):     %{_pearname} - Klasa dająca interfejsy do wysyłania poczty
 Name:          php-pear-%{_pearname}
-Version:       1.1.8
-Release:       1.2
+Version:       1.2.0
+Release:       3
 License:       PHP/BSD
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 69b1941019b686227123a879090241ab
+# Source0-md5: 1bb2c88905f255490c4706b5394c2036
 URL:           http://pear.php.net/package/Mail/
+BuildRequires: php-pear-PEAR
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
-Requires:      php-pear
+BuildRequires: rpmbuild(macros) >= 1.571
+Requires:      php-pear >= 4:1.3-6
+Suggests:      php-pear-Net_SMTP
+Obsoletes:     php-pear-Mail-tests
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# exclude optional dependencies
+%define                _noautoreq      pear(Net/SMTP.*)
+
 %description
 The PEAR's Mail:: interface, defines the interface for implementing
 mailers under the PEAR hierarchy, and provides supporting functions
@@ -27,25 +33,16 @@ mail() function, sendmail and SMTP. This package also provides a RFC
 
 In PEAR status of this package is: %{_status}.
 
-%description -l pl
+%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
-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.
+wysyłania poczty oraz udostępnia funkcje pomocnicze przydatne w wielu
+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}.
 
-%package tests
-Summary:       Tests for PEAR::%{_pearname}
-Group:         Development
-Requires:      %{name} = %{version}-%{release}
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
 %prep
-%setup -q -c
 %pear_package_setup
 
 %install
@@ -56,14 +53,12 @@ install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p <lua>
+%pear_package_print_optionalpackages
+
 %files
 %defattr(644,root,root,755)
 %doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/*.reg
-%dir %{php_pear_dir}/%{_class}
-%{php_pear_dir}/*.php
-%{php_pear_dir}/%{_class}/*.php
-
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/Mail.php
+%{php_pear_dir}/Mail/*
This page took 0.070508 seconds and 4 git commands to generate.