SPECS: php-pear-Auth_PrefManager.spec, php-pear-Auth_RADIUS.spec -...

glen glen at pld-linux.org
Mon Sep 19 20:51:29 CEST 2005


Author: glen                         Date: Mon Sep 19 18:51:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged from DEVEL: use new pear packaging system

---- Files affected:
SPECS:
   php-pear-Auth_PrefManager.spec (1.17 -> 1.18) , php-pear-Auth_RADIUS.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Auth_PrefManager.spec
diff -u SPECS/php-pear-Auth_PrefManager.spec:1.17 SPECS/php-pear-Auth_PrefManager.spec:1.18
--- SPECS/php-pear-Auth_PrefManager.spec:1.17	Wed Apr  6 13:06:34 2005
+++ SPECS/php-pear-Auth_PrefManager.spec	Mon Sep 19 20:51:24 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - klasa do zarządzania preferencjami
 Name:		php-pear-%{_pearname}
 Version:	1.1.4
-Release:	1
+Release:	1.2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	b29c2f95475fbc4970e2fa2d93715ae7
 URL:		http://pear.php.net/package/Auth_PrefManager/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-pear
 Provides:	php-pear-PrefManager
 Obsoletes:	php-pear-PrefManager
@@ -46,13 +46,13 @@
 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
 
 # For compatibility with old class:
 ln -s %{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/preferences.php
@@ -62,7 +62,9 @@
 
 %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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -71,6 +73,21 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2005/09/19 18:51:24  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.17.2.4  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.17.2.3  2005/09/18 12:43:44  glen
+- add install.log
+
+Revision 1.17.2.2  2005/09/18 11:52:50  glen
+- use install macro
+
+Revision 1.17.2.1  2005/09/18 11:11:04  glen
+- use php-pear-build
+
 Revision 1.17  2005/04/06 11:06:34  adamg
 - updated to 1.1.4
 

================================================================
Index: SPECS/php-pear-Auth_RADIUS.spec
diff -u SPECS/php-pear-Auth_RADIUS.spec:1.15 SPECS/php-pear-Auth_RADIUS.spec:1.16
--- SPECS/php-pear-Auth_RADIUS.spec:1.15	Sun Sep 18 20:14:04 2005
+++ SPECS/php-pear-Auth_RADIUS.spec	Mon Sep 19 20:51:24 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - Wrapper dla klasy RADIUS PECL
 Name:		php-pear-%{_pearname}
 Version:	1.0.4
-Release:	2
+Release:	2.1
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	1463850d06db8ed70a0aa2fadd6be0e5
 URL:		http://pear.php.net/package/Auth_RADIUS/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
+BuildRequires:	rpm-php-pearprov >= 4.4.2-10.2
 Requires:	php-pear
 Requires:	php-pecl-radius >= 1.2
 BuildArch:	noarch
@@ -38,20 +38,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}/*.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}/examples/*
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -60,8 +61,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.15  2005/09/18 18:14:04  glen
-- reverted (gone to DEVEL)
+Revision 1.16  2005/09/19 18:51:24  glen
+- merged from DEVEL: use new pear packaging system
+
+Revision 1.14.2.1  2005/09/19 17:36:33  glen
+- macros moved to rpm-build
+
+Revision 1.14  2005/09/18 14:16:33  glen
+- use php-pear-build
 
 Revision 1.13  2004/12/03 20:45:51  adamg
 - rebuild with new PEAR provides/requires scripts
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Auth_PrefManager.spec?r1=1.17&r2=1.18&f=u
    http://cvs.pld-linux.org/SPECS/php-pear-Auth_RADIUS.spec?r1=1.15&r2=1.16&f=u




More information about the pld-cvs-commit mailing list