SPECS: php-pear-MDB_QueryTool.spec, php-pear-MP3_Id.spec, php-pear...

glen glen at pld-linux.org
Wed Sep 28 23:33:22 CEST 2005


Author: glen                         Date: Wed Sep 28 21:33:22 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging

---- Files affected:
SPECS:
   php-pear-MDB_QueryTool.spec (1.19 -> 1.20) , php-pear-MP3_Id.spec (1.12 -> 1.13) , php-pear-Mail_IMAP.spec (1.13 -> 1.14) , php-pear-Mail_IMAPv2.spec (1.3 -> 1.4) , php-pear-Mail_Mbox.spec (1.13 -> 1.14) , php-pear-Math_Basex.spec (1.11 -> 1.12) , php-pear-Math_BinaryUtils.spec (1.5 -> 1.6) , php-pear-Math_Complex.spec (1.11 -> 1.12) , php-pear-Math_Fibonacci.spec (1.9 -> 1.10) , php-pear-Math_Fraction.spec (1.3 -> 1.4) , php-pear-Math_Histogram.spec (1.10 -> 1.11) , php-pear-Math_Integer.spec (1.9 -> 1.10) , php-pear-Math_Matrix.spec (1.6 -> 1.7) , php-pear-Math_Numerical_RootFinding.spec (1.10 -> 1.11) , php-pear-Math_Quaternion.spec (1.10 -> 1.11) , php-pear-Math_RPN.spec (1.9 -> 1.10) , php-pear-Math_Stats.spec (1.14 -> 1.15) , php-pear-Math_TrigOp.spec (1.9 -> 1.10) , php-pear-Math_Vector.spec (1.17 -> 1.18) , php-pear-Message.spec (1.9 -> 1.10) , php-pear-Net_CheckIP.spec (1.16 -> 1.17) , php-pear-Net_Curl.spec (1.20 -> 1.21) , php-pear-Net_Cyrus.spec (1.9 -> 1.10) , php-pear-Net_DNS.spec (1.16 -> 1.17) , php-pear-Net_DNSBL.spec (1.2 -> 1.3) , php-pear-Net_Dict.spec (1.14 -> 1.15) , php-pear-Net_Dig.spec (1.16 -> 1.17) , php-pear-Net_Finger.spec (1.9 -> 1.10) , php-pear-Net_IMAP.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/php-pear-MDB_QueryTool.spec
diff -u SPECS/php-pear-MDB_QueryTool.spec:1.19 SPECS/php-pear-MDB_QueryTool.spec:1.20
--- SPECS/php-pear-MDB_QueryTool.spec:1.19	Sat Sep 10 12:41:50 2005
+++ SPECS/php-pear-MDB_QueryTool.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - obiektowy interfejs do odczytywania i modyfikowania danych w DB
 Name:		php-pear-%{_pearname}
 Version:	1.0.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:	ef9b19407ef62ea27695d2bcabe30dd0
 URL:		http://pear.php.net/package/MDB_QueryTool/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,31 +46,51 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+AutoReq:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla 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}/Result
-
-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 %{_pearname}-%{version}/%{_subclass}/Result/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Result
+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
+%doc docs/%{_pearname}/docs/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/
 
+%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.20  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.19  2005/09/10 10:41:50  adamg
 - updated to 1.0.1
 

================================================================
Index: SPECS/php-pear-MP3_Id.spec
diff -u SPECS/php-pear-MP3_Id.spec:1.12 SPECS/php-pear-MP3_Id.spec:1.13
--- SPECS/php-pear-MP3_Id.spec:1.12	Sun Sep  4 17:04:45 2005
+++ SPECS/php-pear-MP3_Id.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - odczyt/zapis tagów MP3
 Name:		php-pear-%{_pearname}
 Version:	1.1.3
-Release:	3
+Release:	3.1
 License:	LGPL
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	2943cf8b95acf5be593bf53b15035d3a
 URL:		http://pear.php.net/package/MP3_Id/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,19 +33,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"`)
@@ -54,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.12  2005/09/04 15:04:45  adamg
 - move MP3/ dir to php-pear
 - release 3

================================================================
Index: SPECS/php-pear-Mail_IMAP.spec
diff -u SPECS/php-pear-Mail_IMAP.spec:1.13 SPECS/php-pear-Mail_IMAP.spec:1.14
--- SPECS/php-pear-Mail_IMAP.spec:1.13	Sun May 30 15:13:50 2004
+++ SPECS/php-pear-Mail_IMAP.spec	Wed Sep 28 23:33:15 2005
@@ -9,17 +9,22 @@
 Summary(pl):	%{_pearname} - backend webmaila oparty o bibliotekę c-client
 Name:		php-pear-%{_pearname}
 Version:	1.1.0
-Release:	0.RC1
+%define		_rc RC1
+%define		_rel 0.1
+Release:	0.%{_rc}.%{_rel}
 License:	PHP
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}RC1.tgz
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{_rc}.tgz
 # Source0-md5:	62481c4517c0727bedd1acd9c7c8b451
 URL:		http://pear.php.net/package/Mail_IMAP/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# exclude optional dependencies
+%define		_noautoreq	'pear(Net/URL.*)'
+
 %description
 Mail_IMAP provides a simplifed backend for working with the c-client
 (IMAP) extension.  It serves as an OO wrapper for commonly used
@@ -37,19 +42,25 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c -n %{name}-%{version}RC1
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}RC1/*.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
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -58,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.13  2004/05/30 13:13:50  adamg
 - fixed english information about status of the package
 

================================================================
Index: SPECS/php-pear-Mail_IMAPv2.spec
diff -u SPECS/php-pear-Mail_IMAPv2.spec:1.3 SPECS/php-pear-Mail_IMAPv2.spec:1.4
--- SPECS/php-pear-Mail_IMAPv2.spec:1.3	Sat Jun  4 23:23:40 2005
+++ SPECS/php-pear-Mail_IMAPv2.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - dostarcza backend webmaila oparty o bibliotkę c-client
 Name:		php-pear-%{_pearname}
 Version:	0.2.0
-Release:	1
+Release:	1.1
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	107ed97c959cf5ad2182f94d3714e072
 URL:		http://pear.php.net/package/Mail_IMAPv2/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-imap
 Requires:	php-pear
 BuildArch:	noarch
@@ -44,21 +44,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}/%{_subclass}/{Debug,ManageMB}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/%{_subclass}/Debug/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Debug
-install %{_pearname}-%{version}/%{_subclass}/ManageMB/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/ManageMB
+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 optional-packages.txt
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
@@ -68,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.3  2005/06/04 21:23:40  adamg
 - updated to 0.2.0
 

================================================================
Index: SPECS/php-pear-Mail_Mbox.spec
diff -u SPECS/php-pear-Mail_Mbox.spec:1.13 SPECS/php-pear-Mail_Mbox.spec:1.14
--- SPECS/php-pear-Mail_Mbox.spec:1.13	Wed Mar 23 18:18:07 2005
+++ SPECS/php-pear-Mail_Mbox.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - klasa PHP Mbox do analizy i korzystania z uniksowych skrzynek
 Name:		php-pear-%{_pearname}
 Version:	0.3.0
-Release:	2
+Release:	2.1
 License:	LGPL
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	faa11b33d1ac28ca0f6fa96356a03751
 URL:		http://pear.php.net/package/Mail_Mbox/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,28 +34,49 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+AutoReq:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla 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}/*.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
 
+%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.14  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.13  2005/03/23 17:18:07  glen
 - dropped SourceX-size
 

================================================================
Index: SPECS/php-pear-Math_Basex.spec
diff -u SPECS/php-pear-Math_Basex.spec:1.11 SPECS/php-pear-Math_Basex.spec:1.12
--- SPECS/php-pear-Math_Basex.spec:1.11	Fri Dec  3 23:22:53 2004
+++ SPECS/php-pear-Math_Basex.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_class}_%{_subclass} - klasa konwersji między systemami liczenia Base X
 Name:		php-pear-%{_pearname}
 Version:	0.3
-Release:	2
+Release:	2.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	4cfe8184e596c0d2fb399581e457d4ce
 URL:		http://pear.php.net/package/Math_Basex/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,29 +32,49 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+AutoReq:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla 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}/*.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}/tests
+%doc install.log
+%{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.12  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.11  2004/12/03 22:22:53  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2
@@ -68,7 +88,7 @@
 Revision 1.8  2003/10/03 20:49:06  adamg
 - updated to 0.3
 - status changed to beta
-- small fix in %%doc
+- small fix in %doc
 
 Revision 1.7  2003/08/31 20:49:10  adamg
 - more specific URL

================================================================
Index: SPECS/php-pear-Math_BinaryUtils.spec
diff -u SPECS/php-pear-Math_BinaryUtils.spec:1.5 SPECS/php-pear-Math_BinaryUtils.spec:1.6
--- SPECS/php-pear-Math_BinaryUtils.spec:1.5	Sun Mar 20 19:36:43 2005
+++ SPECS/php-pear-Math_BinaryUtils.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - Kolekcja przydatnych funkcji do obsługi danych binarnych
 Name:		php-pear-%{_pearname}
 Version:	0.3.0
-Release:	1
+Release:	1.1
 License:	LGPL
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	f0532a5be8c4ff4569bc7c6442a92b83
 URL:		http://pear.php.net/package/Math_BinaryUtils/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,19 +34,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"`)
@@ -55,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.5  2005/03/20 18:36:43  adamg
 - updated to 0.3.0
 

================================================================
Index: SPECS/php-pear-Math_Complex.spec
diff -u SPECS/php-pear-Math_Complex.spec:1.11 SPECS/php-pear-Math_Complex.spec:1.12
--- SPECS/php-pear-Math_Complex.spec:1.11	Fri Dec  3 23:22:54 2004
+++ SPECS/php-pear-Math_Complex.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_class}_%{_subclass} - Klasy definiujące liczby zespolone i operacje na nich
 Name:		php-pear-%{_pearname}
 Version:	0.8.5
-Release:	2
+Release:	2.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	dcaa0672d9f0b29232d906b87e0cd3bf
 URL:		http://pear.php.net/package/Math_Complex/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,28 +37,49 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+AutoReq:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla 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}/*.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
 
+%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.12  2005/09/28 21:33:15  glen
+- new pear packaging
+
 Revision 1.11  2004/12/03 22:22:54  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-Math_Fibonacci.spec
diff -u SPECS/php-pear-Math_Fibonacci.spec:1.9 SPECS/php-pear-Math_Fibonacci.spec:1.10
--- SPECS/php-pear-Math_Fibonacci.spec:1.9	Fri Dec  3 23:22:54 2004
+++ SPECS/php-pear-Math_Fibonacci.spec	Wed Sep 28 23:33:15 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_class}_%{_subclass} - pakiet do obliczania i manipulowania na liczbach Fibonacciego
 Name:		php-pear-%{_pearname}
 Version:	0.8
-Release:	2
+Release:	2.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 # Source0-md5:	924091a540df8d7fe2a7f37996223fa8
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 URL:		http://pear.php.net/package/Math_Fibonacci/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -49,32 +49,53 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+AutoReq:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla PEAR::%{_pearname}.
+
 %prep
-%setup -q -c
+%pear_package_setup
+install -d ./%{php_pear_dir}/tests/%{_pearname}
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-MDB_QueryTool.spec?r1=1.19&r2=1.20&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-MP3_Id.spec?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Mail_IMAP.spec?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Mail_IMAPv2.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Mail_Mbox.spec?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Basex.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_BinaryUtils.spec?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Complex.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Fibonacci.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Fraction.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Histogram.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Integer.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Matrix.spec?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Numerical_RootFinding.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Quaternion.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_RPN.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Stats.spec?r1=1.14&r2=1.15&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_TrigOp.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Vector.spec?r1=1.17&r2=1.18&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Message.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_CheckIP.spec?r1=1.16&r2=1.17&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_Curl.spec?r1=1.20&r2=1.21&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_Cyrus.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_DNS.spec?r1=1.16&r2=1.17&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_DNSBL.spec?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_Dict.spec?r1=1.14&r2=1.15&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_Dig.spec?r1=1.16&r2=1.17&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_Finger.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Net_IMAP.spec?r1=1.22&r2=1.23&f=u




More information about the pld-cvs-commit mailing list