SPECS: php-pear-Text_Figlet.spec - new pear packaging; updated to...

glen glen at pld-linux.org
Thu Sep 29 21:47:21 CEST 2005


Author: glen                         Date: Thu Sep 29 19:47:21 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging; updated  to 0.8.1

---- Files affected:
SPECS:
   php-pear-Text_Figlet.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Text_Figlet.spec
diff -u SPECS/php-pear-Text_Figlet.spec:1.2 SPECS/php-pear-Text_Figlet.spec:1.3
--- SPECS/php-pear-Text_Figlet.spec:1.2	Sat Dec 11 21:39:12 2004
+++ SPECS/php-pear-Text_Figlet.spec	Thu Sep 29 21:47:15 2005
@@ -8,14 +8,14 @@
 Summary:	%{_pearname} - Render text using FIGlet fonts
 Summary(pl):	%{_pearname} - Renderowanie tekstu z użyciem fontów FIGleta
 Name:		php-pear-%{_pearname}
-Version:	0.8.0
-Release:	1
+Version:	0.8.1
+Release:	0.2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	8010fee97da24e69f2c1f879e92939b9
+# Source0-md5:	843d3307b9483703b32e441243d775a5
 URL:		http://pear.php.net/package/Text_Figlet/
-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,24 @@
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
+
+install -d docs/%{_pearname}
+mv ./%{php_pear_dir}/data/%{_pearname}/docs/* docs/%{_pearname}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_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 docs/*
+%doc install.log
+%doc docs/%{_pearname}/{docs/*,examples}
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -53,6 +57,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/09/29 19:47:15  glen
+- new pear packaging; updated  to 0.8.1
+
 Revision 1.2  2004/12/11 20:39:12  qboosh
 - pl fix, no redundant dir in doc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Text_Figlet.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list