75 Group: CMS |
75 Group: CMS |
76 License: GPL |
76 License: GPL |
77 Version: %{V_drupal} |
77 Version: %{V_drupal} |
78 Release: 20120800 |
78 Release: 20120800 |
79 |
79 |
|
80 # package options |
|
81 %option with_custom yes |
|
82 |
80 # list of sources |
83 # list of sources |
81 Source0: ftp://ftp.drupal.org/pub/drupal/files/projects/andromeda-%{V_theme_andromeda}.tar.gz |
84 Source0: ftp://ftp.drupal.org/pub/drupal/files/projects/andromeda-%{V_theme_andromeda}.tar.gz |
82 Source1: ftp://ftp.drupal.org/pub/drupal/files/projects/acquia_marina-%{V_theme_acquiamarina}.tar.gz |
85 Source1: ftp://ftp.drupal.org/pub/drupal/files/projects/acquia_marina-%{V_theme_acquiamarina}.tar.gz |
83 Source2: ftp://ftp.drupal.org/pub/drupal/files/projects/basic-%{V_theme_basic}.tar.gz |
86 Source2: ftp://ftp.drupal.org/pub/drupal/files/projects/basic-%{V_theme_basic}.tar.gz |
84 Source3: ftp://ftp.drupal.org/pub/drupal/files/projects/bluemasters-%{V_theme_bluemasters}.tar.gz |
87 Source3: ftp://ftp.drupal.org/pub/drupal/files/projects/bluemasters-%{V_theme_bluemasters}.tar.gz |
114 Source33: ftp://ftp.drupal.org/pub/drupal/files/projects/om-%{V_theme_om}.tar.gz |
117 Source33: ftp://ftp.drupal.org/pub/drupal/files/projects/om-%{V_theme_om}.tar.gz |
115 Source34: ftp://ftp.drupal.org/pub/drupal/files/projects/sasson-%{V_theme_sasson}.tar.gz |
118 Source34: ftp://ftp.drupal.org/pub/drupal/files/projects/sasson-%{V_theme_sasson}.tar.gz |
116 Source35: ftp://ftp.drupal.org/pub/drupal/files/projects/skeletontheme-%{V_theme_skeleton}.tar.gz |
119 Source35: ftp://ftp.drupal.org/pub/drupal/files/projects/skeletontheme-%{V_theme_skeleton}.tar.gz |
117 Source36: ftp://ftp.drupal.org/pub/drupal/files/projects/journalcrunch-%{V_theme_journalcrunch}.tar.gz |
120 Source36: ftp://ftp.drupal.org/pub/drupal/files/projects/journalcrunch-%{V_theme_journalcrunch}.tar.gz |
118 Source37: ftp://ftp.drupal.org/pub/drupal/files/projects/magazeen_lite-%{V_theme_magazeenlite}.tar.gz |
121 Source37: ftp://ftp.drupal.org/pub/drupal/files/projects/magazeen_lite-%{V_theme_magazeenlite}.tar.gz |
|
122 Patch0: drupal-theme-misc.patch.cust |
119 |
123 |
120 # build information |
124 # build information |
121 BuildPreReq: OpenPKG, openpkg >= 20100101 |
125 BuildPreReq: OpenPKG, openpkg >= 20100101 |
122 PreReq: OpenPKG, openpkg >= 20100101, drupal |
126 PreReq: OpenPKG, openpkg >= 20100101, drupal |
123 |
127 |
124 %description |
128 %description |
125 This is a collection of reusable themes for the Drupal CMS. |
129 This is a collection of reusable themes for the Drupal CMS. |
|
130 Additionally, customized logic is provided for various behaviour. |
126 |
131 |
127 %track |
132 %track |
128 prog drupal-theme-misc:theme_acquiamarina = { |
133 prog drupal-theme-misc:theme_acquiamarina = { |
129 version = %{V_theme_acquiamarina} |
134 version = %{V_theme_acquiamarina} |
130 url = ftp://ftp.drupal.org/pub/drupal/files/projects/ |
135 url = ftp://ftp.drupal.org/pub/drupal/files/projects/ |
355 %{l_tar} xfz %{SOURCE34} |
360 %{l_tar} xfz %{SOURCE34} |
356 %{l_tar} xfz %{SOURCE35} |
361 %{l_tar} xfz %{SOURCE35} |
357 %{l_tar} xfz %{SOURCE36} |
362 %{l_tar} xfz %{SOURCE36} |
358 %{l_tar} xfz %{SOURCE37} |
363 %{l_tar} xfz %{SOURCE37} |
359 |
364 |
|
365 # apply local patches |
|
366 %if "%{with_cust}" == "yes" |
|
367 %patch -p0 |
|
368 %endif |
|
369 |
360 %build |
370 %build |
361 |
371 |
362 %install |
372 %install |
363 # create installation hierarchy |
373 # create installation hierarchy |
364 %{l_shtool} mkdir -f -p -m 755 \ |
374 %{l_shtool} mkdir -f -p -m 755 \ |