SPECS: phing.spec - install examples

glen glen at pld-linux.org
Mon Aug 18 17:13:25 CEST 2008


Author: glen                         Date: Mon Aug 18 15:13:24 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install examples

---- Files affected:
SPECS:
   phing.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/phing.spec
diff -u SPECS/phing.spec:1.6 SPECS/phing.spec:1.7
--- SPECS/phing.spec:1.6	Mon Aug 18 16:53:25 2008
+++ SPECS/phing.spec	Mon Aug 18 17:13:19 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	System budowania projektów w PHP oparty na narzędziu Apache Ant
 Name:		phing
 Version:	2.3.0
-Release:	0.5
+Release:	0.7
 License:	LGPL
 Group:		Development/Languages/PHP
 Source0:	http://phing.tigris.org/files/documents/995/40189/%{name}-%{version}.zip
@@ -58,6 +58,9 @@
 mv $RPM_BUILD_ROOT{%{_appdir},%{_appdir}/data/phing}/tasks/defaults.properties
 mv $RPM_BUILD_ROOT{%{_appdir},%{_appdir}/data/phing}/types/defaults.properties
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a docs/example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -67,6 +70,7 @@
 %attr(755,root,root) %{_bindir}/phing
 %{php_data_dir}/phing.php
 %{_appdir}
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -74,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008/08/18 15:13:19  glen
+- install examples
+
 Revision 1.6  2008/08/18 14:53:25  glen
 - seems even working
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/phing.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list