[packages/php-pear-Net_Monitor] up to 0.3.0

glen glen at pld-linux.org
Wed Jun 18 16:10:33 CEST 2014

commit 3c137d621ce798ed6ba3ed35223d8f215f3e30f0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 18 17:10:25 2014 +0300

    up to 0.3.0

 php-pear-Net_Monitor.spec | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/php-pear-Net_Monitor.spec b/php-pear-Net_Monitor.spec
index aca3458..a3c0bcd 100644
--- a/php-pear-Net_Monitor.spec
+++ b/php-pear-Net_Monitor.spec
@@ -1,19 +1,19 @@
+%define		status		beta
+%define		pearname	Net_Monitor
 %include	/usr/lib/rpm/macros.php
-%define		_status		beta
-%define		_pearname	Net_Monitor
-Summary:	%{_pearname} - remote service monitor
-Summary(pl.UTF-8):	%{_pearname} - monitoring zdalnych usług
-Name:		php-pear-%{_pearname}
-Version:	0.2.5
-Release:	2
+Summary:	%{pearname} - remote service monitor
+Summary(pl.UTF-8):	%{pearname} - monitoring zdalnych usług
+Name:		php-pear-%{pearname}
+Version:	0.3.0
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	6f0db70abcccafcea14ac7921aec57cd
+Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5:	732ee641648110ff01a950955b101283
 URL:		http://pear.php.net/package/Net_Monitor/
 BuildRequires:	php-pear-PEAR >= 1:1.4.0-0.b1
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	php-pear
 Requires:	php-pear-PEAR-core >= 1:1.0.0
 Suggests:	php-pear-HTTP_Request >= 1.2.4
@@ -28,42 +28,43 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # exclude optional dependencies
-%define		_noautoreq	pear(HTTP/Request.*) pear(Mail.*) pear(Net/DNS.*) pear(Net/FTP.*) pear(Net/SMS.*) pear(Net/SMTP.*) pear(Net/Growl.php)
+%define		_noautoreq_pear HTTP/Request.* Mail.* Net/DNS.* Net/FTP.* Net/SMS.* Net/SMTP.* Net/Grow.*
 A unified interface for checking the availability services on external
 servers and sending meaningful alerts through a variety of media if a
 service becomes unavailable.
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 %description -l pl.UTF-8
 Zunifikowany interfejs do sprawdzania dostępności usług na zdalnych
 serwerach oraz wysyłania komunikatów poprzez różnego rodzaju media w
 przypadku braku dostępności danej usługi.
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
+mv .%{php_pear_dir}/data/Net_Monitor/* .
+mv docs/%{pearname}/* .
+mv doc/* .
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
-if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
-	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
+%post -p <lua>
-%doc install.log optional-packages.txt
-%doc docs/%{_pearname}/*
+%doc README.txt install.log optional-packages.txt

---- gitweb:


More information about the pld-cvs-commit mailing list