1.1 --- a/drupal-theme-misc/drupal-theme-misc.spec Sat Oct 27 18:34:49 2012 +0200 1.2 +++ b/drupal-theme-misc/drupal-theme-misc.spec Sat Oct 27 18:43:28 2012 +0200 1.3 @@ -77,6 +77,9 @@ 1.4 Version: %{V_drupal} 1.5 Release: 20120800 1.6 1.7 +# package options 1.8 +%option with_custom yes 1.9 + 1.10 # list of sources 1.11 Source0: ftp://ftp.drupal.org/pub/drupal/files/projects/andromeda-%{V_theme_andromeda}.tar.gz 1.12 Source1: ftp://ftp.drupal.org/pub/drupal/files/projects/acquia_marina-%{V_theme_acquiamarina}.tar.gz 1.13 @@ -116,6 +119,7 @@ 1.14 Source35: ftp://ftp.drupal.org/pub/drupal/files/projects/skeletontheme-%{V_theme_skeleton}.tar.gz 1.15 Source36: ftp://ftp.drupal.org/pub/drupal/files/projects/journalcrunch-%{V_theme_journalcrunch}.tar.gz 1.16 Source37: ftp://ftp.drupal.org/pub/drupal/files/projects/magazeen_lite-%{V_theme_magazeenlite}.tar.gz 1.17 +Patch0: drupal-theme-misc.patch.cust 1.18 1.19 # build information 1.20 BuildPreReq: OpenPKG, openpkg >= 20100101 1.21 @@ -123,6 +127,7 @@ 1.22 1.23 %description 1.24 This is a collection of reusable themes for the Drupal CMS. 1.25 + Additionally, customized logic is provided for various behaviour. 1.26 1.27 %track 1.28 prog drupal-theme-misc:theme_acquiamarina = { 1.29 @@ -357,6 +362,11 @@ 1.30 %{l_tar} xfz %{SOURCE36} 1.31 %{l_tar} xfz %{SOURCE37} 1.32 1.33 + # apply local patches 1.34 +%if "%{with_cust}" == "yes" 1.35 + %patch -p0 1.36 +%endif 1.37 + 1.38 %build 1.39 1.40 %install