SPECS: php-pear-Auth.spec, php-pear-Auth_HTTP.spec, php-pear-DB.sp...

glen glen at pld-linux.org
Mon Sep 19 20:44:02 CEST 2005


Author: glen                         Date: Mon Sep 19 18:44:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged from DEVEL: use new pear packaging system

---- Files affected:
SPECS:
   php-pear-Auth.spec (1.25 -> 1.26) , php-pear-Auth_HTTP.spec (1.27 -> 1.28) , php-pear-DB.spec (1.38 -> 1.39) , php-pear-Net_FTP.spec (1.15 -> 1.16) , php-pear-Net_SMTP.spec (1.17 -> 1.18) , php-pear-PEAR_PackageFileManager.spec (1.25 -> 1.26) , php-pear-SOAP.spec (1.20 -> 1.21) , php-pear-XML_Beautifier.spec (1.14 -> 1.15) , php-pear-XML_Parser.spec (1.23 -> 1.24) , php-pear-XML_Util.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Auth.spec
diff -u SPECS/php-pear-Auth.spec:1.25 SPECS/php-pear-Auth.spec:1.26
--- SPECS/php-pear-Auth.spec:1.25	Sat Dec  4 21:47:05 2004
+++ SPECS/php-pear-Auth.spec	Mon Sep 19 20:43:56 2005
@@ -8,18 +8,21 @@
 Summary(pl):	%{_pearname} - klasa dla PHP PEAR z klasami uwierzytelniającymi
 Name:		php-pear-%{_pearname}
 Version:	1.2.3
-Release:	3
+Release:	3.2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	1506c2a27afe85e8d56eaa8466b6f13a
 Patch0:		%{name}-path_fix.patch
 URL:		http://pear.php.net/package/Auth/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# optional
+%define		_noautoreq	'pear(Auth/RADIUS.php)' 'pear(File/Passwd.php)' 'pear(File/SMBPasswd.php)' 'pear(Net/POP3.php)'
+
 %description
 The PEAR::Auth package provides methods for creating an authentication
 system using PHP.
@@ -32,37 +35,74 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{version}-%{release}
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
 %prep
-%setup -q -c
-%patch0 -p1
+%pear_package_setup
+cd ./%{php_pear_dir}/%{_class}
+%patch0 -p2
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{Auth,Container}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/Auth/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Auth
-install %{_pearname}-%{version}/Container/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %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 %{_pearname}-%{version}/{README*,tests}
+%doc install.log optional-packages.txt
+%doc docs/%{_pearname}/README*
+%{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}
-%dir %{php_pear_dir}/%{_class}/Auth
 %dir %{php_pear_dir}/%{_class}/Container
+%{php_pear_dir}/*.php
 %{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/Auth/*.php
 %{php_pear_dir}/%{_class}/Container/*.php
 
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*
+
 %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.26  2005/09/19 18:43:56  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.25.2.6  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.25.2.5  2005/09/18 12:40:53  glen
+- unify
+
+Revision 1.25.2.4  2005/09/18 11:52:35  glen
+- cosmetics
+
+Revision 1.25.2.3  2005/09/18 11:00:35  glen
+- use php-pear-build
+
+Revision 1.25.2.2  2005/09/18 10:33:42  glen
+- mark optional PEAR packages
+
+Revision 1.25.2.1  2005/09/18 10:28:01  glen
+- using pear to package
+
 Revision 1.25  2004/12/04 20:47:05  adamg
 - fix path to Crypt/CHAP.php in Container/RADIUS.php
 - release 3
@@ -89,7 +129,7 @@
 
 Revision 1.18  2003/07/29 07:09:22  adamg
 - updated to 1.2.2
-- added tests/ to %%doc
+- added tests/ to %doc
 
 Revision 1.17  2003/05/28 08:58:35  adamg
 - massive attack: added source0-md5

================================================================
Index: SPECS/php-pear-Auth_HTTP.spec
diff -u SPECS/php-pear-Auth_HTTP.spec:1.27 SPECS/php-pear-Auth_HTTP.spec:1.28
--- SPECS/php-pear-Auth_HTTP.spec:1.27	Thu May  5 09:38:50 2005
+++ SPECS/php-pear-Auth_HTTP.spec	Mon Sep 19 20:43:56 2005
@@ -2,20 +2,20 @@
 %include	/usr/lib/rpm/macros.php
 %define		_class		Auth
 %define		_subclass	HTTP
-%define		_status		beta
+%define		_status		stable
 %define		_pearname	%{_class}_%{_subclass}
 
 Summary:	%{_pearname} - HTTP authentication system using PHP
 Summary(pl):	%{_pearname} - system uwierzytelniania HTTP przy użyciu PHP
 Name:		php-pear-%{_pearname}
 Version:	2.1.6
-Release:	1
+Release:	1.2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	d5209f0d1f1874e23b44fbfb397a2aa0
-URL:		http://pear.php.net/package/Auth_HTTP/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+URL:		http://pear.php.net/package/Auth_HTTP
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,30 +34,63 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{version}-%{release}
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/%{_class}_%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}.php
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/tests
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}
 %{php_pear_dir}/%{_class}/*.php
 
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*
+
 %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.28  2005/09/19 18:43:56  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.27.2.6  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.27.2.5  2005/09/18 14:06:48  glen
+- fix URL, fix status
+
+Revision 1.27.2.4  2005/09/18 12:43:44  glen
+- add install.log
+
+Revision 1.27.2.3  2005/09/18 12:40:53  glen
+- unify
+
+Revision 1.27.2.2  2005/09/18 11:05:53  glen
+- rel 1.1
+
+Revision 1.27.2.1  2005/09/18 11:04:52  glen
+- use php-pear-build
+
 Revision 1.27  2005/05/05 07:38:50  adamg
 - updated to 2.1.6
 
@@ -134,7 +167,7 @@
 
 Revision 1.4  2002/07/01 22:05:44  blues
 - 1.0.1
-STBR
+  STBR
 
 Revision 1.3  2002/06/30 19:43:12  kloczek
 - simplifications in %install.

================================================================
Index: SPECS/php-pear-DB.spec
diff -u SPECS/php-pear-DB.spec:1.38 SPECS/php-pear-DB.spec:1.39
--- SPECS/php-pear-DB.spec:1.38	Sun May  8 18:42:41 2005
+++ SPECS/php-pear-DB.spec	Mon Sep 19 20:43:56 2005
@@ -8,13 +8,13 @@
 Summary(pl):	%{_pearname} - Abstrakcyjna warstwa baz danych
 Name:		php-pear-%{_pearname}
 Version:	1.7.6
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	b5ff032f7e8873174e3e7fc21b7ec696
 URL:		http://pear.php.net/package/DB/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -68,32 +68,53 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{version}-%{release}
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/%{_class}.php	$RPM_BUILD_ROOT%{php_pear_dir}/
-install %{_pearname}-%{version}/%{_class}/*.php	$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/{doc/*,tests}
+%doc install.log
+%doc docs/%{_pearname}/doc/*
+%{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}
 %{php_pear_dir}/*.php
 %{php_pear_dir}/%{_class}/*.php
 
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*
+
 %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.39  2005/09/19 18:43:56  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.38.2.2  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.38.2.1  2005/09/18 19:26:05  glen
+- use php-pear-build
+
 Revision 1.38  2005/05/08 16:42:41  adamg
 - updated to 1.7.6
 

================================================================
Index: SPECS/php-pear-Net_FTP.spec
diff -u SPECS/php-pear-Net_FTP.spec:1.15 SPECS/php-pear-Net_FTP.spec:1.16
--- SPECS/php-pear-Net_FTP.spec:1.15	Fri Apr  8 18:53:07 2005
+++ SPECS/php-pear-Net_FTP.spec	Mon Sep 19 20:43:56 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - komfortowa komunikacja z serwerami FTP
 Name:		php-pear-%{_pearname}
 Version:	1.3.1
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	b3703a33da0ee0e44128283bed6e93f6
 URL:		http://pear.php.net/package/Net_FTP/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-ftp
 Requires:	php-pear
 BuildArch:	noarch
@@ -36,20 +36,21 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
-
-install %{_pearname}-%{version}/%{_class}/%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/example/*
+%doc install.log
+%doc docs/%{_pearname}/example
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
@@ -59,6 +60,15 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/09/19 18:43:56  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.15.2.2  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.15.2.1  2005/09/18 19:26:05  glen
+- use php-pear-build
+
 Revision 1.15  2005/04/08 16:53:07  adamg
 - updated to 1.3.1
 

================================================================
Index: SPECS/php-pear-Net_SMTP.spec
diff -u SPECS/php-pear-Net_SMTP.spec:1.17 SPECS/php-pear-Net_SMTP.spec:1.18
--- SPECS/php-pear-Net_SMTP.spec:1.17	Mon Aug 22 06:29:29 2005
+++ SPECS/php-pear-Net_SMTP.spec	Mon Sep 19 20:43:56 2005
@@ -9,17 +9,20 @@
 Summary(pl):	%{_pearname} - implementacja protokołu SMTP
 Name:		php-pear-%{_pearname}
 Version:	1.2.7
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	11c4de943b07206aab6193eefd8f328e
 URL:		http://pear.php.net/package/Net_SMTP/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# exclude optional dependencies
+%define		_noautoreq	'pear(Auth/SASL.*)'
+
 %description
 Provides an implementation of the SMTP protocol using PEAR's
 Net_Socket:: class.
@@ -32,28 +35,55 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{version}-%{release}
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %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
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*
+
 %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.18  2005/09/19 18:43:56  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.17.2.2  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.17.2.1  2005/09/18 19:26:05  glen
+- use php-pear-build
+
 Revision 1.17  2005/08/22 04:29:29  adamg
 - updated to 1.2.7
 

================================================================
Index: SPECS/php-pear-PEAR_PackageFileManager.spec
diff -u SPECS/php-pear-PEAR_PackageFileManager.spec:1.25 SPECS/php-pear-PEAR_PackageFileManager.spec:1.26
--- SPECS/php-pear-PEAR_PackageFileManager.spec:1.25	Fri Apr  8 18:49:40 2005
+++ SPECS/php-pear-PEAR_PackageFileManager.spec	Mon Sep 19 20:43:56 2005
@@ -9,17 +9,19 @@
 Summary(pl):	%{_pearname} - aktualizacja package.xml (dodanie nowej listy plików oraz listy zmian)
 Name:		php-pear-%{_pearname}
 Version:	1.5.1
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	528e4105e9948cfa77930d4668229fb0
 URL:		http://pear.php.net/package/PEAR_PackageFileManager/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noautoreq	'pear(PHP/CompatInfo.*)' 'pear(XML/Tree.*)'
+
 %description
 This package revolutionizes the maintenance of PEAR packages. With a
 few parameters, the entire package.xml is automatically updated with a
@@ -64,32 +66,53 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{version}-%{release}
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
-
-install %{_pearname}-%{version}/*.php			$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/%{_subclass}/*.php	$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/{examples,tests}
+%doc install.log optional-packages.txt
+%doc docs/%{_pearname}/examples
+%{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}/%{_subclass}
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
 
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*
+
 %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.26  2005/09/19 18:43:56  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.25.2.2  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.25.2.1  2005/09/18 19:26:05  glen
+- use php-pear-build
+
 Revision 1.25  2005/04/08 16:49:40  adamg
 - updated to 1.5.1
 

================================================================
Index: SPECS/php-pear-SOAP.spec
diff -u SPECS/php-pear-SOAP.spec:1.20 SPECS/php-pear-SOAP.spec:1.21
--- SPECS/php-pear-SOAP.spec:1.20	Fri Sep 16 17:11:03 2005
+++ SPECS/php-pear-SOAP.spec	Mon Sep 19 20:43:56 2005
@@ -8,13 +8,13 @@
 Summary(pl):	%{_pearname} - klient/serwer dla PHP
 Name:		php-pear-%{_pearname}
 Version:	0.9.1
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	58d6a2f8acb7afcfe7d58661e554d54d
 URL:		http://pear.php.net/package/SOAP/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-bcmath
 Requires:	php-pcre
 Requires:	php-pear
@@ -32,24 +32,21 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{tools,Transport,Server,Type}
-
-install %{_pearname}-%{version}/*.php		$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
-install %{_pearname}-%{version}/tools/*.php		$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/tools
-install %{_pearname}-%{version}/Transport/*.php	$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Transport
-install %{_pearname}-%{version}/Server/*.php		$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Server
-install %{_pearname}-%{version}/Type/*.php		$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Type
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/example
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Auth.spec?r1=1.25&r2=1.26&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Auth_HTTP.spec?r1=1.27&r2=1.28&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-DB.spec?r1=1.38&r2=1.39&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_FTP.spec?r1=1.15&r2=1.16&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_SMTP.spec?r1=1.17&r2=1.18&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR_PackageFileManager.spec?r1=1.25&r2=1.26&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-SOAP.spec?r1=1.20&r2=1.21&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-XML_Beautifier.spec?r1=1.14&r2=1.15&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-XML_Parser.spec?r1=1.23&r2=1.24&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-XML_Util.spec?r1=1.23&r2=1.24&f=u




More information about the pld-cvs-commit mailing list