packages: php-pear-MDB2/php-pear-MDB2.spec - up to 2.5.0b2 beta

glen glen at pld-linux.org
Thu Aug 19 15:52:14 CEST 2010


Author: glen                         Date: Thu Aug 19 13:52:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.5.0b2 beta

---- Files affected:
packages/php-pear-MDB2:
   php-pear-MDB2.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: packages/php-pear-MDB2/php-pear-MDB2.spec
diff -u packages/php-pear-MDB2/php-pear-MDB2.spec:1.33 packages/php-pear-MDB2/php-pear-MDB2.spec:1.34
--- packages/php-pear-MDB2/php-pear-MDB2.spec:1.33	Thu Jan 31 13:16:08 2008
+++ packages/php-pear-MDB2/php-pear-MDB2.spec	Thu Aug 19 15:52:09 2010
@@ -2,17 +2,19 @@
 %include	/usr/lib/rpm/macros.php
 %define		_class		MDB2
 %define		_pearname	%{_class}
-%define		_status		stable
+%define		_status		beta
+%define		subver	b2
+%define		rel		1
 Summary:	%{_pearname} - unified database API
 Summary(pl.UTF-8):	%{_pearname} - zunifikowane API baz danych
 Name:		php-pear-%{_pearname}
-Version:	2.4.1
-Release:	2
+Version:	2.5.0
+Release:	0.%{subver}.%{rel}
 Epoch:		1
 License:	BSD style
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	ca272056a3a4f1031a2b0e7f2e286a12
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
+# Source0-md5:	64698ba759bc696a16d4f17b92f65727
 URL:		http://pear.php.net/package/MDB2/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -48,8 +50,8 @@
 Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
 Group:		Development/Languages/PHP
 Requires:	%{name} = %{epoch}:%{version}-%{release}
-AutoReq:	no
 AutoProv:	no
+AutoReq:	no
 
 %description tests
 Tests for PEAR::%{_pearname}.
@@ -60,12 +62,15 @@
 %prep
 %pear_package_setup
 
+mv docs/%{_pearname}/docs/examples .
+
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Driver/Native
 %pear_package_install
 
-rm -f $RPM_BUILD_ROOT/usr/share/pear/data/MDB2/LICENSE
+rm -f $RPM_BUILD_ROOT%{php_pear_dir}/data/MDB2/LICENSE
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,6 +83,8 @@
 %{php_pear_dir}/*.php
 %{php_pear_dir}/%{_class}
 
+%{_examplesdir}/%{name}-%{version}
+
 %files tests
 %defattr(644,root,root,755)
 %{php_pear_dir}/tests/*
@@ -88,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2010/08/19 13:52:09  glen
+- up to 2.5.0b2 beta
+
 Revision 1.33  2008/01/31 12:16:08  glen
 - rel 2
 
================================================================

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



More information about the pld-cvs-commit mailing list