SPECS: php-pear-HTML_Template_Xipe.spec, php-pear-HTML_TreeMenu.sp...

glen glen at pld-linux.org
Mon Sep 26 22:28:51 CEST 2005


Author: glen                         Date: Mon Sep 26 20:28:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging

---- Files affected:
SPECS:
   php-pear-HTML_Template_Xipe.spec (1.13 -> 1.14) , php-pear-HTML_TreeMenu.spec (1.27 -> 1.28) , php-pear-HTTP.spec (1.26 -> 1.27) , php-pear-HTTP_Client.spec (1.11 -> 1.12) , php-pear-HTTP_Download.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/php-pear-HTML_Template_Xipe.spec
diff -u SPECS/php-pear-HTML_Template_Xipe.spec:1.13 SPECS/php-pear-HTML_Template_Xipe.spec:1.14
--- SPECS/php-pear-HTML_Template_Xipe.spec:1.13	Fri Dec  3 23:12:56 2004
+++ SPECS/php-pear-HTML_Template_Xipe.spec	Mon Sep 26 22:28:45 2005
@@ -8,19 +8,17 @@
 Summary(pl):	%{_pearname} - prosty, szybki i potężny system szablonów
 Name:		php-pear-%{_pearname}
 Version:	1.7.6
-Release:	2
+Release:	2.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	a5b291d4e64e603f9e58ce0f517e3600
-URL:		http://pear.php.net/package/HTML_Template_Xipe/	
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+URL:		http://pear.php.net/package/HTML_Template_Xipe/
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	php-pear
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	'pear())'
-
 %description
 The template engine is a compiling engine, all templates are compiled
 into PHP-files. This will make the delivery of the files faster on the
@@ -96,23 +94,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}/Xipe/Filter
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
-install %{_pearname}-%{version}/Xipe/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Xipe
-install %{_pearname}-%{version}/Xipe/Filter/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Xipe/Filter
+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}/%{_subclass}/Xipe
 %dir %{php_pear_dir}/%{_class}/%{_subclass}/Xipe/Filter
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/Xipe/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/Xipe/Filter/*.php
@@ -123,6 +119,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/09/26 20:28:45  glen
+- new pear packaging
+
 Revision 1.13  2004/12/03 22:12:56  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-HTML_TreeMenu.spec
diff -u SPECS/php-pear-HTML_TreeMenu.spec:1.27 SPECS/php-pear-HTML_TreeMenu.spec:1.28
--- SPECS/php-pear-HTML_TreeMenu.spec:1.27	Sun Mar 27 03:04:30 2005
+++ SPECS/php-pear-HTML_TreeMenu.spec	Mon Sep 26 22:28:45 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - dostarcza API do tworzenia drzew HTML
 Name:		php-pear-%{_pearname}
 Version:	1.2.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:	29702b4e7fa6a3b716c1cf2deda063f0
 URL:		http://pear.php.net/package/HTML_TreeMenu/
-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)
@@ -28,7 +28,7 @@
 collapsed/expanded status of the branches). Has only been tested under
 IE6 however. Other browsers display the tree fully expanded. Each node
 can have an optional link and icon. An example of this in action is
-available at http://www.phpguru.org/treemenu.php .
+available at <http://www.phpguru.org/treemenu.php>.
 
 In PEAR status of this package is: %{_status}.
 
@@ -40,36 +40,32 @@
 rozgałęzień) w IE 5 lub nowszym, ale było to testowane tylko w IE 6.
 Inne przeglądarki wyświetlają drzewo w pełni rozwinięte. Każdy liść
 może mieć opcjonalny odnośnik i ikonkę. Przykład takiego działania
-jest dostępny pod adresem http://www.phpguru.org/treemenu.php .
+jest dostępny pod adresem <http://www.phpguru.org/treemenu.php>.
 
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
+
+install -d docs/%{_pearname}
+mv ./%{php_pear_dir}/%{_class}/docs/* docs/%{_pearname}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{images,imagesAlt{,2}}
-
-install %{_pearname}-%{version}/*.{php,js} $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
-install %{_pearname}-%{version}/images/* $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/images
-install %{_pearname}-%{version}/imagesAlt/* $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/imagesAlt
-install %{_pearname}-%{version}/imagesAlt2/* $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/imagesAlt2
+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/*
-%dir %{php_pear_dir}/%{_class}/images
-%dir %{php_pear_dir}/%{_class}/imagesAlt
-%dir %{php_pear_dir}/%{_class}/imagesAlt2
+%doc install.log
+%doc docs/%{_pearname}/docs/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/*.js
-%{php_pear_dir}/%{_class}/images/*
-%{php_pear_dir}/%{_class}/imagesAlt/*
-%{php_pear_dir}/%{_class}/imagesAlt2/*
+
+%{php_pear_dir}/data/%{_pearname}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -77,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2005/09/26 20:28:45  glen
+- new pear packaging
+
 Revision 1.27  2005/03/27 01:04:30  adamg
 - updated to 1.2.0
 

================================================================
Index: SPECS/php-pear-HTTP.spec
diff -u SPECS/php-pear-HTTP.spec:1.26 SPECS/php-pear-HTTP.spec:1.27
--- SPECS/php-pear-HTTP.spec:1.26	Sun Mar 27 14:56:21 2005
+++ SPECS/php-pear-HTTP.spec	Mon Sep 26 22:28:45 2005
@@ -8,13 +8,13 @@
 Summary(pl):	%{_pearname} - różne narzędzie do HTTP
 Name:		php-pear-%{_pearname}
 Version:	1.3.5
-Release:	1
+Release:	1.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	9c01a682f5859a09e01fe5f305b3c353
 URL:		http://pear.php.net/package/HTTP/
-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,20 +32,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}/
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%dir %{php_pear_dir}/%{_class}
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/*.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -54,6 +54,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2005/09/26 20:28:45  glen
+- new pear packaging
+
 Revision 1.26  2005/03/27 12:56:21  adamg
 - updated to 1.3.5
 

================================================================
Index: SPECS/php-pear-HTTP_Client.spec
diff -u SPECS/php-pear-HTTP_Client.spec:1.11 SPECS/php-pear-HTTP_Client.spec:1.12
--- SPECS/php-pear-HTTP_Client.spec:1.11	Fri Dec  3 23:12:56 2004
+++ SPECS/php-pear-HTTP_Client.spec	Mon Sep 26 22:28:45 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - łatwe zarządzanie wieloma zapytaniami HTTP
 Name:		php-pear-%{_pearname}
 Version:	1.0.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:	4ae6973a6a3663abd9cdbe28ccaacdb4
 URL:		http://pear.php.net/package/HTTP_Client/
-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,21 +46,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}/examples/*
+%doc install.log
+%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
@@ -71,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/09/26 20:28:45  glen
+- new pear packaging
+
 Revision 1.11  2004/12/03 22:12:56  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2

================================================================
Index: SPECS/php-pear-HTTP_Download.spec
diff -u SPECS/php-pear-HTTP_Download.spec:1.23 SPECS/php-pear-HTTP_Download.spec:1.24
--- SPECS/php-pear-HTTP_Download.spec:1.23	Sat Sep 17 23:25:23 2005
+++ SPECS/php-pear-HTTP_Download.spec	Mon Sep 26 22:28:45 2005
@@ -13,19 +13,20 @@
 Summary(pl):	%{_pearname} - obsługa transferu plików przez HTTP
 Name:		php-pear-%{_pearname}
 Version:	1.1.0
-Release:	0.%{_rc}.1
+%define	_rel 1.1
+Release:	0.%{_rc}.%{_rel}
 License:	PHP 3.0
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{_rc}.tgz
 # Source0-md5:	99407a5748ae3c87f4d0e087a6c127e5
 URL:		http://pear.php.net/package/HTTP_Download/
-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)
 
 # Archive_Zip was never released
-%define		_noautoreq	'pear(Archive/Zip.php)'
+%define		_noautoreq	'pear(Archive/Tar.php)' 'pear(Archive/Zip.php)' 'pear(MIME/Type.*)'
 
 %description
 Provides an easy interface to send hidden files or any arbitrary data to
@@ -47,21 +48,44 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{version}-%{release}
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla PEAR::%{_pearname}.
+
 %prep
-%setup -q -c -n %{name}-%{version}%{_rc}
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}%{_rc}/*.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
+%{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
@@ -69,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2005/09/26 20:28:45  glen
+- new pear packaging
+
 Revision 1.23  2005/09/17 21:25:23  prism
 - 1.1.0RC3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-HTML_Template_Xipe.spec?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-HTML_TreeMenu.spec?r1=1.27&r2=1.28&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-HTTP.spec?r1=1.26&r2=1.27&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-HTTP_Client.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-HTTP_Download.spec?r1=1.23&r2=1.24&f=u




More information about the pld-cvs-commit mailing list