SPECS: php-pear-PEAR.spec - -core subpackage for basic PEAR classe...

glen glen at pld-linux.org
Tue Nov 8 23:09:12 CET 2005


Author: glen                         Date: Tue Nov  8 22:09:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -core subpackage for basic PEAR classes, as most of the PEAR packages don't require other than these

---- Files affected:
SPECS:
   php-pear-PEAR.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: SPECS/php-pear-PEAR.spec
diff -u SPECS/php-pear-PEAR.spec:1.90 SPECS/php-pear-PEAR.spec:1.91
--- SPECS/php-pear-PEAR.spec:1.90	Sat Nov  5 19:43:12 2005
+++ SPECS/php-pear-PEAR.spec	Tue Nov  8 23:09:05 2005
@@ -8,7 +8,7 @@
 Summary(pl):	%{_pearname} - podstawowa klasa dla PHP PEAR
 Name:		php-pear-%{_pearname}
 Version:	1.4.4
-Release:	2
+Release:	2.4
 Epoch:		1
 License:	PHP 3.0
 Group:		Development/Languages/PHP
@@ -32,6 +32,7 @@
 Requires:	php-pear-XML_RPC >= 1.4.0
 Requires:	php-xml
 Requires:	php-zlib
+Requires:	%{name}-core = %{epoch}:%{version}-%{release}
 Obsoletes:	php-pear-PEAR-Command
 Obsoletes:	php-pear-PEAR-Frontend-CLI
 Obsoletes:	php-pear-PEAR-OS
@@ -73,6 +74,18 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package core
+Summary:	PEAR core classes
+Group:		Development/Languages/PHP
+
+%description core
+This package incldues PEAR core classes:
+- PEAR class and PEAR_Error
+- System
+- OS_Guess
+and classes for PHP 5:
+- PEAR_ErrorStack and PEAR_Exception
+
 %prep
 %pear_package_setup
 %patch0 -p2
@@ -114,18 +127,34 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pear.conf
 %attr(755,root,root) %{_bindir}/*
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/*.php
-%{php_pear_dir}/OS
-%{php_pear_dir}/PEAR/*
+%{php_pear_dir}/pearcmd.php
+%{php_pear_dir}/peclcmd.php
+%{php_pear_dir}/PEAR/[!CE]*
+%{php_pear_dir}/PEAR/ChannelFile*
+%{php_pear_dir}/PEAR/Command*
+%{php_pear_dir}/PEAR/Config.php
+%{php_pear_dir}/PEAR/Common.php
 
 %{php_pear_dir}/data/*
 
+%files core
+%defattr(644,root,root,755)
+%{php_pear_dir}/PEAR.php
+%{php_pear_dir}/System.php
+%{php_pear_dir}/OS
+%dir %{php_pear_dir}/PEAR
+%{php_pear_dir}/PEAR/ErrorStack.php
+%{php_pear_dir}/PEAR/Exception.php
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2005/11/08 22:09:05  glen
+- -core subpackage for basic PEAR classes, as most of the PEAR packages don't require other than these
+
 Revision 1.90  2005/11/05 18:43:12  glen
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR.spec?r1=1.90&r2=1.91&f=u




More information about the pld-cvs-commit mailing list