SPECS (DEVEL): php-pear-File_Ogg.spec - new pear build process. un...

glen glen at pld-linux.org
Tue Sep 20 23:49:34 CEST 2005


Author: glen                         Date: Tue Sep 20 21:49:34 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- new pear build process. unfortunately xml is broken and can't package with pear

---- Files affected:
SPECS:
   php-pear-File_Ogg.spec (1.8 -> 1.8.2.1) 

---- Diffs:

================================================================
Index: SPECS/php-pear-File_Ogg.spec
diff -u SPECS/php-pear-File_Ogg.spec:1.8 SPECS/php-pear-File_Ogg.spec:1.8.2.1
--- SPECS/php-pear-File_Ogg.spec:1.8	Fri Dec  3 23:06:23 2004
+++ SPECS/php-pear-File_Ogg.spec	Tue Sep 20 23:49:29 2005
@@ -9,13 +9,13 @@
 Summary(pl):	%{_pearname} - dostęp do strumieni Ogg
 Name:		php-pear-%{_pearname}
 Version:	0.1.2
-Release:	2
+Release:	2.1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5:	6adb3125201bae33bc975aac6b5e9230
 URL:		http://pear.php.net/package/File_Ogg/
-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,21 +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}/%{_subclass}/Vorbis
-
-install %{_pearname}-%{version}/%{_class}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/%{_class}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
-install %{_pearname}-%{version}/%{_class}/%{_subclass}/Vorbis/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Vorbis
+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}
 
@@ -57,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8.2.1  2005/09/20 21:49:29  glen
+- new pear build process. unfortunately xml is broken and can't package with pear
+
 Revision 1.8  2004/12/03 22:06:23  adamg
 - rebuild with new PEAR provides/requires scripts
 - release 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-File_Ogg.spec?r1=1.8&r2=1.8.2.1&f=u




More information about the pld-cvs-commit mailing list