SPECS: drupal-themeengine-smarty.spec, drupal-themeengine-wgsmarty...

glen glen at pld-linux.org
Fri Aug 19 12:55:06 CEST 2005


Author: glen                         Date: Fri Aug 19 10:55:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unify

---- Files affected:
SPECS:
   drupal-themeengine-smarty.spec (1.2 -> 1.3) , drupal-themeengine-wgsmarty.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/drupal-themeengine-smarty.spec
diff -u SPECS/drupal-themeengine-smarty.spec:1.2 SPECS/drupal-themeengine-smarty.spec:1.3
--- SPECS/drupal-themeengine-smarty.spec:1.2	Fri Aug 19 11:47:37 2005
+++ SPECS/drupal-themeengine-smarty.spec	Fri Aug 19 12:55:01 2005
@@ -1,13 +1,13 @@
 # $Revision$, $Date$
-%define		modname smarty
+%define		engine smarty
 Summary:	Drupal Smarty theme engine
-Name:		drupal-themeengine-%{modname}
+Name:		drupal-themeengine-%{engine}
 Version:	4.6.0
 Release:	0.9
 Epoch:		0
 License:	GPL v2
 Group:		Applications/WWW
-Source0:	http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
+Source0:	http://drupal.org/files/projects/%{engine}-%{version}.tar.gz
 # Source0-md5:	d5fe39d4861f7e59cabddb1bc0f28c56
 Patch0:		%{name}-PLD.patch
 URL:		http://drupal.org/node/19248
@@ -27,17 +27,17 @@
 ported from the original box_grey theme.
 
 %prep
-%setup -q -n %{modname}
+%setup -q -n %{engine}
 %patch0 -p1
 rm -f LICENSE.txt # GPL v2
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_enginedir}/%{modname}/plugins,%{_cachedir}/%{modname}}
+install -d $RPM_BUILD_ROOT{%{_enginedir}/%{engine}/plugins,%{_cachedir}/%{engine}}
 
-install *.tpl $RPM_BUILD_ROOT%{_enginedir}/%{modname}
-install *.engine *.php $RPM_BUILD_ROOT%{_enginedir}/%{modname}
-install plugins/*.php $RPM_BUILD_ROOT%{_enginedir}/%{modname}/plugins
+install *.tpl $RPM_BUILD_ROOT%{_enginedir}/%{engine}
+install *.engine *.php $RPM_BUILD_ROOT%{_enginedir}/%{engine}
+install plugins/*.php $RPM_BUILD_ROOT%{_enginedir}/%{engine}/plugins
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,14 +45,14 @@
 %preun
 if [ "$1" = "0" ]; then
 	# nuke cache
-	rm -f %{_cachedir}/%{modname}/*.php
+	rm -f %{_cachedir}/%{engine}/*.php
 fi
 
 %files
 %defattr(644,root,root,755)
 %doc *.txt
-%{_enginedir}/%{modname}
-%dir %attr(775,root,http) %{_cachedir}/%{modname}
+%{_enginedir}/%{engine}
+%dir %attr(775,root,http) %{_cachedir}/%{engine}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/08/19 10:55:01  glen
+- unify
+
 Revision 1.2  2005/08/19 09:47:37  glen
 - nuke cache on final preun
 

================================================================
Index: SPECS/drupal-themeengine-wgsmarty.spec
diff -u SPECS/drupal-themeengine-wgsmarty.spec:1.1 SPECS/drupal-themeengine-wgsmarty.spec:1.2
--- SPECS/drupal-themeengine-wgsmarty.spec:1.1	Fri Aug 19 11:27:09 2005
+++ SPECS/drupal-themeengine-wgsmarty.spec	Fri Aug 19 12:55:01 2005
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
-%define		modname wgsmarty
+%define		engine wgsmarty
 Summary:	Drupal wgSmarty theme engine
-Name:		drupal-themeengine-%{modname}
+Name:		drupal-themeengine-%{engine}
 Version:	4.6.001
 Release:	0.2
 Epoch:		0
@@ -36,24 +36,24 @@
   it will still be poorly supported in comparison with PHPTemplate
 
 %prep
-%setup -q -n %{modname}
+%setup -q -n %{engine}
 %patch0 -p1
 rm -f LICENSE.txt # GPL v2
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_enginedir}/%{modname},%{_cachedir}/%{modname}}
+install -d $RPM_BUILD_ROOT{%{_enginedir}/%{engine},%{_cachedir}/%{engine}}
 
-install *.engine *.php $RPM_BUILD_ROOT%{_enginedir}/%{modname}
-cp -a plugins templates $RPM_BUILD_ROOT%{_enginedir}/%{modname}
+install *.engine *.php $RPM_BUILD_ROOT%{_enginedir}/%{engine}
+cp -a plugins templates $RPM_BUILD_ROOT%{_enginedir}/%{engine}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_enginedir}/%{modname}
-%dir %attr(775,root,http) %{_cachedir}/%{modname}
+%{_enginedir}/%{engine}
+%dir %attr(775,root,http) %{_cachedir}/%{engine}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -61,6 +61,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/08/19 10:55:01  glen
+- unify
+
 Revision 1.1  2005/08/19 09:27:09  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal-themeengine-smarty.spec?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/SPECS/drupal-themeengine-wgsmarty.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list