OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 10-Apr-2008 19:59:46
Branch: HEAD Handle: 2008041018594600
Modified files:
openpkg-src/drupal drupal.spec
Log:
bless for PLUS and add a bunch of clarification comments
Summary:
Revision Changes Path
1.196 +12 -2 openpkg-src/drupal/drupal.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/drupal/drupal.spec
============================================================================
$ cvs diff -u -r1.195 -r1.196 drupal.spec
--- openpkg-src/drupal/drupal.spec 10 Apr 2008 13:23:21 -0000 1.195
+++ openpkg-src/drupal/drupal.spec 10 Apr 2008 17:59:46 -0000 1.196
@@ -186,7 +186,7 @@
Vendor: Dries Buytaert et al.
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
-Class: EVAL
+Class: PLUS
Group: CMS
License: GPL
Version: %{V_drupal}
@@ -1147,9 +1147,13 @@
%prep
%setup -q -n drupal-%{version}
%patch -p0
+
+ # create additional sub-trees
%{l_shtool} mkdir -f -p -m 755 \
sites/all/modules \
sites/all/themes
+
+ # install additional modules
( cd sites/all/modules || exit $?
%{l_tar} xfz %{SOURCE1}
%{l_tar} xfz %{SOURCE2}
@@ -1287,6 +1291,8 @@
%{l_tar} xfz %{SOURCE133}
%{l_tar} xfz %{SOURCE134}
) || exit $?
+
+ # install additional themes
( cd sites/all/themes || exit $?
%{l_tar} xfz %{SOURCE200}
%{l_tar} xfz %{SOURCE201}
@@ -1300,6 +1306,8 @@
%{l_tar} xfz %{SOURCE209}
%{l_tar} xfz %{SOURCE210}
) || exit $?
+
+ # install additional third-party files
( cd sites/all/modules/fckeditor || exit $?
%{l_tar} xfz %{SOURCE300}
) || exit $?
@@ -1332,9 +1340,11 @@
$RPM_BUILD_ROOT%{l_prefix}/var/drupal/log \
$RPM_BUILD_ROOT%{l_prefix}/var/drupal/db
- # install all files (and strip down installation afterwards)
+ # avoid copying unnecesseary text files
rm -f CHANGELOG.txt COPYRIGHT.txt INSTALL.*.txt INSTALL.txt
rm -f LICENSE.txt MAINTAINERS.txt UPGRADE.txt
+
+ # install all files (and strip down installation afterwards)
cp -rp * .htaccess \
$RPM_BUILD_ROOT%{l_prefix}/share/drupal/
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]