]> git.pld-linux.org Git - packages/drupal.git/commitdiff
- put static theme content to htdocs
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 18 May 2005 16:19:42 +0000 (16:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal.spec -> 1.4

drupal.spec

index a2071ae5b00c87b58f359c9ebe94c1ead28c0bcc..5210dd67214549b1e04636056a5bfc2870a23fdf 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       Open source content management platform
 Name:          drupal
 Version:       4.6.0
-Release:       0.20
+Release:       0.21
 Epoch:         0
 License:       GPL
 Group:         Applications/WWW
@@ -70,9 +70,14 @@ cp -a *.ico index.php $RPM_BUILD_ROOT%{_appdir}/htdocs
 cp -a misc $RPM_BUILD_ROOT%{_appdir}/htdocs
 
 cp -a cron.php $RPM_BUILD_ROOT%{_appdir}
-cp -a includes modules scripts themes $RPM_BUILD_ROOT%{_appdir}
+cp -a includes modules scripts $RPM_BUILD_ROOT%{_appdir}
 cp -a sites $RPM_BUILD_ROOT%{_sysconfdir}
 
+cp -a themes $RPM_BUILD_ROOT%{_appdir}/htdocs
+# move .xtmpl out of htdocs
+(cd $RPM_BUILD_ROOT%{_appdir}/htdocs && tar cf - --remove-files themes/*/*.xtmpl) | tar -xf - -C $RPM_BUILD_ROOT%{_appdir}
+mv $RPM_BUILD_ROOT%{_appdir}/{htdocs/,}themes/engines
+
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache-%{name}.conf
 
 %post
This page took 0.036636 seconds and 4 git commands to generate.