packages: php-pear-MDB2_Schema/php-pear-MDB2_Schema.spec - up to 0.8.5

glen glen at pld-linux.org
Thu Aug 19 21:42:33 CEST 2010


Author: glen                         Date: Thu Aug 19 19:42:33 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.8.5

---- Files affected:
packages/php-pear-MDB2_Schema:
   php-pear-MDB2_Schema.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/php-pear-MDB2_Schema/php-pear-MDB2_Schema.spec
diff -u packages/php-pear-MDB2_Schema/php-pear-MDB2_Schema.spec:1.20 packages/php-pear-MDB2_Schema/php-pear-MDB2_Schema.spec:1.21
--- packages/php-pear-MDB2_Schema/php-pear-MDB2_Schema.spec:1.20	Fri Dec 26 02:50:03 2008
+++ packages/php-pear-MDB2_Schema/php-pear-MDB2_Schema.spec	Thu Aug 19 21:42:28 2010
@@ -1,33 +1,34 @@
 # $Revision$, $Date$
+# TODO
+# - do something with /usr/share/pear/www/mdb2_schematool
 %include	/usr/lib/rpm/macros.php
 %define		_class		MDB2
 %define		_subclass	Schema
 %define		_status		beta
 %define		_pearname	%{_class}_%{_subclass}
-
 Summary:	%{_pearname} - XML based database schema manager
 Summary(pl.UTF-8):	%{_pearname} - oparty na XML zarządca schematów baz danych
 Name:		php-pear-%{_pearname}
-Version:	0.8.4
+Version:	0.8.5
 Release:	1
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	7897a75eb04461f4693d1a3781ae5730
+# Source0-md5:	80512a099d79927a122d9baa8cef1bb4
 URL:		http://pear.php.net/package/MDB2_Schema/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	php-common >= 3:4.2.0
 Requires:	php-pear
-Requires:	php-pear-MDB2 >= 1:2.0.0-0.RC1
-Requires:	php-pear-PEAR-core >= 1:1.0b1
-Requires:	php-pear-XML_Parser
+Requires:	php-pear-MDB2 >= 1:2.5.0-0.b1
+Requires:	php-pear-PEAR-core >= 1:1.7.0
+Requires:	php-pear-XML_Parser >= 1.2.8
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	'pear(XML/DTD.*)'
+%define		_noautoreq	'pear(XML/DTD.*)' pear(XML/Serializer.*)
 
 %description
 PEAR::MDB2_Schema enables users to maintain RDBMS independant schema
@@ -52,8 +53,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}.
@@ -64,14 +65,26 @@
 %prep
 %pear_package_setup
 
+mv docs/%{_pearname}/docs/examples .
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/www/mdb2_schematool
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
+	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc install.log optional-packages.txt
@@ -80,6 +93,8 @@
 %{php_pear_dir}/%{_class}/%{_subclass}.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
+%{_examplesdir}/%{name}-%{version}
+
 %files tests
 %defattr(644,root,root,755)
 %{php_pear_dir}/tests/*
@@ -90,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2010/08/19 19:42:28  glen
+- up to 0.8.5
+
 Revision 1.20  2008/12/26 01:50:03  adamg
 - updated to 0.8.4
 
================================================================

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



More information about the pld-cvs-commit mailing list