]> git.pld-linux.org Git - packages/drupal-themeengine-smarty.git/commitdiff
- unify
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Aug 2005 10:55:01 +0000 (10:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-themeengine-smarty.spec -> 1.3

drupal-themeengine-smarty.spec

index 6a6c2b9e8886223e3e1063b840cde35e88cdd6eb..36d827b26f152f2d62ccab6bd5a5b2ce79541cac 100644 (file)
@@ -1,12 +1,12 @@
-%define                modname smarty
+%define                engine smarty
 Summary:       Drupal Smarty theme engine
 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
 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
 # Source0-md5: d5fe39d4861f7e59cabddb1bc0f28c56
 Patch0:                %{name}-PLD.patch
 URL:           http://drupal.org/node/19248
@@ -26,17 +26,17 @@ The 'default' template for this engine is box_grey_smarty, which is
 ported from the original box_grey theme.
 
 %prep
 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
 %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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -44,11 +44,11 @@ rm -rf $RPM_BUILD_ROOT
 %preun
 if [ "$1" = "0" ]; then
        # nuke cache
 %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
 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}
This page took 0.084138 seconds and 4 git commands to generate.