SPECS: php-pear-HTML_QuickForm.spec - moved examples to examplesdi...

glen glen at pld-linux.org
Wed Oct 25 17:27:26 CEST 2006


Author: glen                         Date: Wed Oct 25 15:27:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- moved examples to examplesdir from docs; rel 2

---- Files affected:
SPECS:
   php-pear-HTML_QuickForm.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/php-pear-HTML_QuickForm.spec
diff -u SPECS/php-pear-HTML_QuickForm.spec:1.42 SPECS/php-pear-HTML_QuickForm.spec:1.43
--- SPECS/php-pear-HTML_QuickForm.spec:1.42	Mon Jun 26 10:02:37 2006
+++ SPECS/php-pear-HTML_QuickForm.spec	Wed Oct 25 17:27:20 2006
@@ -9,7 +9,7 @@
 Summary(pl):	%{_pearname} - metody do tworzenia, kontroli i przetwarzania formularzy HTML
 Name:		php-pear-%{_pearname}
 Version:	3.2.6
-Release:	1
+Release:	2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -62,11 +62,13 @@
 
 %prep
 %pear_package_setup
+mv docs/HTML_QuickForm/docs examples
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
 %pear_package_install
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -74,7 +76,6 @@
 %files
 %defattr(644,root,root,755)
 %doc install.log
-%doc docs/%{_pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}/%{_subclass}/Renderer
 %dir %{php_pear_dir}/%{_class}/%{_subclass}/Rule
@@ -82,6 +83,7 @@
 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/Renderer/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/Rule/*.php
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -89,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2006/10/25 15:27:20  glen
+- moved examples to examplesdir from docs; rel 2
+
 Revision 1.42  2006/06/26 08:02:37  adamg
 - updated to 3.2.6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-HTML_QuickForm.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list