diff -r 0e7016e69724 -r 3d13fc9b142b drupal-theme-misc/drupal-theme-misc.spec --- a/drupal-theme-misc/drupal-theme-misc.spec Sat Oct 27 18:34:49 2012 +0200 +++ b/drupal-theme-misc/drupal-theme-misc.spec Sat Oct 27 18:43:28 2012 +0200 @@ -77,6 +77,9 @@ Version: %{V_drupal} Release: 20120800 +# package options +%option with_custom yes + # list of sources Source0: ftp://ftp.drupal.org/pub/drupal/files/projects/andromeda-%{V_theme_andromeda}.tar.gz Source1: ftp://ftp.drupal.org/pub/drupal/files/projects/acquia_marina-%{V_theme_acquiamarina}.tar.gz @@ -116,6 +119,7 @@ Source35: ftp://ftp.drupal.org/pub/drupal/files/projects/skeletontheme-%{V_theme_skeleton}.tar.gz Source36: ftp://ftp.drupal.org/pub/drupal/files/projects/journalcrunch-%{V_theme_journalcrunch}.tar.gz Source37: ftp://ftp.drupal.org/pub/drupal/files/projects/magazeen_lite-%{V_theme_magazeenlite}.tar.gz +Patch0: drupal-theme-misc.patch.cust # build information BuildPreReq: OpenPKG, openpkg >= 20100101 @@ -123,6 +127,7 @@ %description This is a collection of reusable themes for the Drupal CMS. + Additionally, customized logic is provided for various behaviour. %track prog drupal-theme-misc:theme_acquiamarina = { @@ -357,6 +362,11 @@ %{l_tar} xfz %{SOURCE36} %{l_tar} xfz %{SOURCE37} + # apply local patches +%if "%{with_cust}" == "yes" + %patch -p0 +%endif + %build %install