drupal-theme-misc/drupal-theme-misc.spec

Sat, 27 Oct 2012 18:43:28 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 27 Oct 2012 18:43:28 +0200
changeset 751
3d13fc9b142b
parent 735
793545fe0f53
permissions
-rw-r--r--

Introduce custom patch logic, starting with disabling front page avatars.

michael@533 1 ##
michael@533 2 ## drupal-theme-misc.spec -- OpenPKG RPM Package Specification
michael@533 3 ## Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/>
michael@533 4 ##
michael@533 5 ## Permission to use, copy, modify, and distribute this software for
michael@533 6 ## any purpose with or without fee is hereby granted, provided that
michael@533 7 ## the above copyright notice and this permission notice appear in all
michael@533 8 ## copies.
michael@533 9 ##
michael@533 10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
michael@533 11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@533 12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
michael@533 13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
michael@533 14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@533 15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michael@533 16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
michael@533 17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
michael@533 18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
michael@533 19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
michael@533 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
michael@533 21 ## SUCH DAMAGE.
michael@533 22 ##
michael@533 23
michael@533 24 # package versions (core)
michael@534 25 %define V_drupal 7.x
michael@533 26
michael@533 27 # package versions (themes)
michael@534 28 %define V_theme_acquiamarina 7.x-2.0-beta1
michael@534 29 %define V_theme_andromeda 7.x-2.x-dev
michael@534 30 %define V_theme_basic 7.x-2.1
michael@534 31 %define V_theme_bluemasters 7.x-1.3
michael@534 32 %define V_theme_business 7.x-1.8
michael@534 33 %define V_theme_businessblog 7.x-1.0-alpha1
michael@534 34 %define V_theme_corolla 7.x-3.0-rc1
michael@534 35 %define V_theme_corporateclean 7.x-1.5
michael@534 36 %define V_theme_danland 7.x-1.0
michael@534 37 %define V_theme_deco 7.x-1.x-dev
michael@534 38 %define V_theme_domicile 7.x-1.0
michael@534 39 %define V_theme_doune 7.x-2.0-alpha3
michael@534 40 %define V_theme_eco 7.x-2.18
michael@534 41 %define V_theme_framework 7.x-3.6
michael@534 42 %define V_theme_fourseasons 7.x-1.x-dev
michael@534 43 %define V_theme_graze 7.x-1.0
michael@534 44 %define V_theme_marinelli 7.x-3.0-beta11
michael@534 45 %define V_theme_mayo 7.x-1.2
michael@534 46 %define V_theme_mayumi 7.x-1.0
michael@534 47 %define V_theme_omega 7.x-3.1
michael@534 48 %define V_theme_plato 7.x-1.0
michael@534 49 %define V_theme_premcorp 7.x-1.0
michael@534 50 %define V_theme_rootcandy 7.x-1.0-alpha1
michael@534 51 %define V_theme_sankofa 7.x-1.0
michael@534 52 %define V_theme_sigmaone 7.x-1.0-alpha17
michael@534 53 %define V_theme_sky 7.x-3.0-rc1
michael@534 54 %define V_theme_touch 7.x-1.7
michael@534 55 %define V_theme_tapestry 7.x-2.1
michael@534 56 %define V_theme_velvetsky 7.x-0.x-dev
michael@534 57 %define V_theme_zen 7.x-5.1
michael@735 58 %define V_theme_adaptive 7.x-3.1
michael@735 59 %define V_theme_groundwork 7.x-1.2
michael@735 60 %define V_theme_fusion 7.x-2.0-beta2
michael@735 61 %define V_theme_om 7.x-2.21
michael@735 62 %define V_theme_sasson 7.x-2.6
michael@735 63 %define V_theme_skeleton 7.x-1.1
michael@735 64 %define V_theme_journalcrunch 7.x-1.1
michael@735 65 %define V_theme_magazeenlite 7.x-1.1
michael@533 66
michael@533 67 # package information
michael@533 68 Name: drupal-theme-misc
michael@533 69 Summary: Drupal CMS: Theme Collection
michael@533 70 URL: http://www.drupal.org/
michael@533 71 Vendor: Drupal Community et al.
michael@533 72 Packager: OpenPKG Foundation e.V.
michael@533 73 Distribution: OpenPKG Community
michael@533 74 Class: PLUS
michael@533 75 Group: CMS
michael@533 76 License: GPL
michael@533 77 Version: %{V_drupal}
michael@534 78 Release: 20120800
michael@533 79
michael@751 80 # package options
michael@751 81 %option with_custom yes
michael@751 82
michael@533 83 # list of sources
michael@534 84 Source0: ftp://ftp.drupal.org/pub/drupal/files/projects/andromeda-%{V_theme_andromeda}.tar.gz
michael@534 85 Source1: ftp://ftp.drupal.org/pub/drupal/files/projects/acquia_marina-%{V_theme_acquiamarina}.tar.gz
michael@534 86 Source2: ftp://ftp.drupal.org/pub/drupal/files/projects/basic-%{V_theme_basic}.tar.gz
michael@534 87 Source3: ftp://ftp.drupal.org/pub/drupal/files/projects/bluemasters-%{V_theme_bluemasters}.tar.gz
michael@534 88 Source4: ftp://ftp.drupal.org/pub/drupal/files/projects/business-%{V_theme_business}.tar.gz
michael@534 89 Source5: ftp://ftp.drupal.org/pub/drupal/files/projects/business_blog-%{V_theme_businessblog}.tar.gz
michael@534 90 Source6: ftp://ftp.drupal.org/pub/drupal/files/projects/corolla-%{V_theme_corolla}.tar.gz
michael@534 91 Source7: ftp://ftp.drupal.org/pub/drupal/files/projects/corporateclean-%{V_theme_corporateclean}.tar.gz
michael@534 92 Source8: ftp://ftp.drupal.org/pub/drupal/files/projects/danland-%{V_theme_danland}.tar.gz
michael@534 93 Source9: ftp://ftp.drupal.org/pub/drupal/files/projects/deco-%{V_theme_deco}.tar.gz
michael@534 94 Source10: ftp://ftp.drupal.org/pub/drupal/files/projects/domicile-%{V_theme_domicile}.tar.gz
michael@534 95 Source11: ftp://ftp.drupal.org/pub/drupal/files/projects/doune-%{V_theme_doune}.tar.gz
michael@534 96 Source12: ftp://ftp.drupal.org/pub/drupal/files/projects/eco-%{V_theme_eco}.tar.gz
michael@534 97 Source13: ftp://ftp.drupal.org/pub/drupal/files/projects/framework-%{V_theme_framework}.tar.gz
michael@534 98 Source14: ftp://ftp.drupal.org/pub/drupal/files/projects/fourseasons-%{V_theme_fourseasons}.tar.gz
michael@534 99 Source15: ftp://ftp.drupal.org/pub/drupal/files/projects/graze-%{V_theme_graze}.tar.gz
michael@534 100 Source16: ftp://ftp.drupal.org/pub/drupal/files/projects/marinelli-%{V_theme_marinelli}.tar.gz
michael@534 101 Source17: ftp://ftp.drupal.org/pub/drupal/files/projects/mayo-%{V_theme_mayo}.tar.gz
michael@534 102 Source18: ftp://ftp.drupal.org/pub/drupal/files/projects/mayumi-%{V_theme_mayumi}.tar.gz
michael@534 103 Source19: ftp://ftp.drupal.org/pub/drupal/files/projects/omega-%{V_theme_omega}.tar.gz
michael@534 104 Source20: ftp://ftp.drupal.org/pub/drupal/files/projects/plato-%{V_theme_plato}.tar.gz
michael@534 105 Source21: ftp://ftp.drupal.org/pub/drupal/files/projects/premium_corporate-%{V_theme_premcorp}.tar.gz
michael@534 106 Source22: ftp://ftp.drupal.org/pub/drupal/files/projects/rootcandy-%{V_theme_rootcandy}.tar.gz
michael@534 107 Source23: ftp://ftp.drupal.org/pub/drupal/files/projects/sankofa-%{V_theme_sankofa}.tar.gz
michael@534 108 Source24: ftp://ftp.drupal.org/pub/drupal/files/projects/sigmaone-%{V_theme_sigmaone}.tar.gz
michael@534 109 Source25: ftp://ftp.drupal.org/pub/drupal/files/projects/sky-%{V_theme_sky}.tar.gz
michael@534 110 Source26: ftp://ftp.drupal.org/pub/drupal/files/projects/touch-%{V_theme_touch}.tar.gz
michael@534 111 Source27: ftp://ftp.drupal.org/pub/drupal/files/projects/tapestry-%{V_theme_tapestry}.tar.gz
michael@534 112 Source28: ftp://ftp.drupal.org/pub/drupal/files/projects/velvetsky-%{V_theme_velvetsky}.tar.gz
michael@534 113 Source29: ftp://ftp.drupal.org/pub/drupal/files/projects/zen-%{V_theme_zen}.tar.gz
michael@735 114 Source30: ftp://ftp.drupal.org/pub/drupal/files/projects/adaptivetheme-%{V_theme_adaptive}.tar.gz
michael@735 115 Source31: ftp://ftp.drupal.org/pub/drupal/files/projects/groundwork-%{V_theme_groundwork}.tar.gz
michael@735 116 Source32: ftp://ftp.drupal.org/pub/drupal/files/projects/fusion-%{V_theme_fusion}.tar.gz
michael@735 117 Source33: ftp://ftp.drupal.org/pub/drupal/files/projects/om-%{V_theme_om}.tar.gz
michael@735 118 Source34: ftp://ftp.drupal.org/pub/drupal/files/projects/sasson-%{V_theme_sasson}.tar.gz
michael@735 119 Source35: ftp://ftp.drupal.org/pub/drupal/files/projects/skeletontheme-%{V_theme_skeleton}.tar.gz
michael@735 120 Source36: ftp://ftp.drupal.org/pub/drupal/files/projects/journalcrunch-%{V_theme_journalcrunch}.tar.gz
michael@735 121 Source37: ftp://ftp.drupal.org/pub/drupal/files/projects/magazeen_lite-%{V_theme_magazeenlite}.tar.gz
michael@751 122 Patch0: drupal-theme-misc.patch.cust
michael@533 123
michael@533 124 # build information
michael@533 125 BuildPreReq: OpenPKG, openpkg >= 20100101
michael@533 126 PreReq: OpenPKG, openpkg >= 20100101, drupal
michael@533 127
michael@533 128 %description
michael@534 129 This is a collection of reusable themes for the Drupal CMS.
michael@751 130 Additionally, customized logic is provided for various behaviour.
michael@533 131
michael@533 132 %track
michael@534 133 prog drupal-theme-misc:theme_acquiamarina = {
michael@534 134 version = %{V_theme_acquiamarina}
michael@534 135 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 136 regex = acquia_marina-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 137 }
michael@534 138 prog drupal-theme-misc:theme_andromeda = {
michael@534 139 version = %{V_theme_andromeda}
michael@534 140 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 141 regex = andromeda-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 142 }
michael@534 143 prog drupal-theme-misc:theme_basic = {
michael@534 144 version = %{V_theme_basic}
michael@534 145 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 146 regex = basic-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 147 }
michael@534 148 prog drupal-theme-misc:theme_bluemasters = {
michael@534 149 version = %{V_theme_bluemasters}
michael@534 150 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 151 regex = bluemasters-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 152 }
michael@534 153 prog drupal-theme-misc:theme_business = {
michael@534 154 version = %{V_theme_business}
michael@534 155 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 156 regex = business-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 157 }
michael@534 158 prog drupal-theme-misc:theme_businessblog = {
michael@534 159 version = %{V_theme_businessblog}
michael@534 160 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 161 regex = business_blog-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 162 }
michael@534 163 prog drupal-theme-misc:theme_corolla = {
michael@534 164 version = %{V_theme_corolla}
michael@534 165 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 166 regex = corolla-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 167 }
michael@534 168 prog drupal-theme-misc:theme_corporateclean = {
michael@534 169 version = %{V_theme_corporateclean}
michael@534 170 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 171 regex = corporateclean-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 172 }
michael@534 173 prog drupal-theme-misc:theme_danland = {
michael@534 174 version = %{V_theme_danland}
michael@534 175 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 176 regex = danland-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 177 }
michael@533 178 prog drupal-theme-misc:theme_deco = {
michael@533 179 version = %{V_theme_deco}
michael@534 180 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 181 regex = deco-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 182 }
michael@534 183 prog drupal-theme-misc:theme_domicile = {
michael@534 184 version = %{V_theme_domicile}
michael@534 185 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 186 regex = domicile-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 187 }
michael@534 188 prog drupal-theme-misc:theme_doune = {
michael@534 189 version = %{V_theme_doune}
michael@534 190 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 191 regex = doune-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 192 }
michael@534 193 prog drupal-theme-misc:theme_eco = {
michael@534 194 version = %{V_theme_eco}
michael@534 195 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 196 regex = eco-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 197 }
michael@533 198 prog drupal-theme-misc:theme_framework = {
michael@533 199 version = %{V_theme_framework}
michael@534 200 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 201 regex = framework-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 202 }
michael@533 203 prog drupal-theme-misc:theme_fourseasons = {
michael@533 204 version = %{V_theme_fourseasons}
michael@534 205 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 206 regex = fourseasons-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 207 }
michael@534 208 prog drupal-theme-misc:theme_graze = {
michael@534 209 version = %{V_theme_graze}
michael@534 210 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 211 regex = graze-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 212 }
michael@534 213 prog drupal-theme-misc:theme_marinelli = {
michael@534 214 version = %{V_theme_marinelli}
michael@534 215 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 216 regex = marinelli-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 217 }
michael@534 218 prog drupal-theme-misc:theme_mayo = {
michael@534 219 version = %{V_theme_mayo}
michael@534 220 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 221 regex = mayo-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 222 }
michael@534 223 prog drupal-theme-misc:theme_mayumi = {
michael@534 224 version = %{V_theme_mayumi}
michael@534 225 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 226 regex = mayumi-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 227 }
michael@534 228 prog drupal-theme-misc:theme_omega = {
michael@534 229 version = %{V_theme_omega}
michael@534 230 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 231 regex = omega-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 232 }
michael@534 233 prog drupal-theme-misc:theme_plato = {
michael@534 234 version = %{V_theme_plato}
michael@534 235 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 236 regex = plato-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 237 }
michael@534 238 prog drupal-theme-misc:theme_premcorp = {
michael@534 239 version = %{V_theme_premcorp}
michael@534 240 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 241 regex = premium_corporate-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 242 }
michael@534 243 prog drupal-theme-misc:theme_rootcandy = {
michael@534 244 version = %{V_theme_rootcandy}
michael@534 245 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 246 regex = rootcandy-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 247 }
michael@534 248 prog drupal-theme-misc:theme_sankofa = {
michael@534 249 version = %{V_theme_sankofa}
michael@534 250 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 251 regex = sankofa-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 252 }
michael@534 253 prog drupal-theme-misc:theme_sigmaone = {
michael@534 254 version = %{V_theme_sigmaone}
michael@534 255 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 256 regex = sigmaone-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 257 }
michael@533 258 prog drupal-theme-misc:theme_sky = {
michael@533 259 version = %{V_theme_sky}
michael@534 260 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 261 regex = sky-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 262 }
michael@534 263 prog drupal-theme-misc:theme_touch = {
michael@534 264 version = %{V_theme_touch}
michael@534 265 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 266 regex = touch-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 267 }
michael@534 268 prog drupal-theme-misc:theme_tapestry = {
michael@534 269 version = %{V_theme_tapestry}
michael@534 270 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 271 regex = tapestry-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@534 272 }
michael@534 273 prog drupal-theme-misc:theme_velvetsky = {
michael@534 274 version = %{V_theme_velvetsky}
michael@534 275 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 276 regex = velvetsky-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 277 }
michael@533 278 prog drupal-theme-misc:theme_zen = {
michael@533 279 version = %{V_theme_zen}
michael@534 280 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@534 281 regex = zen-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@533 282 }
michael@735 283 prog drupal-theme-misc:theme_adaptive = {
michael@735 284 version = %{V_theme_adaptive}
michael@735 285 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 286 regex = adaptive-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 287 }
michael@735 288 prog drupal-theme-misc:theme_groundwork = {
michael@735 289 version = %{V_theme_groundwork}
michael@735 290 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 291 regex = groundwork-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 292 }
michael@735 293 prog drupal-theme-misc:theme_fusion = {
michael@735 294 version = %{V_theme_fusion}
michael@735 295 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 296 regex = fusion-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 297 }
michael@735 298 prog drupal-theme-misc:theme_om = {
michael@735 299 version = %{V_theme_om}
michael@735 300 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 301 regex = om-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 302 }
michael@735 303 prog drupal-theme-misc:theme_sasson = {
michael@735 304 version = %{V_theme_sasson}
michael@735 305 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 306 regex = sasson-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 307 }
michael@735 308 prog drupal-theme-misc:theme_skeletontheme = {
michael@735 309 version = %{V_theme_skeletontheme}
michael@735 310 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 311 regex = skeletontheme-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 312 }
michael@735 313 prog drupal-theme-misc:theme_journalcrunch = {
michael@735 314 version = %{V_theme_journalcrunch}
michael@735 315 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 316 regex = journalcrunch-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 317 }
michael@735 318 prog drupal-theme-misc:theme_magazeen_lite = {
michael@735 319 version = %{V_theme_magazeen_lite}
michael@735 320 url = ftp://ftp.drupal.org/pub/drupal/files/projects/
michael@735 321 regex = magazeen_lite-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
michael@735 322 }
michael@533 323
michael@533 324 %prep
michael@533 325 %setup -q -c -T
michael@533 326 %{l_tar} xfz %{SOURCE0}
michael@533 327 %{l_tar} xfz %{SOURCE1}
michael@533 328 %{l_tar} xfz %{SOURCE2}
michael@533 329 %{l_tar} xfz %{SOURCE3}
michael@533 330 %{l_tar} xfz %{SOURCE4}
michael@533 331 %{l_tar} xfz %{SOURCE5}
michael@533 332 %{l_tar} xfz %{SOURCE6}
michael@533 333 %{l_tar} xfz %{SOURCE7}
michael@533 334 %{l_tar} xfz %{SOURCE8}
michael@533 335 %{l_tar} xfz %{SOURCE9}
michael@533 336 %{l_tar} xfz %{SOURCE10}
michael@534 337 %{l_tar} xfz %{SOURCE11}
michael@534 338 %{l_tar} xfz %{SOURCE12}
michael@534 339 %{l_tar} xfz %{SOURCE13}
michael@534 340 %{l_tar} xfz %{SOURCE14}
michael@534 341 %{l_tar} xfz %{SOURCE15}
michael@534 342 %{l_tar} xfz %{SOURCE16}
michael@534 343 %{l_tar} xfz %{SOURCE17}
michael@534 344 %{l_tar} xfz %{SOURCE18}
michael@534 345 %{l_tar} xfz %{SOURCE19}
michael@534 346 %{l_tar} xfz %{SOURCE20}
michael@534 347 %{l_tar} xfz %{SOURCE21}
michael@534 348 %{l_tar} xfz %{SOURCE22}
michael@534 349 %{l_tar} xfz %{SOURCE23}
michael@534 350 %{l_tar} xfz %{SOURCE24}
michael@534 351 %{l_tar} xfz %{SOURCE25}
michael@534 352 %{l_tar} xfz %{SOURCE26}
michael@534 353 %{l_tar} xfz %{SOURCE27}
michael@534 354 %{l_tar} xfz %{SOURCE28}
michael@534 355 %{l_tar} xfz %{SOURCE29}
michael@735 356 %{l_tar} xfz %{SOURCE30}
michael@735 357 %{l_tar} xfz %{SOURCE31}
michael@735 358 %{l_tar} xfz %{SOURCE32}
michael@735 359 %{l_tar} xfz %{SOURCE33}
michael@735 360 %{l_tar} xfz %{SOURCE34}
michael@735 361 %{l_tar} xfz %{SOURCE35}
michael@735 362 %{l_tar} xfz %{SOURCE36}
michael@735 363 %{l_tar} xfz %{SOURCE37}
michael@533 364
michael@751 365 # apply local patches
michael@751 366 %if "%{with_cust}" == "yes"
michael@751 367 %patch -p0
michael@751 368 %endif
michael@751 369
michael@533 370 %build
michael@533 371
michael@533 372 %install
michael@533 373 # create installation hierarchy
michael@533 374 %{l_shtool} mkdir -f -p -m 755 \
michael@533 375 $RPM_BUILD_ROOT%{l_prefix}/share/drupal/sites/all/themes
michael@533 376
michael@533 377 # avoid copying unnecessary text files
michael@533 378 find . -name "*.orig" -print | xargs rm -f
michael@533 379 rm -f CHANGELOG.txt COPYRIGHT.txt INSTALL.*.txt INSTALL.txt
michael@533 380 rm -f LICENSE.txt MAINTAINERS.txt UPGRADE.txt
michael@534 381 rm -f marinelli/fonts/bergamo/*License.txt andromeda/fonts/*License.txt
michael@533 382
michael@533 383 # install all files (and strip down installation afterwards)
michael@533 384 cp -rp * \
michael@533 385 $RPM_BUILD_ROOT%{l_prefix}/share/drupal/sites/all/themes/
michael@533 386
michael@533 387 # determine installation files
michael@533 388 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
michael@533 389 %{l_files_std} \
michael@533 390 '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/drupal'
michael@533 391
michael@533 392 %files -f files
michael@533 393
michael@533 394 %clean
michael@533 395

mercurial