Author: glen                         Date: Thu Sep 29 19:40:49 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging

---- Files affected:
SPECS:
   php-pear-Science_Chemistry.spec (1.15 -> 1.16) , 
php-pear-Search_Mnogosearch.spec (1.3 -> 1.4) , 
php-pear-Services_Delicious.spec (1.1 -> 1.2) , 
php-pear-Services_ExchangeRates.spec (1.8 -> 1.9) , 
php-pear-Services_Google.spec (1.4 -> 1.5) , php-pear-Services_Trackback.spec 
(1.3 -> 1.4) , php-pear-Services_Weather.spec (1.13 -> 1.14) , 
php-pear-Spreadsheet_Excel_Writer.spec (1.15 -> 1.16) , 
php-pear-Stream_SHM.spec (1.7 -> 1.8) , php-pear-Stream_Var.spec (1.7 -> 1.8) , 
php-pear-Structures_Graph.spec (1.7 -> 1.8) , php-pear-System_Mount.spec (1.4 
-> 1.5) , php-pear-System_ProcWatch.spec (1.8 -> 1.9) , 
php-pear-Text_CAPTCHA.spec (1.5 -> 1.6) , php-pear-Text_Diff.spec (1.11 -> 
1.12) , php-pear-XML_Serializer.spec (1.23 -> 1.24) , php-pear-XML_XPath.spec 
(1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Science_Chemistry.spec
diff -u SPECS/php-pear-Science_Chemistry.spec:1.15 
SPECS/php-pear-Science_Chemistry.spec:1.16
--- SPECS/php-pear-Science_Chemistry.spec:1.15  Sat Dec  4 15:21:00 2004
+++ SPECS/php-pear-Science_Chemistry.spec       Thu Sep 29 21:40:43 2005
@@ -9,13 +9,13 @@
 Summary(pl):   %{_pearname} - manipulacje na klasach obiektów chemicznych
 Name:          php-pear-%{_pearname}
 Version:       1.1.0
-Release:       2
+Release:       2.1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5: 6ee17eb8ac2b67b31bbf5e222739000c
 URL:           http://pear.php.net/package/Science_Chemistry/
-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,32 +35,56 @@
 
 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}/data
+mv ./%{php_pear_dir}/{%{_class}/%{_subclass}/test/*,tests/%{_pearname}}
+mv 
./%{php_pear_dir}/{data/%{_pearname}/%{_subclass}/test/*,tests/%{_pearname}/data}
 
 %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}/%{_subclass}/{test,README,TODO}
+%doc install.log
+%doc docs/%{_pearname}/%{_subclass}/*
 %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 <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.15  2004/12/04 14:21:00  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-Search_Mnogosearch.spec
diff -u SPECS/php-pear-Search_Mnogosearch.spec:1.3 
SPECS/php-pear-Search_Mnogosearch.spec:1.4
--- SPECS/php-pear-Search_Mnogosearch.spec:1.3  Sun May  8 18:45:14 2005
+++ SPECS/php-pear-Search_Mnogosearch.spec      Thu Sep 29 21:40:43 2005
@@ -9,17 +9,21 @@
 Summary(pl):   %{_pearname} - Klasy do obsługi rozszerzenia mnoGoSearch
 Name:          php-pear-%{_pearname}
 Version:       0.1.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: af6c5903821f72e00c65dc573e638581
 URL:           http://pear.php.net/package/Search_Mnogosearch/
-BuildRequires: rpm-php-pearprov >= 4.0.2-98
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
 Requires:      php-pear
+Requires:      php-mnogosearch
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# exclude optional dependencies
+%define                _noautoreq      'pear(HTML/QuickForm.*)' 
'pear(HTML/Template/Sigma.*)' 'pear(Pager.*)'
+
 %description
 This package provides wrapper classes for the mnoGoSearch search
 engine. The package has two central classes "Search_Mnogosearch" and
@@ -40,22 +44,26 @@
 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}/Renderer
-
-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}/Renderer/*.php 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Renderer
+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}/docs
+%doc install.log
+%doc docs/%{_pearname}/docs/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
@@ -65,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.3  2005/05/08 16:45:14  adamg
 - updated to 0.1.1
 

================================================================
Index: SPECS/php-pear-Services_Delicious.spec
diff -u SPECS/php-pear-Services_Delicious.spec:1.1 
SPECS/php-pear-Services_Delicious.spec:1.2
--- SPECS/php-pear-Services_Delicious.spec:1.1  Mon Dec  6 11:43:49 2004
+++ SPECS/php-pear-Services_Delicious.spec      Thu Sep 29 21:40:43 2005
@@ -9,13 +9,13 @@
 Summary(pl):   %{_pearname} - Klient sieciowej usługi del.icio.us
 Name:          php-pear-%{_pearname}
 Version:       0.2.0
-Release:       1
+Release:       1.1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}%{_status}.tgz
 # Source0-md5: a1389b7c3f67dfd15169377f6b78c6fa
 URL:           http://pear.php.net/package/Services_Delicious/
-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)
@@ -50,20 +50,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}
-
-install %{_pearname}-%{version}%{_status}/*.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}%{_status}/{docs,examples}
+%doc install.log
+%doc docs/%{_pearname}/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -72,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.1  2004/12/06 10:43:49  adamg
 - new
 

================================================================
Index: SPECS/php-pear-Services_ExchangeRates.spec
diff -u SPECS/php-pear-Services_ExchangeRates.spec:1.8 
SPECS/php-pear-Services_ExchangeRates.spec:1.9
--- SPECS/php-pear-Services_ExchangeRates.spec:1.8      Sat Dec  4 15:21:00 2004
+++ SPECS/php-pear-Services_ExchangeRates.spec  Thu Sep 29 21:40:43 2005
@@ -9,13 +9,13 @@
 Summary(pl):   %{_pearname} - konwersja między walutami
 Name:          php-pear-%{_pearname}
 Version:       0.5.0
-Release:       2
+Release:       2.1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5: 0719b90dd9b881c4f99fd5f37b14604d
 URL:           http://pear.php.net/package/Services_ExchangeRates/
-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)
@@ -40,21 +40,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}/*.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}/example.php
+%doc install.log
+%doc docs/%{_pearname}/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
@@ -64,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.8  2004/12/04 14:21:00  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-Services_Google.spec
diff -u SPECS/php-pear-Services_Google.spec:1.4 
SPECS/php-pear-Services_Google.spec:1.5
--- SPECS/php-pear-Services_Google.spec:1.4     Sun May  1 20:02:05 2005
+++ SPECS/php-pear-Services_Google.spec Thu Sep 29 21:40:43 2005
@@ -9,13 +9,13 @@
 Summary(pl):   %{_pearname} - Dostęp do API stron Google
 Name:          php-pear-%{_pearname}
 Version:       0.1.0
-Release:       2
+Release:       2.2
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5: fcbd0d69394ba7877926937ba9a3b3d6
 URL:           http://pear.php.net/package/Services_Google/
-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)
@@ -39,20 +39,23 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
+
+rm -f ./%{php_pear_dir}/%{_class}/buildPackage.php # junk
 
 %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
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/examples
+%doc install.log
+%doc docs/%{_pearname}/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -61,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.4  2005/05/01 18:02:05  glen
 - %description url unification
   find -name '*.spec' | xargs -l1024 sed -i -e 's#\(http://.\+/\) \.#<\1>.#g'

================================================================
Index: SPECS/php-pear-Services_Trackback.spec
diff -u SPECS/php-pear-Services_Trackback.spec:1.3 
SPECS/php-pear-Services_Trackback.spec:1.4
--- SPECS/php-pear-Services_Trackback.spec:1.3  Mon Mar 28 01:29:42 2005
+++ SPECS/php-pear-Services_Trackback.spec      Thu Sep 29 21:40:43 2005
@@ -12,13 +12,13 @@
 Summary(pl):   %{_pearname} - podstawowa klasa do wysyłania i odbierania 
trackbacków
 Name:          php-pear-%{_pearname}
 Version:       0.4.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: 56ae320f9a32466c797ca15666748366
 URL:           http://pear.php.net/package/Services_Trackback/
-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,29 +33,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}/%{_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}/test
+%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 <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.3  2005/03/27 23:29:42  qboosh
 - typo (whatever it means)
 

================================================================
Index: SPECS/php-pear-Services_Weather.spec
diff -u SPECS/php-pear-Services_Weather.spec:1.13 
SPECS/php-pear-Services_Weather.spec:1.14
--- SPECS/php-pear-Services_Weather.spec:1.13   Sat Dec  4 15:21:00 2004
+++ SPECS/php-pear-Services_Weather.spec        Thu Sep 29 21:40:43 2005
@@ -9,17 +9,20 @@
 Summary(pl):   %{_pearname} - interfejs do różnych serwisów pogodowych
 Name:          php-pear-%{_pearname}
 Version:       1.3.1
-Release:       2
+Release:       2.3
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5: a84d8dc57e063e8fd615af92a99103c6
 URL:           http://pear.php.net/package/Services_Wheather/
-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(Cache.*)' 'pear(DB.*)' 
'pear(HTTP/Request.*)' 'pear(SOAP.*)' 'pear(XML/Serializer.*)'
+
 %description
 Services_Weather searches for given locations and retrieves current
 weather data and, dependent on the used service, also forecasts. Up to
@@ -41,33 +44,43 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
-cd %{_pearname}-%{version}
-sed 's#/usr/local/bin/php#/usr/bin/php#' buildMetarDB.php >> tmp
-mv -f tmp buildMetarDB.php
+%pear_package_setup
+sed -i -e '1s#/usr/local/bin/php#%{_bindir}/php#' 
./%{php_pear_dir}/data/%{_pearname}/buildMetarDB.php
+install -d docs/%{_pearname}
+mv ./%{php_pear_dir}/data/%{_pearname}/buildMetarDB.php docs/%{_pearname}
 
 %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
 
+%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}/{examples,images}
+%doc install.log
+%doc docs/%{_pearname}/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}
 
+%{php_pear_dir}/data/%{_pearname}
+
 %define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.13  2004/12/04 14:21:00  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-Spreadsheet_Excel_Writer.spec
diff -u SPECS/php-pear-Spreadsheet_Excel_Writer.spec:1.15 
SPECS/php-pear-Spreadsheet_Excel_Writer.spec:1.16
--- SPECS/php-pear-Spreadsheet_Excel_Writer.spec:1.15   Sat Dec  4 15:21:00 2004
+++ SPECS/php-pear-Spreadsheet_Excel_Writer.spec        Thu Sep 29 21:40:43 2005
@@ -9,13 +9,13 @@
 Summary(pl):   %{_pearname} - pakiet generujący arkusze Excela
 Name:          php-pear-%{_pearname}
 Version:       0.8
-Release:       2
+Release:       2.1
 License:       LGPL
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5: 4a5354e3fbd5deb2d826bcbcd4e7295d
 URL:           http://pear.php.net/package/Spreadsheet_Excel_Writer/
-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)
@@ -41,23 +41,23 @@
 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}/Writer
-
-install %{_pearname}-%{version}/*.php 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
-install %{_pearname}-%{version}/Writer/*.php 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Writer/
+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
 %dir %{php_pear_dir}/%{_class}/
 %dir %{php_pear_dir}/%{_class}/%{_subclass}
 %dir %{php_pear_dir}/%{_class}/%{_subclass}/Writer
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/Writer/*.php
 
@@ -67,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/09/29 19:40:43  glen
+- new pear packaging
+
 Revision 1.15  2004/12/04 14:21:00  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-Stream_SHM.spec
diff -u SPECS/php-pear-Stream_SHM.spec:1.7 SPECS/php-pear-Stream_SHM.spec:1.8
--- SPECS/php-pear-Stream_SHM.spec:1.7  Sat Dec  4 15:21:00 2004
+++ SPECS/php-pear-Stream_SHM.spec      Thu Sep 29 21:40:43 2005
@@ -9,13 +9,13 @@
 Summary(pl):   %{_pearname} - strumieniowy dostęp do pamięci dzielonej
 Name:          php-pear-%{_pearname}
 Version:       1.0.0
-Release:       2
+Release:       2.1
 License:       PHP
 Group:         Development/Languages/PHP
 # Source0-md5: 4d2c3702fdee3ee9029f0728325ff081
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
 URL:           http://pear.php.net/package/Stream_SHM/
-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,20 +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}
-
-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 install.log
 %dir %{php_pear_dir}/%{_class}
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    
http://cvs.pld-linux.org/SPECS/php-pear-Science_Chemistry.spec?r1=1.15&r2=1.16&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Search_Mnogosearch.spec?r1=1.3&r2=1.4&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Services_Delicious.spec?r1=1.1&r2=1.2&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Services_ExchangeRates.spec?r1=1.8&r2=1.9&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Services_Google.spec?r1=1.4&r2=1.5&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Services_Trackback.spec?r1=1.3&r2=1.4&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Services_Weather.spec?r1=1.13&r2=1.14&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Spreadsheet_Excel_Writer.spec?r1=1.15&r2=1.16&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Stream_SHM.spec?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Stream_Var.spec?r1=1.7&r2=1.8&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-Structures_Graph.spec?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-System_Mount.spec?r1=1.4&r2=1.5&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-System_ProcWatch.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Text_CAPTCHA.spec?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Text_Diff.spec?r1=1.11&r2=1.12&f=u
    
http://cvs.pld-linux.org/SPECS/php-pear-XML_Serializer.spec?r1=1.23&r2=1.24&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-XML_XPath.spec?r1=1.10&r2=1.11&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to