packages: php-pear-Net_FTP/php-pear-Net_FTP.spec - up to 1.4.0a2

glen glen at pld-linux.org
Thu Aug 19 16:04:35 CEST 2010


Author: glen                         Date: Thu Aug 19 14:04:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.4.0a2

---- Files affected:
packages/php-pear-Net_FTP:
   php-pear-Net_FTP.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: packages/php-pear-Net_FTP/php-pear-Net_FTP.spec
diff -u packages/php-pear-Net_FTP/php-pear-Net_FTP.spec:1.30 packages/php-pear-Net_FTP/php-pear-Net_FTP.spec:1.31
--- packages/php-pear-Net_FTP/php-pear-Net_FTP.spec:1.30	Thu Jun 19 23:07:19 2008
+++ packages/php-pear-Net_FTP/php-pear-Net_FTP.spec	Thu Aug 19 16:04:27 2010
@@ -2,17 +2,19 @@
 %include	/usr/lib/rpm/macros.php
 %define		_class		Net
 %define		_subclass	FTP
-%define		_status		stable
+%define		_status		alpha
 %define		_pearname	%{_class}_%{_subclass}
+%define		subver	a2
+%define		rel		1
 Summary:	%{_pearname} - comfortable communication with FTP-servers
 Summary(pl.UTF-8):	%{_pearname} - komfortowa komunikacja z serwerami FTP
 Name:		php-pear-%{_pearname}
-Version:	1.3.7
-Release:	1
+Version:	1.4.0
+Release:	0.%{subver}.%{rel}
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	72ad889ed9ee1684592315a236c363f5
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
+# Source0-md5:	3296b0ce4e2042cd29d7e60af1293e3a
 URL:		http://pear.php.net/package/Net_FTP/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -55,22 +57,27 @@
 
 mv ./%{php_pear_dir}/data/Net_FTP/CHANGELOG .
 
+mv docs/%{_pearname}/example examples
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
 %pear_package_install
 
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc install.log CHANGELOG
-%doc docs/%{_pearname}/example
 %{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
+%{_examplesdir}/%{name}-%{version}
+
 %files tests
 %defattr(644,root,root,755)
 %{php_pear_dir}/tests/%{_pearname}
@@ -81,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2010/08/19 14:04:27  glen
+- up to 1.4.0a2
+
 Revision 1.30  2008/06/19 21:07:19  adamg
 - updated to 1.3.7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Net_FTP/php-pear-Net_FTP.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list