drupal-module-misc/drupal-module-misc.spec

changeset 752
d9020e3c5cc1
parent 747
0b57a67721e7
     1.1 --- a/drupal-module-misc/drupal-module-misc.spec	Sat Oct 27 18:43:28 2012 +0200
     1.2 +++ b/drupal-module-misc/drupal-module-misc.spec	Sat Oct 27 19:16:45 2012 +0200
     1.3 @@ -93,6 +93,7 @@
     1.4  %define       V_module_persistent_login    7.x-1.0-beta1
     1.5  %define       V_module_porterstemmer       7.x-1.0
     1.6  %define       V_module_print               7.x-1.1
     1.7 +%define       V_library_tcpdf              5_9_195
     1.8  %define       V_module_protected_node      7.x-1.x-dev
     1.9  %define       V_module_quotes              7.x-1.x-dev
    1.10  %define       V_module_rdf                 7.x-2.0-alpha1
    1.11 @@ -237,63 +238,64 @@
    1.12  Source65:     ftp://ftp.drupal.org/pub/drupal/files/projects/persistent_login-%{V_module_persistent_login}.tar.gz
    1.13  Source66:     ftp://ftp.drupal.org/pub/drupal/files/projects/porterstemmer-%{V_module_porterstemmer}.tar.gz
    1.14  Source67:     ftp://ftp.drupal.org/pub/drupal/files/projects/print-%{V_module_print}.tar.gz
    1.15 -Source68:     ftp://ftp.drupal.org/pub/drupal/files/projects/protected_node-%{V_module_protected_node}.tar.gz
    1.16 -Source69:     ftp://ftp.drupal.org/pub/drupal/files/projects/quotes-%{V_module_quotes}.tar.gz
    1.17 -Source70:     ftp://ftp.drupal.org/pub/drupal/files/projects/rdf-%{V_module_rdf}.tar.gz
    1.18 -Source71:     ftp://ftp.drupal.org/pub/drupal/files/projects/scheduler-%{V_module_scheduler}.tar.gz
    1.19 -Source72:     ftp://ftp.drupal.org/pub/drupal/files/projects/schema-%{V_module_schema}.tar.gz
    1.20 -Source73:     ftp://ftp.drupal.org/pub/drupal/files/projects/search404-%{V_module_search404}.tar.gz
    1.21 -Source74:     ftp://ftp.drupal.org/pub/drupal/files/projects/services-%{V_module_services}.tar.gz
    1.22 -Source75:     ftp://ftp.drupal.org/pub/drupal/files/projects/shadowbox-%{V_module_shadowbox}.tar.gz
    1.23 -Source76:     ftp://ftp.drupal.org/pub/drupal/files/projects/shoutbox-%{V_module_shoutbox}.tar.gz
    1.24 -Source77:     ftp://ftp.drupal.org/pub/drupal/files/projects/feeds-%{V_module_feeds}.tar.gz
    1.25 -Source78:     ftp://ftp.drupal.org/pub/drupal/files/projects/slideshow_creator-%{V_module_slideshow_creator}.tar.gz
    1.26 -Source79:     ftp://ftp.drupal.org/pub/drupal/files/projects/stringoverrides-%{V_module_stringoverrides}.tar.gz
    1.27 -Source80:     ftp://ftp.drupal.org/pub/drupal/files/projects/subscriptions-%{V_module_subscriptions}.tar.gz
    1.28 -Source81:     ftp://ftp.drupal.org/pub/drupal/files/projects/switchtheme-%{V_module_switchtheme}.tar.gz
    1.29 -Source82:     ftp://ftp.drupal.org/pub/drupal/files/projects/table_altrow-%{V_module_table_altrow}.tar.gz
    1.30 -Source83:     ftp://ftp.drupal.org/pub/drupal/files/projects/tableofcontents-%{V_module_tableofcontents}.tar.gz
    1.31 -Source84:     ftp://ftp.drupal.org/pub/drupal/files/projects/elements-%{V_module_elements}.tar.gz
    1.32 -Source85:     ftp://ftp.drupal.org/pub/drupal/files/projects/tagadelic-%{V_module_tagadelic}.tar.gz
    1.33 -Source86:     ftp://ftp.drupal.org/pub/drupal/files/projects/taxonomy_filter-%{V_module_taxonomy_filter}.tar.gz
    1.34 -Source87:     ftp://ftp.drupal.org/pub/drupal/files/projects/tac_lite-%{V_module_taxonomy_lite}.tar.gz
    1.35 -Source88:     ftp://ftp.drupal.org/pub/drupal/files/projects/taxonomy_manager-%{V_module_taxonomy_manager}.tar.gz
    1.36 -Source89:     ftp://ftp.drupal.org/pub/drupal/files/projects/taxonomy_menu-%{V_module_taxonomy_menu}.tar.gz
    1.37 -Source90:     ftp://ftp.drupal.org/pub/drupal/files/projects/textsize-%{V_module_textsize}.tar.gz
    1.38 -Source91:     ftp://ftp.drupal.org/pub/drupal/files/projects/texy-%{V_module_texy}.tar.gz
    1.39 -Source92:     ftp://ftp.drupal.org/pub/drupal/files/projects/token-%{V_module_token}.tar.gz
    1.40 -Source93:     ftp://ftp.drupal.org/pub/drupal/files/projects/util-%{V_module_util}.tar.gz
    1.41 -Source94:     ftp://ftp.drupal.org/pub/drupal/files/projects/views-%{V_module_views}.tar.gz
    1.42 -Source95:     ftp://ftp.drupal.org/pub/drupal/files/projects/virtual_site-%{V_module_virtual_site}.tar.gz
    1.43 -Source96:     ftp://ftp.drupal.org/pub/drupal/files/projects/vocabindex-%{V_module_vocabindex}.tar.gz
    1.44 -Source97:     ftp://ftp.drupal.org/pub/drupal/files/projects/votingapi-%{V_module_votingapi}.tar.gz
    1.45 -Source98:     ftp://ftp.drupal.org/pub/drupal/files/projects/weather-%{V_module_weather}.tar.gz
    1.46 -Source99:     ftp://ftp.drupal.org/pub/drupal/files/projects/wishlist-%{V_module_wishlist}.tar.gz
    1.47 -Source100:    ftp://ftp.drupal.org/pub/drupal/files/projects/wysiwyg-%{V_module_wysiwyg}.tar.gz
    1.48 -Source101:    ftp://ftp.drupal.org/pub/drupal/files/projects/wysiwyg_filter-%{V_module_wysiwyg_filter}.tar.gz
    1.49 -Source102:    ftp://ftp.drupal.org/pub/drupal/files/projects/xmlsitemap-%{V_module_xmlsitemap}.tar.gz
    1.50 -Source103:    ftp://ftp.drupal.org/pub/drupal/files/projects/mobile_codes-%{V_mobilecodes}.tar.gz
    1.51 -Source104:    ftp://ftp.drupal.org/pub/drupal/files/projects/openidadmin-%{V_openidadmin}.tar.gz
    1.52 -Source105:    ftp://ftp.drupal.org/pub/drupal/files/projects/rpx-%{V_janrainrpx}.tar.gz
    1.53 -Source106:    ftp://ftp.drupal.org/pub/drupal/files/projects/janrain_capture-%{V_janraincapture}.tar.gz
    1.54 -Source107:    ftp://ftp.drupal.org/pub/drupal/files/projects/xrds_simple-%{V_xrdssimple}.tar.gz
    1.55 -Source108:    ftp://ftp.drupal.org/pub/drupal/files/projects/openid_provider-%{V_openidprovider}.tar.gz
    1.56 -Source109:    ftp://ftp.drupal.org/pub/drupal/files/projects/openidurl-%{V_openidurl}.tar.gz
    1.57 -Source110:    ftp://ftp.drupal.org/pub/drupal/files/projects/social-login-%{V_sociallogin}.tar.gz
    1.58 -Source111:    ftp://ftp.drupal.org/pub/drupal/files/projects/ctools-%{V_ctools}.tar.gz
    1.59 -Source112:    ftp://ftp.drupal.org/pub/drupal/files/projects/libraries-%{V_libraries}.tar.gz
    1.60 -Source113:    ftp://ftp.drupal.org/pub/drupal/files/projects/rules-%{V_rules}.tar.gz
    1.61 -Source114:    ftp://ftp.drupal.org/pub/drupal/files/projects/colorbox-%{V_colorbox}.tar.gz
    1.62 -Source115:    ftp://ftp.drupal.org/pub/drupal/files/projects/yubikey-%{V_yubikey}.tar.gz
    1.63 -Source116:    ftp://ftp.drupal.org/pub/drupal/files/projects/addressfield-%{V_addressfield}.tar.gz
    1.64 -Source117:    ftp://ftp.drupal.org/pub/drupal/files/projects/entity-%{V_entity}.tar.gz
    1.65 -Source118:    ftp://ftp.drupal.org/pub/drupal/files/projects/commerce-%{V_commerce}.tar.gz
    1.66 -Source119:    ftp://ftp.drupal.org/pub/drupal/files/projects/ubercart-%{V_uebercart}.tar.gz
    1.67 -Source120:    ftp://ftp.drupal.org/pub/drupal/files/projects/variable-%{V_variable}.tar.gz
    1.68 -Source121:    ftp://ftp.drupal.org/pub/drupal/files/projects/html5_media-%{V_html5media}.tar.gz
    1.69 -Source122:    ftp://ftp.drupal.org/pub/drupal/files/projects/recipe-%{V_recipe}.tar.gz
    1.70 -Source123:    ftp://ftp.drupal.org/pub/drupal/files/projects/wishlist-%{V_wishlist}.tar.gz
    1.71 -Source124:    ftp://ftp.drupal.org/pub/drupal/files/projects/realname-%{V_realname}.tar.gz
    1.72 +Source68:     http://switch.dl.sourceforge.net/tcpdf/tcpdf_%{V_library_tcpdf}.zip
    1.73 +Source69:     ftp://ftp.drupal.org/pub/drupal/files/projects/protected_node-%{V_module_protected_node}.tar.gz
    1.74 +Source70:     ftp://ftp.drupal.org/pub/drupal/files/projects/quotes-%{V_module_quotes}.tar.gz
    1.75 +Source71:     ftp://ftp.drupal.org/pub/drupal/files/projects/rdf-%{V_module_rdf}.tar.gz
    1.76 +Source72:     ftp://ftp.drupal.org/pub/drupal/files/projects/scheduler-%{V_module_scheduler}.tar.gz
    1.77 +Source73:     ftp://ftp.drupal.org/pub/drupal/files/projects/schema-%{V_module_schema}.tar.gz
    1.78 +Source74:     ftp://ftp.drupal.org/pub/drupal/files/projects/search404-%{V_module_search404}.tar.gz
    1.79 +Source75:     ftp://ftp.drupal.org/pub/drupal/files/projects/services-%{V_module_services}.tar.gz
    1.80 +Source76:     ftp://ftp.drupal.org/pub/drupal/files/projects/shadowbox-%{V_module_shadowbox}.tar.gz
    1.81 +Source77:     ftp://ftp.drupal.org/pub/drupal/files/projects/shoutbox-%{V_module_shoutbox}.tar.gz
    1.82 +Source78:     ftp://ftp.drupal.org/pub/drupal/files/projects/feeds-%{V_module_feeds}.tar.gz
    1.83 +Source79:     ftp://ftp.drupal.org/pub/drupal/files/projects/slideshow_creator-%{V_module_slideshow_creator}.tar.gz
    1.84 +Source80:     ftp://ftp.drupal.org/pub/drupal/files/projects/stringoverrides-%{V_module_stringoverrides}.tar.gz
    1.85 +Source81:     ftp://ftp.drupal.org/pub/drupal/files/projects/subscriptions-%{V_module_subscriptions}.tar.gz
    1.86 +Source82:     ftp://ftp.drupal.org/pub/drupal/files/projects/switchtheme-%{V_module_switchtheme}.tar.gz
    1.87 +Source83:     ftp://ftp.drupal.org/pub/drupal/files/projects/table_altrow-%{V_module_table_altrow}.tar.gz
    1.88 +Source84:     ftp://ftp.drupal.org/pub/drupal/files/projects/tableofcontents-%{V_module_tableofcontents}.tar.gz
    1.89 +Source85:     ftp://ftp.drupal.org/pub/drupal/files/projects/elements-%{V_module_elements}.tar.gz
    1.90 +Source86:     ftp://ftp.drupal.org/pub/drupal/files/projects/tagadelic-%{V_module_tagadelic}.tar.gz
    1.91 +Source87:     ftp://ftp.drupal.org/pub/drupal/files/projects/taxonomy_filter-%{V_module_taxonomy_filter}.tar.gz
    1.92 +Source88:     ftp://ftp.drupal.org/pub/drupal/files/projects/tac_lite-%{V_module_taxonomy_lite}.tar.gz
    1.93 +Source89:     ftp://ftp.drupal.org/pub/drupal/files/projects/taxonomy_manager-%{V_module_taxonomy_manager}.tar.gz
    1.94 +Source90:     ftp://ftp.drupal.org/pub/drupal/files/projects/taxonomy_menu-%{V_module_taxonomy_menu}.tar.gz
    1.95 +Source91:     ftp://ftp.drupal.org/pub/drupal/files/projects/textsize-%{V_module_textsize}.tar.gz
    1.96 +Source92:     ftp://ftp.drupal.org/pub/drupal/files/projects/texy-%{V_module_texy}.tar.gz
    1.97 +Source93:     ftp://ftp.drupal.org/pub/drupal/files/projects/token-%{V_module_token}.tar.gz
    1.98 +Source94:     ftp://ftp.drupal.org/pub/drupal/files/projects/util-%{V_module_util}.tar.gz
    1.99 +Source95:     ftp://ftp.drupal.org/pub/drupal/files/projects/views-%{V_module_views}.tar.gz
   1.100 +Source96:     ftp://ftp.drupal.org/pub/drupal/files/projects/virtual_site-%{V_module_virtual_site}.tar.gz
   1.101 +Source97:     ftp://ftp.drupal.org/pub/drupal/files/projects/vocabindex-%{V_module_vocabindex}.tar.gz
   1.102 +Source98:     ftp://ftp.drupal.org/pub/drupal/files/projects/votingapi-%{V_module_votingapi}.tar.gz
   1.103 +Source99:     ftp://ftp.drupal.org/pub/drupal/files/projects/weather-%{V_module_weather}.tar.gz
   1.104 +Source100:    ftp://ftp.drupal.org/pub/drupal/files/projects/wishlist-%{V_module_wishlist}.tar.gz
   1.105 +Source101:    ftp://ftp.drupal.org/pub/drupal/files/projects/wysiwyg-%{V_module_wysiwyg}.tar.gz
   1.106 +Source102:    ftp://ftp.drupal.org/pub/drupal/files/projects/wysiwyg_filter-%{V_module_wysiwyg_filter}.tar.gz
   1.107 +Source103:    ftp://ftp.drupal.org/pub/drupal/files/projects/xmlsitemap-%{V_module_xmlsitemap}.tar.gz
   1.108 +Source104:    ftp://ftp.drupal.org/pub/drupal/files/projects/mobile_codes-%{V_mobilecodes}.tar.gz
   1.109 +Source105:    ftp://ftp.drupal.org/pub/drupal/files/projects/openidadmin-%{V_openidadmin}.tar.gz
   1.110 +Source106:    ftp://ftp.drupal.org/pub/drupal/files/projects/rpx-%{V_janrainrpx}.tar.gz
   1.111 +Source107:    ftp://ftp.drupal.org/pub/drupal/files/projects/janrain_capture-%{V_janraincapture}.tar.gz
   1.112 +Source108:    ftp://ftp.drupal.org/pub/drupal/files/projects/xrds_simple-%{V_xrdssimple}.tar.gz
   1.113 +Source109:    ftp://ftp.drupal.org/pub/drupal/files/projects/openid_provider-%{V_openidprovider}.tar.gz
   1.114 +Source110:    ftp://ftp.drupal.org/pub/drupal/files/projects/openidurl-%{V_openidurl}.tar.gz
   1.115 +Source111:    ftp://ftp.drupal.org/pub/drupal/files/projects/social-login-%{V_sociallogin}.tar.gz
   1.116 +Source112:    ftp://ftp.drupal.org/pub/drupal/files/projects/ctools-%{V_ctools}.tar.gz
   1.117 +Source113:    ftp://ftp.drupal.org/pub/drupal/files/projects/libraries-%{V_libraries}.tar.gz
   1.118 +Source114:    ftp://ftp.drupal.org/pub/drupal/files/projects/rules-%{V_rules}.tar.gz
   1.119 +Source115:    ftp://ftp.drupal.org/pub/drupal/files/projects/colorbox-%{V_colorbox}.tar.gz
   1.120 +Source116:    ftp://ftp.drupal.org/pub/drupal/files/projects/yubikey-%{V_yubikey}.tar.gz
   1.121 +Source117:    ftp://ftp.drupal.org/pub/drupal/files/projects/addressfield-%{V_addressfield}.tar.gz
   1.122 +Source118:    ftp://ftp.drupal.org/pub/drupal/files/projects/entity-%{V_entity}.tar.gz
   1.123 +Source119:    ftp://ftp.drupal.org/pub/drupal/files/projects/commerce-%{V_commerce}.tar.gz
   1.124 +Source120:    ftp://ftp.drupal.org/pub/drupal/files/projects/ubercart-%{V_uebercart}.tar.gz
   1.125 +Source121:    ftp://ftp.drupal.org/pub/drupal/files/projects/variable-%{V_variable}.tar.gz
   1.126 +Source122:    ftp://ftp.drupal.org/pub/drupal/files/projects/html5_media-%{V_html5media}.tar.gz
   1.127 +Source123:    ftp://ftp.drupal.org/pub/drupal/files/projects/recipe-%{V_recipe}.tar.gz
   1.128 +Source124:    ftp://ftp.drupal.org/pub/drupal/files/projects/wishlist-%{V_wishlist}.tar.gz
   1.129 +Source125:    ftp://ftp.drupal.org/pub/drupal/files/projects/realname-%{V_realname}.tar.gz
   1.130  Source300:    http://switch.dl.sourceforge.net/geshi/GeSHi-%{V_aux_geshi}.tar.gz
   1.131  Source301:    http://switch.dl.sourceforge.net/tinymce/tinymce_%{V_aux_tinymce}.zip
   1.132  Patch0:       drupal-module-misc.patch
   1.133 @@ -651,6 +653,11 @@
   1.134          url       = ftp://ftp.drupal.org/pub/drupal/files/projects/
   1.135          regex     = >print-(7\.x-\d+(?:\.\d+)+)\.tar\.gz
   1.136      }
   1.137 +    prog drupal-module-misc:library_tcpdf = {
   1.138 +        version   = %{V_library_tcpdf}
   1.139 +        url       = http://switch.dl.sourceforge.net/tcpdf/
   1.140 +        regex     = >tcpdf_(\d+_\d+_(?:\.\d+)+)\.zip
   1.141 +    }
   1.142      prog drupal-module-misc:module_protected_node = {
   1.143          version   = %{V_module_protected_node}
   1.144          url       = ftp://ftp.drupal.org/pub/drupal/files/projects/
   1.145 @@ -1025,7 +1032,6 @@
   1.146        %{l_tar} xfz %{SOURCE65}
   1.147        %{l_tar} xfz %{SOURCE66}
   1.148        %{l_tar} xfz %{SOURCE67}
   1.149 -      %{l_tar} xfz %{SOURCE68}
   1.150        %{l_tar} xfz %{SOURCE69}
   1.151        %{l_tar} xfz %{SOURCE70}
   1.152        %{l_tar} xfz %{SOURCE71}
   1.153 @@ -1082,6 +1088,10 @@
   1.154        %{l_tar} xfz %{SOURCE122}
   1.155        %{l_tar} xfz %{SOURCE123}
   1.156        %{l_tar} xfz %{SOURCE124}
   1.157 +      %{l_tar} xfz %{SOURCE125}
   1.158 +    ) || exit $?
   1.159 +    ( cd sites/all/modules/print/print_pdf || exit $?
   1.160 +      %{l_prefix}/bin/unzip -q -x %{SOURCE68}
   1.161      ) || exit $?
   1.162  
   1.163      #   install additional third party files

mercurial