SPECS: drupal.spec - include files symlink (core still needs it) -...

glen glen at pld-linux.org
Tue Jul 5 19:45:50 CEST 2005


Author: glen                         Date: Tue Jul  5 17:45:50 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- include files symlink (core still needs it)
- add dir for modules in htdocs

---- Files affected:
SPECS:
   drupal.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.13 SPECS/drupal.spec:1.14
--- SPECS/drupal.spec:1.13	Tue Jul  5 19:14:56 2005
+++ SPECS/drupal.spec	Tue Jul  5 19:45:45 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Platforma do zarządzania treścią o otwartych źródłach
 Name:		drupal
 Version:	4.6.2
-Release:	0.9
+Release:	0.14
 Epoch:		0
 License:	GPL
 Group:		Applications/WWW
@@ -153,16 +153,18 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdir}/{po,htdocs/files},%{_sysconfdir},/etc/cron.d}
+install -d $RPM_BUILD_ROOT{%{_appdir}/{po,modules/po,htdocs/{files,modules}},%{_sysconfdir},/etc/cron.d}
 
 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 $RPM_BUILD_ROOT%{_appdir}
+cp -a modules/* $RPM_BUILD_ROOT%{_appdir}/modules
+cp -a includes scripts $RPM_BUILD_ROOT%{_appdir}
 cp -a sites $RPM_BUILD_ROOT%{_sysconfdir}
 
 cp -a themes $RPM_BUILD_ROOT%{_appdir}/htdocs
+ln -s htdocs/files $RPM_BUILD_ROOT%{_appdir}/files
 
 # move .xtmpl/.theme out of htdocs
 (cd $RPM_BUILD_ROOT%{_appdir}/htdocs && tar cf - --remove-files themes/*/*.{xtmpl,theme}) | tar -xf - -C $RPM_BUILD_ROOT%{_appdir}
@@ -218,11 +220,14 @@
 %{_appdir}/scripts
 %{_appdir}/themes
 %{_appdir}/po
+# symlink
+%{_appdir}/files
 
 %dir %{_appdir}/htdocs
 %{_appdir}/htdocs/*.*
 %{_appdir}/htdocs/misc
 %{_appdir}/htdocs/themes
+%{_appdir}/htdocs/modules
 %dir %attr(775,root,http) %{_appdir}/htdocs/files
 
 %files cron
@@ -236,6 +241,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/07/05 17:45:45  glen
+- include files symlink (core still needs it)
+- add dir for modules in htdocs
+
 Revision 1.13  2005/07/05 17:14:56  glen
 - include dir for .po files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.13&r2=1.14&f=u




More information about the pld-cvs-commit mailing list