SPECS: php-pear-DB_DataObject.spec - package DB_DataObject_createT...

glen glen at pld-linux.org
Wed Nov 1 17:14:50 CET 2006


Author: glen                         Date: Wed Nov  1 16:14:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package DB_DataObject_createTables script; rel 2

---- Files affected:
SPECS:
   php-pear-DB_DataObject.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/php-pear-DB_DataObject.spec
diff -u SPECS/php-pear-DB_DataObject.spec:1.48 SPECS/php-pear-DB_DataObject.spec:1.49
--- SPECS/php-pear-DB_DataObject.spec:1.48	Tue May 23 22:18:14 2006
+++ SPECS/php-pear-DB_DataObject.spec	Wed Nov  1 17:14:45 2006
@@ -9,11 +9,12 @@
 Summary(pl):	%{_pearname} - SQL builder, obiektowy interfejs do tabel bazodanowych
 Name:		php-pear-%{_pearname}
 Version:	1.8.4
-Release:	1
+Release:	2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	770c44d243066340d639b063235dcc02
+Patch0:		DB_DataObject-PLD.patch
 URL:		http://pear.php.net/package/DB_DataObject/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -52,11 +53,14 @@
 
 %prep
 %pear_package_setup
+mv ./%{php_pear_dir}/DB/DataObject/createTables.php DB_DataObject_createTables
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_bindir}}
 %pear_package_install
+install DB_DataObject_createTables $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -71,6 +75,7 @@
 %doc install.log optional-packages.txt
 %doc docs/%{_pearname}/docs/example.ini
 %{php_pear_dir}/.registry/*.reg
+%attr(755,root,root) %{_bindir}/DB_DataObject_createTables
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
 
@@ -80,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2006/11/01 16:14:45  glen
+- package DB_DataObject_createTables script; rel 2
+
 Revision 1.48  2006/05/23 20:18:14  glen
 - BR rpm-build macros >= 1.300 for %pear_ macros
 
@@ -176,7 +184,7 @@
 - updated to 1.0.1
 
 Revision 1.17  2003/07/16 09:38:44  adamg
-- updated to 1.0, fixed %%doc
+- updated to 1.0, fixed %doc
 
 Revision 1.16  2003/05/28 10:50:28  adamg
 - massive manual attack: pear packages update
@@ -203,7 +211,7 @@
 - 0.9 - previous version was stable (0.8), this one is only bugfix
 
 Revision 1.8  2002/11/22 19:37:02  lb
-a small typo fixed
+- a small typo fixed
 
 Revision 1.7  2002/10/14 23:39:07  misto
 - new rpm-php-requires/provides scripts
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-DB_DataObject.spec?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list