SPECS (DEVEL): drupal.spec - update to 5.0
glen
glen at pld-linux.org
Fri Jan 26 15:09:43 CET 2007
Author: glen Date: Fri Jan 26 14:09:43 2007 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- update to 5.0
---- Files affected:
SPECS:
drupal.spec (1.42.2.7 -> 1.42.2.8)
---- Diffs:
================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.42.2.7 SPECS/drupal.spec:1.42.2.8
--- SPECS/drupal.spec:1.42.2.7 Sat Apr 22 22:00:00 2006
+++ SPECS/drupal.spec Fri Jan 26 15:09:37 2007
@@ -1,15 +1,13 @@
# $Revision$, $Date$
-%define _rc rc3
-%define _rel 0.1
Summary: Open source content management platform
Summary(pl): Platforma do zarządzania treścią o otwartych źródłach
Name: drupal
-Version: 4.7.0
-Release: 0.%{_rc}.%{_rel}
+Version: 5.0
+Release: 0.1
License: GPL
Group: Applications/WWW
-Source0: http://drupal.org/files/projects/%{name}-%{version}-%{_rc}.tar.gz
-# Source0-md5: 3be884105541809ecc610fed45ccf368
+Source0: http://ftp.osuosl.org/pub/drupal/files/projects/drupal-5.0.tar.gz
+# Source0-md5: 2e1d7573d21b8c97b02b63e28d356200
Source1: %{name}.conf
Source2: %{name}.cron
Source3: %{name}.PLD
@@ -18,7 +16,6 @@
Patch2: %{name}-topdir.patch
Patch3: %{name}-themedir2.patch
#Patch4: %{name}-emptypass.patch
-Patch5: %{name}-cron.patch
URL: http://drupal.org/
BuildRequires: rpmbuild(macros) >= 1.264
BuildRequires: sed >= 4.0
@@ -168,7 +165,6 @@
%patch2 -p1
%patch3 -p1
#%patch4 -p1
-%patch5 -p1
find -name '*~' | xargs -r rm -v
cp -p %{SOURCE3} README.PLD
@@ -180,10 +176,9 @@
cp -a index.php $RPM_BUILD_ROOT%{_appdir}/htdocs
cp -a misc $RPM_BUILD_ROOT%{_appdir}/htdocs
-cp -a update.php xmlrpc.php $RPM_BUILD_ROOT%{_appdir}/htdocs
-cp -a database/updates.inc $RPM_BUILD_ROOT%{_appdir}/database
+cp -a install.php update.php xmlrpc.php $RPM_BUILD_ROOT%{_appdir}/htdocs
-install cron.php $RPM_BUILD_ROOT%{_appdir}
+cp -a cron.php $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}
@@ -276,57 +271,6 @@
%triggerun -- apache >= 2.0.0
%webapp_unregister httpd %{_webapp}
-%triggerpostun -- %{name} < 4.6.4-0.4
-# rescue app configs.
-if [ -f /etc/drupal/sites/default/settings.php.rpmsave ]; then
- mv -f %{_sysconfdir}/sites/default/settings.php{,.rpmnew}
- mv -f /etc/drupal/sites/default/settings.php.rpmsave %{_sysconfdir}/sites/default/settings.php
-fi
-# other configured sites, if any
-for i in /etc/drupal/sites/*; do
- d=$(basename $i)
- [ "$d" = "default" ] && continue
- mv -f %{_sysconfdir}/sites/$d{,.rpmnew}
- mv -f $i %{_sysconfdir}/sites/$d
-done
-
-# migrate from apache-config macros
-if [ -f /etc/drupal/apache.conf.rpmsave ]; then
- if [ -d /etc/apache/webapps.d ]; then
- cp -f %{_sysconfdir}/apache.conf{,.rpmnew}
- cp -f /etc/drupal/apache.conf.rpmsave %{_sysconfdir}/apache.conf
- fi
-
- if [ -d /etc/httpd/webapps.d ]; then
- cp -f %{_sysconfdir}/httpd.conf{,.rpmnew}
- cp -f /etc/drupal/apache.conf.rpmsave %{_sysconfdir}/httpd.conf
- fi
- rm -f /etc/drupal/apache.conf.rpmsave
-fi
-
-# place new config location, as trigger puts config only on first install, do it here.
-if [ -L /etc/apache/conf.d/99_%{name}.conf ]; then
- rm -f /etc/apache/conf.d/99_%{name}.conf
- /usr/sbin/webapp register apache %{_webapp}
- apache_reload=1
-fi
-if [ -L /etc/httpd/httpd.conf/99_%{name}.conf ]; then
- rm -f /etc/httpd/httpd.conf/99_%{name}.conf
- /usr/sbin/webapp register httpd %{_webapp}
- httpd_reload=1
-fi
-
-if [ "$httpd_reload" ]; then
- if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd reload 1>&2
- fi
-fi
-if [ "$apache_reload" ]; then
- if [ -f /var/lock/subsys/apache ]; then
- /etc/rc.d/init.d/apache reload 1>&2
- fi
-fi
-
%files
%defattr(644,root,root,755)
%doc *.txt README.PLD
@@ -338,6 +282,8 @@
%attr(750,root,http) %dir %{_sysconfdir}/sites
%attr(750,root,http) %dir %{_sysconfdir}/sites/default
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sites/default/*
+%attr(750,root,http) %dir %{_sysconfdir}/sites/all
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sites/all/*
%dir %{_appdir}
%{_appdir}/includes
@@ -351,6 +297,7 @@
%dir %{_appdir}/htdocs
%{_appdir}/htdocs/index.php
+%{_appdir}/htdocs/install.php
%{_appdir}/htdocs/misc
%{_appdir}/htdocs/themes
%{_appdir}/htdocs/modules
@@ -365,12 +312,10 @@
%files db-mysql
%defattr(644,root,root,755)
-%doc database/*.mysql
#%doc README.replication
%files db-pgsql
%defattr(644,root,root,755)
-%doc database/*.pgsql
%files update
%defattr(644,root,root,755)
@@ -387,6 +332,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.42.2.8 2007/01/26 14:09:37 glen
+- update to 5.0
+
Revision 1.42.2.7 2006/04/22 20:00:00 glen
- 4.7.0-rc3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.42.2.7&r2=1.42.2.8&f=u
More information about the pld-cvs-commit
mailing list