SPECS (DEVEL): php-pear-Console_Table.spec, php-pear-DB.spec, php-...

glen glen at pld-linux.org
Sun Sep 18 21:26:13 CEST 2005


Author: glen                         Date: Sun Sep 18 19:26:13 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- use php-pear-build

---- Files affected:
SPECS:
   php-pear-Console_Table.spec (1.10 -> 1.10.2.1) , php-pear-DB.spec (1.38 -> 1.38.2.1) , php-pear-Net_FTP.spec (1.15 -> 1.15.2.1) , php-pear-Net_SMTP.spec (1.17 -> 1.17.2.1) , php-pear-PEAR_PackageFileManager.spec (1.25 -> 1.25.2.1) , php-pear-SOAP.spec (1.20 -> 1.20.2.1) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Console_Table.spec
diff -u SPECS/php-pear-Console_Table.spec:1.10 SPECS/php-pear-Console_Table.spec:1.10.2.1
--- SPECS/php-pear-Console_Table.spec:1.10	Fri Dec  3 22:10:28 2004
+++ SPECS/php-pear-Console_Table.spec	Sun Sep 18 21:26:05 2005
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
+%include	/usr/lib/rpm/macros.pear
 %define		_class		Console
 %define		_subclass	Table
 %define		_status		stable
@@ -9,13 +10,13 @@
 Summary(pl):	%{_pearname} - proste tworzenie tabel konsolowych
 Name:		php-pear-%{_pearname}
 Version:	1.0.1
-Release:	2
+Release:	2.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	ff5bbf539c04f8290239592df4d30e96
 URL:		http://pear.php.net/package/Console_Table/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	php-pear-build
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,19 +36,20 @@
 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}
-
-install %{_pearname}-%{version}/*.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 install.log
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -56,6 +58,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10.2.1  2005/09/18 19:26:05  glen
+- use php-pear-build
+
 Revision 1.10  2004/12/03 21:10:28  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-DB.spec
diff -u SPECS/php-pear-DB.spec:1.38 SPECS/php-pear-DB.spec:1.38.2.1
--- SPECS/php-pear-DB.spec:1.38	Sun May  8 18:42:41 2005
+++ SPECS/php-pear-DB.spec	Sun Sep 18 21:26:05 2005
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
+%include	/usr/lib/rpm/macros.pear
 %define		_class		DB
 %define		_status		stable
 %define		_pearname	%{_class}
@@ -8,13 +9,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:	php-pear-build
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -68,32 +69,47 @@
 
 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.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.15.2.1
--- SPECS/php-pear-Net_FTP.spec:1.15	Fri Apr  8 18:53:07 2005
+++ SPECS/php-pear-Net_FTP.spec	Sun Sep 18 21:26:05 2005
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
+%include	/usr/lib/rpm/macros.pear
 %define		_class		Net
 %define		_subclass	FTP
 %define		_status		stable
@@ -9,13 +10,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:	php-pear-build
 Requires:	php-ftp
 Requires:	php-pear
 BuildArch:	noarch
@@ -36,20 +37,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 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+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.17.2.1
--- SPECS/php-pear-Net_SMTP.spec:1.17	Mon Aug 22 06:29:29 2005
+++ SPECS/php-pear-Net_SMTP.spec	Sun Sep 18 21:26:05 2005
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
+%include	/usr/lib/rpm/macros.pear
 %define		_class		Net
 %define		_subclass	SMTP
 %define		_status		stable
@@ -9,17 +10,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:	php-pear-build
 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 +36,49 @@
 
 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.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.25.2.1
--- SPECS/php-pear-PEAR_PackageFileManager.spec:1.25	Fri Apr  8 18:49:40 2005
+++ SPECS/php-pear-PEAR_PackageFileManager.spec	Sun Sep 18 21:26:05 2005
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
+%include	/usr/lib/rpm/macros.pear
 %define		_class		PEAR
 %define		_subclass	PackageFileManager
 %define		_status		stable
@@ -9,17 +10,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:	php-pear-build
 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 +67,47 @@
 
 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.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.20.2.1
--- SPECS/php-pear-SOAP.spec:1.20	Fri Sep 16 17:11:03 2005
+++ SPECS/php-pear-SOAP.spec	Sun Sep 18 21:26:05 2005
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
+%include	/usr/lib/rpm/macros.pear
 %define		_class		SOAP
 %define		_pearname	%{_class}
 %define		_status		beta
@@ -8,13 +9,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:	php-pear-build
 Requires:	php-bcmath
 Requires:	php-pcre
 Requires:	php-pear
@@ -32,24 +33,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
+%doc install.log
+%doc docs/%{_pearname}/example
+%{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}
 %dir %{php_pear_dir}/%{_class}/tools
 %dir %{php_pear_dir}/%{_class}/Transport
@@ -67,6 +65,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20.2.1  2005/09/18 19:26:05  glen
+- use php-pear-build
+
 Revision 1.20  2005/09/16 15:11:03  arekm
 - up to 0.9.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Console_Table.spec?r1=1.10&r2=1.10.2.1&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-DB.spec?r1=1.38&r2=1.38.2.1&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_FTP.spec?r1=1.15&r2=1.15.2.1&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_SMTP.spec?r1=1.17&r2=1.17.2.1&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR_PackageFileManager.spec?r1=1.25&r2=1.25.2.1&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-SOAP.spec?r1=1.20&r2=1.20.2.1&f=u




More information about the pld-cvs-commit mailing list