SPECS: php-pear-Net_NNTP.spec, php-pear-Numbers_Roman.spec, php-pe...

glen glen at pld-linux.org
Thu Sep 29 02:42:59 CEST 2005


Author: glen                         Date: Thu Sep 29 00:42:59 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging

---- Files affected:
SPECS:
   php-pear-Net_NNTP.spec (1.23 -> 1.24) , php-pear-Numbers_Roman.spec (1.14 -> 1.15) , php-pear-Numbers_Words.spec (1.20 -> 1.21) , php-pear-OLE.spec (1.11 -> 1.12) , php-pear-PEAR_Delegator.spec (1.1 -> 1.2) , php-pear-PEAR_Info.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Net_NNTP.spec
diff -u SPECS/php-pear-Net_NNTP.spec:1.23 SPECS/php-pear-Net_NNTP.spec:1.24
--- SPECS/php-pear-Net_NNTP.spec:1.23	Tue Mar 29 09:15:59 2005
+++ SPECS/php-pear-Net_NNTP.spec	Thu Sep 29 02:42:53 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - komunikacja z serwerem NNTP
 Name:		php-pear-%{_pearname}
 Version:	1.0.1
-Release:	1
+Release:	1.1
 License:	W3C / PHP 2.0
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	c51bfa31c55d2f784171373d9532980c
 URL:		http://pear.php.net/package/Net_NNTP/
-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)
@@ -35,22 +35,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}/Protocol
-
-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}/Protocol/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Protocol/
+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}/docs/examples
+%doc install.log
+%doc docs/%{_pearname}/docs/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
@@ -60,6 +59,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2005/09/29 00:42:53  glen
+- new pear packaging
+
 Revision 1.23  2005/03/29 07:15:59  adamg
 - updated to 1.0.1
 
@@ -112,7 +114,7 @@
 - updated to 0.9.1
 
 Revision 1.7  2003/08/11 15:07:55  adamg
-- updated to 0.9.0, status changed to alpha (is BC), added status information in %%description
+- updated to 0.9.0, status changed to alpha (is BC), added status information in %description
 
 Revision 1.6  2003/07/20 23:27:07  adamg
 - updated to 0.2

================================================================
Index: SPECS/php-pear-Numbers_Roman.spec
diff -u SPECS/php-pear-Numbers_Roman.spec:1.14 SPECS/php-pear-Numbers_Roman.spec:1.15
--- SPECS/php-pear-Numbers_Roman.spec:1.14	Sat Dec  4 14:21:59 2004
+++ SPECS/php-pear-Numbers_Roman.spec	Thu Sep 29 02:42:53 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - konwersja z i do cyfr rzymskich
 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:	5103711a2e29d48a5ccda8ba1a11c893
 URL:		http://pear.php.net/package/Numbers_Roman/
-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)
@@ -31,20 +31,22 @@
 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
+%doc docs/%{_pearname}/docs/*
 %dir %{php_pear_dir}/%{_class}
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -53,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2005/09/29 00:42:53  glen
+- new pear packaging
+
 Revision 1.14  2004/12/04 13:21:59  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-Numbers_Words.spec
diff -u SPECS/php-pear-Numbers_Words.spec:1.20 SPECS/php-pear-Numbers_Words.spec:1.21
--- SPECS/php-pear-Numbers_Words.spec:1.20	Mon Mar 21 16:35:10 2005
+++ SPECS/php-pear-Numbers_Words.spec	Thu Sep 29 02:42:53 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - metody do słownego przedstawiania liczb
 Name:		php-pear-%{_pearname}
 Version:	0.13.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:	e5801338f592bd41ca36426ec99647af
 URL:		http://pear.php.net/package/Numbers_Words/
-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)
@@ -72,32 +72,52 @@
 
 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}}
-
-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}/{README,ChangeLog,tests}
+%doc install.log
+%doc docs/%{_pearname}/*
 %dir %{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/.registry/*.reg
 %{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.21  2005/09/29 00:42:53  glen
+- new pear packaging
+
 Revision 1.20  2005/03/21 15:35:10  adamg
 - updated to 0.13.1
 

================================================================
Index: SPECS/php-pear-OLE.spec
diff -u SPECS/php-pear-OLE.spec:1.11 SPECS/php-pear-OLE.spec:1.12
--- SPECS/php-pear-OLE.spec:1.11	Sun Dec  5 01:06:15 2004
+++ SPECS/php-pear-OLE.spec	Thu Sep 29 02:42:53 2005
@@ -8,13 +8,13 @@
 Summary(pl):	%{_pearname} - pakiet do odczytu i zapisu kontenerów OLE
 Name:		php-pear-%{_pearname}
 Version:	0.5
-Release:	3
+Release:	3.1
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	60da44ce636167ea3bb686860a8d3dcd
 URL:		http://pear.php.net/package/OLE/
-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)
@@ -36,21 +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}/PPS
-
-install %{_pearname}-%{version}/OLE.php $RPM_BUILD_ROOT%{php_pear_dir}/
-install %{_pearname}-%{version}/PPS.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/PPS/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/PPS
+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
 %{php_pear_dir}/%{_class}
 
@@ -60,9 +59,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/09/29 00:42:53  glen
+- new pear packaging
+
 Revision 1.11  2004/12/05 00:06:15  adamg
-- install OLE.php in %%{php_pear_dir}
-- simplified %%files
+- install OLE.php in %{php_pear_dir}
+- simplified %files
 - release 3
 
 Revision 1.10  2004/12/04 14:09:09  adamg
@@ -77,7 +79,7 @@
 
 Revision 1.7  2003/12/16 21:00:59  adamg
 - updated to 0.5
-- simplified %%install a bit
+- simplified %install a bit
 
 Revision 1.6  2003/10/07 20:56:03  adamg
 - do not use macros in URL

================================================================
Index: SPECS/php-pear-PEAR_Delegator.spec
diff -u SPECS/php-pear-PEAR_Delegator.spec:1.1 SPECS/php-pear-PEAR_Delegator.spec:1.2
--- SPECS/php-pear-PEAR_Delegator.spec:1.1	Sat Apr  9 16:49:03 2005
+++ SPECS/php-pear-PEAR_Delegator.spec	Thu Sep 29 02:42:53 2005
@@ -9,14 +9,14 @@
 Summary(pl):	%{_pearname} - delegacja dla PHP
 Name:		php-pear-%{_pearname}
 Version:	0.1.0
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	196de218a439a2f2591177d43fe2a072
 Patch0:		%{name}-path_fix.patch
 URL:		http://pear.php.net/package/PEAR_Delegator/
-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)
@@ -36,22 +36,22 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
-cd %{_pearname}-%{version}
+%pear_package_setup
+cd ./%{php_pear_dir}/%{_class}
 %patch0 -p0
 
 %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 install.log
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/%{_subclass}.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
@@ -61,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/09/29 00:42:53  glen
+- new pear packaging
+
 Revision 1.1  2005/04/09 14:49:03  adamg
 - new
 

================================================================
Index: SPECS/php-pear-PEAR_Info.spec
diff -u SPECS/php-pear-PEAR_Info.spec:1.10 SPECS/php-pear-PEAR_Info.spec:1.11
--- SPECS/php-pear-PEAR_Info.spec:1.10	Mon Jan  3 19:46:00 2005
+++ SPECS/php-pear-PEAR_Info.spec	Thu Sep 29 02:42:53 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - pokazywanie informacji o instalacji PEAR-a i jego pakietach
 Name:		php-pear-%{_pearname}
 Version:	1.6.0
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	5a184e62f6792c13e692d0996e8226ff
 URL:		http://pear.php.net/package/PEAR_Info/
-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)
@@ -48,29 +48,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
+
+# class/test -> tests
+install -d ./%{php_pear_dir}/tests/%{_pearname}
+mv ./%{php_pear_dir}/{%{_class}/tests/*,tests/%{_pearname}}
 
 %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.11  2005/09/29 00:42:53  glen
+- new pear packaging
+
 Revision 1.10  2005/01/03 18:46:00  adamg
 - updated to 1.6.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Net_NNTP.spec?r1=1.23&r2=1.24&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Numbers_Roman.spec?r1=1.14&r2=1.15&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Numbers_Words.spec?r1=1.20&r2=1.21&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-OLE.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR_Delegator.spec?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR_Info.spec?r1=1.10&r2=1.11&f=u




More information about the pld-cvs-commit mailing list