SPECS: yui.spec - install yui

adamg adamg at pld-linux.org
Mon Dec 15 02:36:17 CET 2008


Author: adamg                        Date: Mon Dec 15 01:36:17 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install yui

---- Files affected:
SPECS:
   yui.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/yui.spec
diff -u SPECS/yui.spec:1.1 SPECS/yui.spec:1.2
--- SPECS/yui.spec:1.1	Mon Nov 24 18:32:30 2008
+++ SPECS/yui.spec	Mon Dec 15 02:36:12 2008
@@ -11,6 +11,8 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_phpsharedir	%{_datadir}/php
+
 %description
 The Yahoo! User Interface (YUI) Library is a set of utilities and
 controls, written in JavaScript, for building richly interactive web
@@ -23,7 +25,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_phpsharedir}/yui
+
+cp -a build/* $RPM_BUILD_ROOT%{_phpsharedir}/yui
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -31,6 +35,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README
+%{_phpsharedir}/yui
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -38,5 +43,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/12/15 01:36:12  adamg
+- install yui
+
 Revision 1.1  2008/11/24 17:32:30  glen
 - just base pkg
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/yui.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list