]> git.pld-linux.org Git - packages/php-pear-PEAR.git/commitdiff
- -core subpackage for basic PEAR classes, as most of the PEAR packages don't require...
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 8 Nov 2005 22:09:05 +0000 (22:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-PEAR.spec -> 1.91

php-pear-PEAR.spec

index 30e9ab318bef0f2e4a00b5f96b5f6bcb980b5895..28dd938a74c4f0c9c0bf01b6cf98486253bddb68 100644 (file)
@@ -7,7 +7,7 @@ Summary:        %{_pearname} - main PHP PEAR class
 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
@@ -31,6 +31,7 @@ Requires:     php-pear-Console_Getopt >= 1.2
 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
@@ -72,6 +73,18 @@ Pakiet PEAR zawiara:
 
 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
@@ -113,8 +126,21 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.063847 seconds and 4 git commands to generate.