|
|
|
|
##
|
|
|
|
|
## drupal.spec -- OpenPKG RPM Package Specification
|
|
|
|
|
## Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
|
|
|
|
|
## Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
|
|
|
|
|
##
|
|
|
|
|
## Permission to use, copy, modify, and distribute this software for
|
|
|
|
|
## any purpose with or without fee is hereby granted, provided that
|
|
|
|
|
## the above copyright notice and this permission notice appear in all
|
|
|
|
|
## copies.
|
|
|
|
|
##
|
|
|
|
|
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
|
|
|
|
|
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
|
|
|
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
|
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
|
|
|
|
|
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
|
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
|
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
|
|
|
|
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
|
|
|
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
|
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
|
|
|
|
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
## SUCH DAMAGE.
|
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
# package versions
|
|
|
|
|
%define V_drupal 5.4
|
|
|
|
|
%define V_module_adminblock 1.0
|
|
|
|
|
%define V_module_adsense 1.6
|
|
|
|
|
%define V_module_article 2.4
|
|
|
|
|
%define V_module_buddylist 1.0
|
|
|
|
|
%define V_module_codefilter 1.x
|
|
|
|
|
%define V_module_commentcloser 1.1
|
|
|
|
|
%define V_module_contextlinks 1.2
|
|
|
|
|
%define V_module_customerror 1.1
|
|
|
|
|
%define V_module_event 1.0
|
|
|
|
|
%define V_module_excerpt 1.2
|
|
|
|
|
%define V_module_feedback 1.x
|
|
|
|
|
%define V_module_forms 1.x
|
|
|
|
|
%define V_module_freelinking 1.2
|
|
|
|
|
%define V_module_front 4.0
|
|
|
|
|
%define V_module_glossary 1.x
|
|
|
|
|
%define V_module_hof 1.1
|
|
|
|
|
%define V_module_image 1.6
|
|
|
|
|
%define V_module_interwiki 1.x
|
|
|
|
|
%define V_module_legal 1.1
|
|
|
|
|
%define V_module_livediscussions 1.2
|
|
|
|
|
%define V_module_mailhandler 1.2
|
|
|
|
|
%define V_module_nodevote 1.x
|
|
|
|
|
%define V_module_nodewords 1.5
|
|
|
|
|
%define V_module_notify 1.1
|
|
|
|
|
%define V_module_og 4.1
|
|
|
|
|
%define V_module_paypal_framework 1.0
|
|
|
|
|
%define V_module_print 3.0
|
|
|
|
|
%define V_module_project 0.1
|
|
|
|
|
%define V_module_quotes 1.1
|
|
|
|
|
%define V_module_rsvp 1.2
|
|
|
|
|
%define V_module_scheduler 1.8
|
|
|
|
|
%define V_module_securesite 1.0
|
|
|
|
|
%define V_module_shoutbox 1.1
|
|
|
|
|
%define V_module_simplenews 1.1
|
|
|
|
|
%define V_module_sitemap 1.1
|
|
|
|
|
%define V_module_sitemenu 1.0
|
|
|
|
|
%define V_module_smartypants 1.0
|
|
|
|
|
%define V_module_smileys 1.1
|
|
|
|
|
%define V_module_subscriptions 1.9
|
|
|
|
|
%define V_module_survey 1.x
|
|
|
|
|
%define V_module_syndication 1.x
|
|
|
|
|
%define V_module_taxonomy_block 1.x
|
|
|
|
|
%define V_module_taxonomy_context 1.x
|
|
|
|
|
%define V_module_taxonomy_dhtml 2.2
|
|
|
|
|
%define V_module_taxonomy_menu 1.x
|
|
|
|
|
%define V_module_taxonomy_theme 1.1
|
|
|
|
|
%define V_module_textile 2.1
|
|
|
|
|
%define V_module_tinymce 1.x
|
|
|
|
|
%define V_module_trackback 1.4
|
|
|
|
|
%define V_module_troll 1.1
|
|
|
|
|
%define V_module_webform 1.7
|
|
|
|
|
%define V_module_week 1.2
|
|
|
|
|
%define V_module_wordfilter 1.x
|
|
|
|
|
%define V_theme_aeon 1.x
|
|
|
|
|
%define V_theme_tidy 1.0
|
|
|
|
|
%define V_theme_imapact 1.4
|
|
|
|
|
%define V_theme_universal 1.1
|
|
|
|
|
%define V_theme_shinobi 1.3
|
|
|
|
|
%define V_theme_abac 1.4
|
|
|
|
|
%define V_theme_aberdeen 1.7
|
|
|
|
|
%define V_theme_amadou 3.3
|
|
|
|
|
%define V_theme_andreas09 1.0
|
|
|
|
|
%define V_theme_antiquemodern 1.2
|
|
|
|
|
%define V_theme_aquasoft 1.0
|
|
|
|
|
%define V_theme_arcmateria 1.1
|
|
|
|
|
%define V_theme_aurora 1.2
|
|
|
|
|
%define V_theme_barlow 1.2
|
|
|
|
|
%define V_theme_barron 1.4
|
|
|
|
|
%define V_theme_bluebreeze 1.2
|
|
|
|
|
%define V_theme_boxgrey 1.1
|
|
|
|
|
%define V_theme_channelnine 1.1
|
|
|
|
|
%define V_theme_combustion 1.0
|
|
|
|
|
%define V_theme_contented7 1.0
|
|
|
|
|
%define V_theme_danger4k 1.1
|
|
|
|
|
%define V_theme_dreamy 1.4
|
|
|
|
|
%define V_theme_fancy 1.0
|
|
|
|
|
%define V_theme_foliage 1.0
|
|
|
|
|
%define V_theme_garamond 1.1
|
|
|
|
|
%define V_theme_garlandrtl 1.0
|
|
|
|
|
%define V_theme_glossyblue 1.0
|
|
|
|
|
%define V_theme_goldenhour 2.2
|
|
|
|
|
%define V_theme_greenhouse 1.1
|
|
|
|
|
%define V_theme_gutenberg 1.1
|
|
|
|
|
%define V_theme_internetjobs 1.1
|
|
|
|
|
%define V_theme_internetservices 1.1
|
|
|
|
|
%define V_theme_itheme 1.5
|
|
|
|
|
%define V_theme_k2 1.0
|
|
|
|
|
%define V_theme_mobi 1.1
|
|
|
|
|
%define V_theme_nautica09 1.2
|
|
|
|
|
%define V_theme_nonzero 0.1
|
|
|
|
|
%define V_theme_ocadia 1.0-1
|
|
|
|
|
%define V_theme_orchad 1.3
|
|
|
|
|
%define V_theme_rezina 1.2
|
|
|
|
|
%define V_theme_sharepointlike 1.0
|
|
|
|
|
%define V_theme_sinatra 1.0-1
|
|
|
|
|
%define V_theme_spreadfirefox 1.0
|
|
|
|
|
%define V_theme_stylizedbeauty 1.0
|
|
|
|
|
%define V_theme_votebob 0.1
|
|
|
|
|
%define V_theme_zen 0.8
|
|
|
|
|
|
|
|
|
|
# package information
|
|
|
|
|
Name: drupal
|
|
|
|
|
Summary: Content Management Platform
|
|
|
|
|
URL: http://www.drupal.org/
|
|
|
|
|
Vendor: Dries Buytaert et al.
|
|
|
|
|
Packager: OpenPKG Foundation e.V.
|
|
|
|
|
Distribution: OpenPKG Community
|
|
|
|
|
Class: PLUS
|
|
|
|
|
Group: CMS
|
|
|
|
|
License: GPL
|
|
|
|
|
Version: %{V_drupal}
|
|
|
|
|
Release: 20071206
|
|
|
|
|
|
|
|
|
|
# list of sources
|
|
|
|
|
Source0: http://ftp.drupal.org/files/projects/drupal-%{V_drupal}.tar.gz
|
|
|
|
|
Source1: http://ftp.drupal.org/files/projects/adminblock-5.x-%{V_module_adminblock}.tar.gz
|
|
|
|
|
Source2: http://ftp.drupal.org/files/projects/adsense-5.x-%{V_module_adsense}.tar.gz
|
|
|
|
|
Source3: http://ftp.drupal.org/files/projects/article-5.x-%{V_module_article}.tar.gz
|
|
|
|
|
Source4: http://ftp.drupal.org/files/projects/buddylist-5.x-%{V_module_buddylist}.tar.gz
|
|
|
|
|
Source5: http://ftp.drupal.org/files/projects/commentcloser-5.x-%{V_module_commentcloser}.tar.gz
|
|
|
|
|
Source6: http://ftp.drupal.org/files/projects/contextlinks-5.x-%{V_module_contextlinks}.tar.gz
|
|
|
|
|
Source7: http://ftp.drupal.org/files/projects/customerror-5.x-%{V_module_customerror}.tar.gz
|
|
|
|
|
Source8: http://ftp.drupal.org/files/projects/event-5.x-%{V_module_event}.tar.gz
|
|
|
|
|
Source9: http://ftp.drupal.org/files/projects/excerpt-5.x-%{V_module_excerpt}.tar.gz
|
|
|
|
|
Source10: http://ftp.drupal.org/files/projects/freelinking-5.x-%{V_module_freelinking}.tar.gz
|
|
|
|
|
Source11: http://ftp.drupal.org/files/projects/front-5.x-%{V_module_front}.tar.gz
|
|
|
|
|
Source12: http://ftp.drupal.org/files/projects/hof-5.x-%{V_module_hof}.tar.gz
|
|
|
|
|
Source13: http://ftp.drupal.org/files/projects/image-5.x-%{V_module_image}.tar.gz
|
|
|
|
|
Source14: http://ftp.drupal.org/files/projects/legal-5.x-%{V_module_legal}.tar.gz
|
|
|
|
|
Source15: http://ftp.drupal.org/files/projects/livediscussions-5.x-%{V_module_livediscussions}.tar.gz
|
|
|
|
|
Source16: http://ftp.drupal.org/files/projects/mailhandler-5.x-%{V_module_mailhandler}.tar.gz
|
|
|
|
|
Source17: http://ftp.drupal.org/files/projects/nodewords-5.x-%{V_module_nodewords}.tar.gz
|
|
|
|
|
Source18: http://ftp.drupal.org/files/projects/notify-5.x-%{V_module_notify}.tar.gz
|
|
|
|
|
Source19: http://ftp.drupal.org/files/projects/og-5.x-%{V_module_og}.tar.gz
|
|
|
|
|
Source20: http://ftp.drupal.org/files/projects/paypal_framework-5.x-%{V_module_paypal_framework}.tar.gz
|
|
|
|
|
Source21: http://ftp.drupal.org/files/projects/print-5.x-%{V_module_print}.tar.gz
|
|
|
|
|
Source22: http://ftp.drupal.org/files/projects/project-5.x-%{V_module_project}-beta.tar.gz
|
|
|
|
|
Source23: http://ftp.drupal.org/files/projects/quotes-5.x-%{V_module_quotes}.tar.gz
|
|
|
|
|
Source24: http://ftp.drupal.org/files/projects/rsvp-5.x-%{V_module_rsvp}.tar.gz
|
|
|
|
|
Source25: http://ftp.drupal.org/files/projects/scheduler-5.x-%{V_module_scheduler}.tar.gz
|
|
|
|
|
Source26: http://ftp.drupal.org/files/projects/securesite-5.x-%{V_module_securesite}.tar.gz
|
|
|
|
|
Source27: http://ftp.drupal.org/files/projects/shoutbox-5.x-%{V_module_shoutbox}.tar.gz
|
|
|
|
|
Source28: http://ftp.drupal.org/files/projects/simplenews-5.x-%{V_module_simplenews}.tar.gz
|
|
|
|
|
Source29: http://ftp.drupal.org/files/projects/site_map-5.x-%{V_module_sitemap}.tar.gz
|
|
|
|
|
Source30: http://ftp.drupal.org/files/projects/sitemenu-5.x-%{V_module_sitemenu}.tar.gz
|
|
|
|
|
Source31: http://ftp.drupal.org/files/projects/smartypants-5.x-%{V_module_smartypants}.tar.gz
|
|
|
|
|
Source32: http://ftp.drupal.org/files/projects/smileys-5.x-%{V_module_smileys}.tar.gz
|
|
|
|
|
Source33: http://ftp.drupal.org/files/projects/subscriptions-5.x-%{V_module_subscriptions}.tar.gz
|
|
|
|
|
Source34: http://ftp.drupal.org/files/projects/taxonomy_dhtml-5.x-%{V_module_taxonomy_dhtml}.tar.gz
|
|
|
|
|
Source35: http://ftp.drupal.org/files/projects/taxonomy_theme-5.x-%{V_module_taxonomy_theme}.tar.gz
|
|
|
|
|
Source36: http://ftp.drupal.org/files/projects/textile-5.x-%{V_module_textile}.tar.gz
|
|
|
|
|
Source37: http://ftp.drupal.org/files/projects/trackback-5.x-%{V_module_trackback}.tar.gz
|
|
|
|
|
Source38: http://ftp.drupal.org/files/projects/troll-5.x-%{V_module_troll}.tar.gz
|
|
|
|
|
Source39: http://ftp.drupal.org/files/projects/webform-5.x-%{V_module_webform}.tar.gz
|
|
|
|
|
Source40: http://ftp.drupal.org/files/projects/week-5.x-%{V_module_week}.tar.gz
|
|
|
|
|
Source41: http://ftp.drupal.org/files/projects/MyDrupal-Tidy-5.x-%{V_theme_tidy}.tar.gz
|
|
|
|
|
Source42: http://ftp.drupal.org/files/projects/MyDrupal_Impact-5.x-%{V_theme_imapact}.tar.gz
|
|
|
|
|
Source43: http://ftp.drupal.org/files/projects/MyDrupal_Universal-5.x-%{V_theme_universal}.tar.gz
|
|
|
|
|
Source44: http://ftp.drupal.org/files/projects/SHINOBI-5.x-%{V_theme_shinobi}.tar.gz
|
|
|
|
|
Source45: http://ftp.drupal.org/files/projects/abac-5.x-%{V_theme_abac}.tar.gz
|
|
|
|
|
Source46: http://ftp.drupal.org/files/projects/aberdeen-5.x-%{V_theme_aberdeen}.tar.gz
|
|
|
|
|
Source47: http://ftp.drupal.org/files/projects/amadou-5.x-%{V_theme_amadou}.tar.gz
|
|
|
|
|
Source48: http://ftp.drupal.org/files/projects/andreas09-5.x-%{V_theme_andreas09}.tar.gz
|
|
|
|
|
Source49: http://ftp.drupal.org/files/projects/antique_modern-5.x-%{V_theme_antiquemodern}.tar.gz
|
|
|
|
|
Source50: http://ftp.drupal.org/files/projects/aquasoft-5.x-%{V_theme_aquasoft}.tar.gz
|
|
|
|
|
Source51: http://ftp.drupal.org/files/projects/arcmateria-5.x-%{V_theme_arcmateria}.tar.gz
|
|
|
|
|
Source52: http://ftp.drupal.org/files/projects/aurora-5.x-%{V_theme_aurora}.tar.gz
|
|
|
|
|
Source53: http://ftp.drupal.org/files/projects/barlow-5.x-%{V_theme_barlow}.tar.gz
|
|
|
|
|
Source54: http://ftp.drupal.org/files/projects/barron-5.x-%{V_theme_barron}.tar.gz
|
|
|
|
|
Source55: http://ftp.drupal.org/files/projects/bluebreeze-5.x-%{V_theme_bluebreeze}.tar.gz
|
|
|
|
|
Source56: http://ftp.drupal.org/files/projects/box_grey-5.x-%{V_theme_boxgrey}.tar.gz
|
|
|
|
|
Source57: http://ftp.drupal.org/files/projects/channel_nine-5.x-%{V_theme_channelnine}.tar.gz
|
|
|
|
|
Source58: http://ftp.drupal.org/files/projects/combustion-5.x-%{V_theme_combustion}.tar.gz
|
|
|
|
|
Source59: http://ftp.drupal.org/files/projects/contented7-5.x-%{V_theme_contented7}.tar.gz
|
|
|
|
|
Source60: http://ftp.drupal.org/files/projects/danger4k-5.x-%{V_theme_danger4k}.tar.gz
|
|
|
|
|
Source61: http://ftp.drupal.org/files/projects/dreamy-5.x-%{V_theme_dreamy}.tar.gz
|
|
|
|
|
Source62: http://ftp.drupal.org/files/projects/fancy-5.x-%{V_theme_fancy}.tar.gz
|
|
|
|
|
Source63: http://ftp.drupal.org/files/projects/foliage-5.x-%{V_theme_foliage}.tar.gz
|
|
|
|
|
Source64: http://ftp.drupal.org/files/projects/garamond-5.x-%{V_theme_garamond}.tar.gz
|
|
|
|
|
Source65: http://ftp.drupal.org/files/projects/garlandrtl-5.x-%{V_theme_garlandrtl}.tar.gz
|
|
|
|
|
Source66: http://ftp.drupal.org/files/projects/glossyblue-5.x-%{V_theme_glossyblue}.tar.gz
|
|
|
|
|
Source67: http://ftp.drupal.org/files/projects/golden_hour-5.x-%{V_theme_goldenhour}.tar.gz
|
|
|
|
|
Source68: http://ftp.drupal.org/files/projects/greenhouse-5.x-%{V_theme_greenhouse}.tar.gz
|
|
|
|
|
Source69: http://ftp.drupal.org/files/projects/gutenberg-5.x-%{V_theme_gutenberg}.tar.gz
|
|
|
|
|
Source70: http://ftp.drupal.org/files/projects/internet_jobs-5.x-%{V_theme_internetjobs}.tar.gz
|
|
|
|
|
Source71: http://ftp.drupal.org/files/projects/internet_services-5.x-%{V_theme_internetservices}.tar.gz
|
|
|
|
|
Source72: http://ftp.drupal.org/files/projects/itheme-5.x-%{V_theme_itheme}.tar.gz
|
|
|
|
|
Source73: http://ftp.drupal.org/files/projects/k2-5.x-%{V_theme_k2}.tar.gz
|
|
|
|
|
Source74: http://ftp.drupal.org/files/projects/mobi-5.x-%{V_theme_mobi}.tar.gz
|
|
|
|
|
Source75: http://ftp.drupal.org/files/projects/nautica09-5.x-%{V_theme_nautica09}.tar.gz
|
|
|
|
|
Source76: http://ftp.drupal.org/files/projects/nonzero-5.x-%{V_theme_nonzero}.tar.gz
|
|
|
|
|
Source77: http://ftp.drupal.org/files/projects/ocadia-5.x-%{V_theme_ocadia}.tar.gz
|
|
|
|
|
Source78: http://ftp.drupal.org/files/projects/orchard-5.x-%{V_theme_orchad}.tar.gz
|
|
|
|
|
Source79: http://ftp.drupal.org/files/projects/rezina-5.x-%{V_theme_rezina}.tar.gz
|
|
|
|
|
Source80: http://ftp.drupal.org/files/projects/sharepoint-like-5.x-%{V_theme_sharepointlike}.tar.gz
|
|
|
|
|
Source81: http://ftp.drupal.org/files/projects/sinatra-5.x-%{V_theme_sinatra}.tar.gz
|
|
|
|
|
Source82: http://ftp.drupal.org/files/projects/spreadfirefox-5.x-%{V_theme_spreadfirefox}.tar.gz
|
|
|
|
|
Source83: http://ftp.drupal.org/files/projects/stylized_beauty-5.x-%{V_theme_stylizedbeauty}.tar.gz
|
|
|
|
|
Source84: http://ftp.drupal.org/files/projects/votebob-5.x-%{V_theme_votebob}.tar.gz
|
|
|
|
|
Source85: http://ftp.drupal.org/files/projects/zen-5.x-%{V_theme_zen}.tar.gz
|
|
|
|
|
Source86: drupal-setup.sh
|
|
|
|
|
Source87: drupal-cron.sh
|
|
|
|
|
Source88: drupal-apache.conf
|
|
|
|
|
Source89: rc.drupal
|
|
|
|
|
Patch0: drupal.patch
|
|
|
|
|
|
|
|
|
|
# build information
|
|
|
|
|
Prefix: %{l_prefix}
|
|
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20060823
|
|
|
|
|
PreReq: OpenPKG, openpkg >= 20060823
|
|
|
|
|
PreReq: apache, pcre
|
|
|
|
|
PreReq: apache-php
|
|
|
|
|
PreReq: apache-php::with_gd = yes
|
|
|
|
|
PreReq: apache-php::with_mbstring = yes
|
|
|
|
|
PreReq: apache-php::with_mm = yes
|
|
|
|
|
PreReq: apache-php::with_mysql = yes
|
|
|
|
|
PreReq: apache-php::with_pcre = yes
|
|
|
|
|
PreReq: apache-php::with_xml = yes
|
|
|
|
|
PreReq: pcre::with_utf8
|
|
|
|
|
AutoReq: no
|
|
|
|
|
AutoReqProv: no
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Drupal is a dynamic web site platform which allows an individual
|
|
|
|
|
or community of users to publish, manage and organize a
|
|
|
|
|
variety of content, Drupal integrates many popular features of
|
|
|
|
|
content management systems, weblogs, collaborative tools and
|
|
|
|
|
discussion-based community software into one easy-to-use package.
|
|
|
|
|
|
|
|
|
|
%track
|
|
|
|
|
prog drupal = {
|
|
|
|
|
version = %{V_drupal}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >drupal-(5\.\d+).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:adminblock = {
|
|
|
|
|
version = %{V_module_adminblock}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >adminblock-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:adsense = {
|
|
|
|
|
version = %{V_module_adsense}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >adsense-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:article = {
|
|
|
|
|
version = %{V_module_article}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >article-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:buddylist = {
|
|
|
|
|
version = %{V_module_buddylist}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >buddylist-5.x-(\d+(\.\d+)+).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:commentcloser = {
|
|
|
|
|
version = %{V_module_commentcloser}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >commentcloser-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:contextlinks = {
|
|
|
|
|
version = %{V_module_contextlinks}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >contextlinks-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:customerror = {
|
|
|
|
|
version = %{V_module_customerror}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >customerror-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:event = {
|
|
|
|
|
version = %{V_module_event}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >event-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:excerpt = {
|
|
|
|
|
version = %{V_module_excerpt}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >excerpt-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:freelinking = {
|
|
|
|
|
version = %{V_module_freelinking}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >freelinking-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:front = {
|
|
|
|
|
version = %{V_module_front}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >front-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:hof = {
|
|
|
|
|
version = %{V_module_hof}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >hof-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:image = {
|
|
|
|
|
version = %{V_module_image}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >image-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:legal = {
|
|
|
|
|
version = %{V_module_legal}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >legal-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:livediscussions = {
|
|
|
|
|
version = %{V_module_livediscussions}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >livediscussions-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:mailhandler = {
|
|
|
|
|
version = %{V_module_mailhandler}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >mailhandler-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:nodewords = {
|
|
|
|
|
version = %{V_module_nodewords}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >nodewords-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:notify = {
|
|
|
|
|
version = %{V_module_notify}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >notify-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:og = {
|
|
|
|
|
version = %{V_module_og}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >og-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:paypal_framework = {
|
|
|
|
|
version = %{V_module_paypal_framework}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >paypal_framework-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:print = {
|
|
|
|
|
version = %{V_module_print}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >print-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:project = {
|
|
|
|
|
version = %{V_module_project}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >project-5.x-(__VER__)-beta.tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:quotes = {
|
|
|
|
|
version = %{V_module_quotes}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >quotes-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:rsvp = {
|
|
|
|
|
version = %{V_module_rsvp}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >rsvp-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:scheduler = {
|
|
|
|
|
version = %{V_module_scheduler}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >scheduler-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:securesite = {
|
|
|
|
|
version = %{V_module_securesite}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >securesite-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:shoutbox = {
|
|
|
|
|
version = %{V_module_shoutbox}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >shoutbox-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:simplenews = {
|
|
|
|
|
version = %{V_module_simplenews}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >simplenews-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:sitemap = {
|
|
|
|
|
version = %{V_module_sitemap}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >site_map-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:sitemenu = {
|
|
|
|
|
version = %{V_module_sitemenu}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >sitemenu-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:smartypants = {
|
|
|
|
|
version = %{V_module_smartypants}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >smartypants-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:smileys = {
|
|
|
|
|
version = %{V_module_smileys}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >smileys-5.x-(\d+(\.\d+)+).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:subscriptions = {
|
|
|
|
|
version = %{V_module_subscriptions}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >subscriptions-5.x-(\d+(\.\d+)+).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:taxonomy_dhtml = {
|
|
|
|
|
version = %{V_module_taxonomy_dhtml}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >taxonomy_dhtml-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:taxonomy_theme = {
|
|
|
|
|
version = %{V_module_taxonomy_theme}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >taxonomy_theme-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:textile = {
|
|
|
|
|
version = %{V_module_textile}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >textile-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:trackback = {
|
|
|
|
|
version = %{V_module_trackback}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >trackback-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:troll = {
|
|
|
|
|
version = %{V_module_troll}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >troll-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:webform = {
|
|
|
|
|
version = %{V_module_webform}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >webform-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:week = {
|
|
|
|
|
version = %{V_module_week}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >week-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:tidy = {
|
|
|
|
|
version = %{V_theme_tidy}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >MyDrupal-Tidy-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:imapact = {
|
|
|
|
|
version = %{V_theme_imapact}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >MyDrupal_Impact-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:universal = {
|
|
|
|
|
version = %{V_theme_universal}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >MyDrupal_Universal-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:shinobi = {
|
|
|
|
|
version = %{V_theme_shinobi}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >SHINOBI-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:abac = {
|
|
|
|
|
version = %{V_theme_abac}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >abac-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:aberdeen = {
|
|
|
|
|
version = %{V_theme_aberdeen}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >aberdeen-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:amadou = {
|
|
|
|
|
version = %{V_theme_amadou}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >amadou-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:andreas09 = {
|
|
|
|
|
version = %{V_theme_andreas09}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >andreas09-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:antiquemodern = {
|
|
|
|
|
version = %{V_theme_antiquemodern}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >antique_modern-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:aquasoft = {
|
|
|
|
|
version = %{V_theme_aquasoft}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >aquasoft-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:arcmateria = {
|
|
|
|
|
version = %{V_theme_arcmateria}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >arcmateria-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:aurora = {
|
|
|
|
|
version = %{V_theme_aurora}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >aurora-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:barlow = {
|
|
|
|
|
version = %{V_theme_barlow}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >barlow-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:barron = {
|
|
|
|
|
version = %{V_theme_barron}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >barron-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:bluebreeze = {
|
|
|
|
|
version = %{V_theme_bluebreeze}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >bluebreeze-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:boxgrey = {
|
|
|
|
|
version = %{V_theme_boxgrey}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >box_grey-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:channelnine = {
|
|
|
|
|
version = %{V_theme_channelnine}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >channel_nine-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:combustion = {
|
|
|
|
|
version = %{V_theme_combustion}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >combustion-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:contented7 = {
|
|
|
|
|
version = %{V_theme_contented7}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >contented7-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:danger4k = {
|
|
|
|
|
version = %{V_theme_danger4k}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >danger4k-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:dreamy = {
|
|
|
|
|
version = %{V_theme_dreamy}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >dreamy-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:fancy = {
|
|
|
|
|
version = %{V_theme_fancy}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >fancy-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:foliage = {
|
|
|
|
|
version = %{V_theme_foliage}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >foliage-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:garamond = {
|
|
|
|
|
version = %{V_theme_garamond}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >garamond-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:garlandrtl = {
|
|
|
|
|
version = %{V_theme_garlandrtl}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >garlandrtl-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:glossyblue = {
|
|
|
|
|
version = %{V_theme_glossyblue}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >glossyblue-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:goldenhour = {
|
|
|
|
|
version = %{V_theme_goldenhour}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >golden_hour-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:greenhouse = {
|
|
|
|
|
version = %{V_theme_greenhouse}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >greenhouse-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:gutenberg = {
|
|
|
|
|
version = %{V_theme_gutenberg}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >gutenberg-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:internetjobs = {
|
|
|
|
|
version = %{V_theme_internetjobs}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >internet_jobs-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:internetservices = {
|
|
|
|
|
version = %{V_theme_internetservices}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >internet_services-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:itheme = {
|
|
|
|
|
version = %{V_theme_itheme}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >itheme-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:k2 = {
|
|
|
|
|
version = %{V_theme_k2}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >k2-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:mobi = {
|
|
|
|
|
version = %{V_theme_mobi}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >mobi-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:nautica09 = {
|
|
|
|
|
version = %{V_theme_nautica09}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >nautica09-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:nonzero = {
|
|
|
|
|
version = %{V_theme_nonzero}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >nonzero-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:ocadia = {
|
|
|
|
|
version = %{V_theme_ocadia}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >ocadia-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:orchad = {
|
|
|
|
|
version = %{V_theme_orchad}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >orchard-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:rezina = {
|
|
|
|
|
version = %{V_theme_rezina}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >rezina-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:sharepointlike = {
|
|
|
|
|
version = %{V_theme_sharepointlike}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >sharepoint-like-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:sinatra = {
|
|
|
|
|
version = %{V_theme_sinatra}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >sinatra-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:spreadfirefox = {
|
|
|
|
|
version = %{V_theme_spreadfirefox}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >spreadfirefox-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:stylizedbeauty = {
|
|
|
|
|
version = %{V_theme_stylizedbeauty}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >stylized_beauty-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:votebob = {
|
|
|
|
|
version = %{V_theme_votebob}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >votebob-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
prog drupal:zen = {
|
|
|
|
|
version = %{V_theme_zen}
|
|
|
|
|
url = http://ftp.drupal.org/files/projects/
|
|
|
|
|
regex = >zen-5.x-(__VER__).tar.gz
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -c
|
|
|
|
|
%patch -p0 -d drupal-%{V_drupal}
|
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 drupal-%{V_drupal}/sites/all/modules
|
|
|
|
|
( cd drupal-%{V_drupal}/sites/all/modules || exit 1
|
|
|
|
|
%{l_tar} xvfz %{SOURCE1}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE2}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE3}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE4}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE5}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE6}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE7}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE8}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE9}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE10}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE11}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE12}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE13}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE14}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE15}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE16}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE17}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE18}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE19}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE20}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE21}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE22}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE23}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE24}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE25}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE26}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE27}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE28}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE29}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE30}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE31}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE32}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE33}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE34}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE35}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE36}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE37}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE38}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE39}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE40}
|
|
|
|
|
) || exit $?
|
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 drupal-%{V_drupal}/sites/all/themes
|
|
|
|
|
( cd drupal-%{V_drupal}/sites/all/themes || exit 1
|
|
|
|
|
%{l_tar} xvfz %{SOURCE41}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE42}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE43}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE44}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE45}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE46}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE47}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE48}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE49}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE50}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE51}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE52}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE53}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE54}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE54}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE55}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE56}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE57}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE58}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE59}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE60}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE61}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE62}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE63}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE64}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE65}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE66}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE67}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE68}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE69}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE70}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE71}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE72}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE73}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE74}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE75}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE76}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE77}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE78}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE79}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE80}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE81}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE82}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE83}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE84}
|
|
|
|
|
%{l_tar} xvfz %{SOURCE85}
|
|
|
|
|
) || exit $?
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
# create installation hierarchy
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/sbin \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/drupal/sites \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/drupal \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/drupal/files \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/drupal/run \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/drupal/log
|
|
|
|
|
|
|
|
|
|
# install all files and strip down installation afterwards
|
|
|
|
|
cp -rp drupal-%{V_drupal}/* drupal-%{V_drupal}/.htaccess \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/drupal/
|
|
|
|
|
|
|
|
|
|
# set data location
|
|
|
|
|
%{l_shtool} mkln -s \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/drupal/files \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/drupal/
|
|
|
|
|
|
|
|
|
|
# install run-command script
|
|
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
|
|
%{SOURCE rc.drupal} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
|
|
|
|
|
|
|
# install MySQL database setup script
|
|
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
|
|
%{SOURCE drupal-setup.sh} $RPM_BUILD_ROOT%{l_prefix}/sbin/drupal-setup
|
|
|
|
|
|
|
|
|
|
# install Cron job script
|
|
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
|
|
%{SOURCE drupal-cron.sh} $RPM_BUILD_ROOT%{l_prefix}/sbin/drupal-cron
|
|
|
|
|
|
|
|
|
|
# install custom Apache configuration
|
|
|
|
|
l_hostname=`%{l_shtool} echo -e %h`
|
|
|
|
|
l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
|
|
|
|
|
%{l_shtool} install -c -m 644 %{l_value -s -a} \
|
|
|
|
|
-e "s;@l_hostname@;$l_hostname;g" \
|
|
|
|
|
-e "s;@l_domainname@;$l_domainname;g" \
|
|
|
|
|
%{SOURCE drupal-apache.conf} \
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/drupal/
|
|
|
|
|
|
|
|
|
|
# determine installation files
|
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
|
|
%{l_files_std} \
|
|
|
|
|
'%config %{l_prefix}/etc/drupal' \
|
|
|
|
|
'%config %attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/drupal' \
|
|
|
|
|
'%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/drupal'
|
|
|
|
|
|
|
|
|
|
%files -f files
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
|
# display final hints on initial installation
|
|
|
|
|
( echo "1. To complete this installation of Drupal please start MySQL and"
|
|
|
|
|
echo " initialize the Drupal database like this:"
|
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/openpkg rc mysql start"
|
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/sbin/drupal-setup"
|
|
|
|
|
echo " But remember to configure your MySQL installation first."
|
|
|
|
|
echo " At least set a MySQL administrator password in:"
|
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/mysqladmin -u root password FOO"
|
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/etc/mysql/my.pwd"
|
|
|
|
|
echo ""
|
|
|
|
|
echo "2. By default, Drupal is run by the OpenPKG cron jobs only every"
|
|
|
|
|
echo " 15 minutes. To run Drupal every 5 minutes for more granular"
|
|
|
|
|
echo " data gathering, set this variable:"
|
|
|
|
|
echo " # $RPM_INSTALL_PREFIX/etc/rc.conf:"
|
|
|
|
|
echo " drupal_cron=\"no\""
|
|
|
|
|
echo " and insert a new cronjob for user %{l_rusr}"
|
|
|
|
|
echo " # system crontab:"
|
|
|
|
|
echo " */5 * * * * %{l_rusr} $RPM_INSTALL_PREFIX/sbin/drupal-cron"
|
|
|
|
|
echo ""
|
|
|
|
|
echo "3. By default, Drupal runs its own Apache server on IPv4 address"
|
|
|
|
|
echo " 127.0.0.1, TCP port 80. Please change this by editing the"
|
|
|
|
|
echo " \"Listen 127.0.0.1:80\" directive in"
|
|
|
|
|
echo " $RPM_INSTALL_PREFIX/etc/drupal/drupal-apache.conf"
|
|
|
|
|
echo " Also do not forget to adjust the \$base_url variable in:"
|
|
|
|
|
echo " $RPM_INSTALL_PREFIX/etc/drupal/default/settings.php"
|
|
|
|
|
echo ""
|
|
|
|
|
echo "4. After this postinstallation, start Drupal by running"
|
|
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/bin/openpkg rc drupal start"
|
|
|
|
|
echo " and connect with a browser to:"
|
|
|
|
|
echo " http://127.0.0.1:80/"
|
|
|
|
|
echo " Create an account and login. The first account will"
|
|
|
|
|
echo " automatically become the main administrator account"
|
|
|
|
|
echo " with total control over your Drupal site."
|
|
|
|
|
) | %{l_rpmtool} msg -b -t notice
|
|
|
|
|
fi
|
|
|
|
|
if [ $1 -eq 2 ]; then
|
|
|
|
|
# display final hints on update installation
|
|
|
|
|
( echo "Please perform a Drupal database upgrade by visiting the"
|
|
|
|
|
echo " http://127.0.0.1:80/update.php"
|
|
|
|
|
echo "page on your Drupal website."
|
|
|
|
|
) | %{l_rpmtool} msg -b -t notice
|
|
|
|
|
|
|
|
|
|
# after upgrade, restart service
|
|
|
|
|
eval `%{l_rc} drupal status 2>/dev/null`
|
|
|
|
|
[ ".$drupal_active" = .yes ] && %{l_rc} drupal restart
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
# before erase, stop service and remove log files
|
|
|
|
|
%{l_rc} drupal stop 2>/dev/null
|
|
|
|
|
rm -f $RPM_INSTALL_PREFIX/var/drupal/log/* >/dev/null 2>&1 || true
|
|
|
|
|
rm -f $RPM_INSTALL_PREFIX/var/drupal/run/* >/dev/null 2>&1 || true
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
|