perl-xml.spec 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  1. ##
  2. ## perl-xml.spec -- OpenPKG RPM Package Specification
  3. ## Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/>
  4. ##
  5. ## Permission to use, copy, modify, and distribute this software for
  6. ## any purpose with or without fee is hereby granted, provided that
  7. ## the above copyright notice and this permission notice appear in all
  8. ## copies.
  9. ##
  10. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  11. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  12. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  13. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  14. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  15. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  16. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  17. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  18. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  19. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  20. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  21. ## SUCH DAMAGE.
  22. ##
  23. # versions of individual parts
  24. %define V_perl 5.14
  25. %define V_html_parser 3.68
  26. %define V_html_simpleparse 0.12
  27. %define V_html_table 2.08
  28. %define V_html_tagreader 1.10
  29. %define V_html_tagset 3.20
  30. %define V_html_tree 4.2
  31. %define V_html_treebuilder_xpath 0.14
  32. %define V_html_treebuilder_select 0.111
  33. %define V_html_template 2.9
  34. %define V_html_template_extension 0.26
  35. %define V_html_email_obfuscate 1.00
  36. %define V_html_prototype 1.48
  37. %define V_html_prototype_useful 0.05
  38. %define V_html_selector_xpath 0.07
  39. %define V_html_element_extended 1.18
  40. %define V_html_tableextract 2.11
  41. %define V_css 1.09
  42. %define V_css_tiny 1.19
  43. %define V_xml_dom 1.44
  44. %define V_xml_dom_lite 0.15
  45. %define V_xml_dtdparser 2.01
  46. %define V_xml_easyobj 1.12
  47. %define V_xml_filter_buffertext 1.01
  48. %define V_xml_gdome 0.86
  49. %define V_xml_libxml 1.70
  50. %define V_xml_libxml_common 0.13
  51. %define V_xml_libxml_iterator 1.04
  52. %define V_xml_libxml_perl 0.08
  53. %define V_xml_libxml_xpathcontext 0.07
  54. %define V_xml_libxslt 1.70
  55. %define V_xml_namespacesupport 1.11
  56. %define V_xml_nodefilter 0.01
  57. %define V_xml_parser 2.40
  58. %define V_xml_quote 1.02
  59. %define V_xml_regexp 0.03
  60. %define V_xml_rss 1.49
  61. %define V_xml_sablotron 1.01
  62. %define V_xml_sax 0.99
  63. %define V_xml_sax_base 1.04
  64. %define V_xml_sax_expat 0.40
  65. %define V_xml_sax_writer 0.53
  66. %define V_xml_simple 2.18
  67. %define V_xml_simpleobject_libxml 0.60
  68. %define V_xml_twig 3.39
  69. %define V_xml_writer 0.612
  70. %define V_xml_writer_string 0.1
  71. %define V_xml_xpath 1.13
  72. %define V_xml_xpath_simple 0.05
  73. %define V_xml_xpathengine 0.12
  74. %define V_xml_xsh2 2.1.3
  75. %define V_xml_xslt 0.50_2
  76. %define V_xml_xupdate_libxml 0.6.0
  77. %define V_xml_dumper 0.81
  78. %define V_xml_mini 1.38
  79. %define V_xml_smart 1.6.9
  80. %define V_xml_stream 1.23_06
  81. %define V_xml_dt 0.56
  82. %define V_svg 2.50
  83. %define V_xml_elemental 2.11
  84. %define V_xml_rss_parser 4.0
  85. %define V_xml_rai 1.301
  86. %define V_xml_atom 0.37
  87. %define V_xml_atom_filter 0.07
  88. %define V_xml_atom_syndication 0.942
  89. %define V_xml_rss_fromatom 0.02
  90. # package information
  91. Name: perl-xml
  92. Summary: Perl Modules for use with XML
  93. URL: http://www.cpan.org/
  94. Vendor: Perl Community
  95. Packager: OpenPKG Foundation e.V.
  96. Distribution: OpenPKG Community
  97. Class: BASE
  98. Group: Perl
  99. License: GPL/Artistic
  100. Version: %{V_perl}
  101. Release: 20110924
  102. # package options
  103. %option with_libxml no
  104. %option with_libxslt no
  105. %option with_libgdome no
  106. %option with_sablotron no
  107. # package option dependencies
  108. %if "%{with_libxslt}" == "yes"
  109. %undefine with_libxml
  110. %define with_libxml yes
  111. %endif
  112. %if "%{with_libgdome}" == "yes"
  113. %undefine with_libxml
  114. %define with_libxml yes
  115. %endif
  116. # list of sources
  117. Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/XML-Parser-%{V_xml_parser}.tar.gz
  118. Source1: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-%{V_xml_regexp}.tar.gz
  119. Source2: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-%{V_xml_simple}.tar.gz
  120. Source3: http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-%{V_xml_namespacesupport}.tar.gz
  121. Source4: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-%{V_xml_sax}.tar.gz
  122. Source5: http://www.cpan.org/authors/id/K/KH/KHAMPTON/XML-SAX-Base-%{V_xml_sax_base}.tar.gz
  123. Source6: http://www.cpan.org/authors/id/B/BJ/BJOERN/XML-SAX-Expat-%{V_xml_sax_expat}.tar.gz
  124. Source7: http://www.cpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-%{V_xml_libxml_perl}.tar.gz
  125. Source8: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-DOM-%{V_xml_dom}.tar.gz
  126. Source9: http://www.cpan.org/authors/id/J/JS/JSTOWE/XML-XSLT-%{V_xml_xslt}.tar.gz
  127. Source10: http://www.cpan.org/authors/id/M/MI/MIROD/XML-Twig-%{V_xml_twig}.tar.gz
  128. Source11: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-%{V_xml_xpath}.tar.gz
  129. Source12: http://www.cpan.org/authors/id/W/WH/WHYTEWOLF/XML-XPath-Simple-%{V_xml_xpath_simple}.tar.gz
  130. Source13: http://www.cpan.org/authors/id/R/RH/RHANSON/XML-EasyOBJ-%{V_xml_easyobj}.tar.gz
  131. Source14: http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-RSS-%{V_xml_rss}.tar.gz
  132. Source15: http://www.cpan.org/authors/id/J/JE/JENDA/XML-DTDParser-%{V_xml_dtdparser}.tar.gz
  133. Source16: http://www.cpan.org/authors/id/G/GD/GDSL/XML-Quote-%{V_xml_quote}.tar.gz
  134. Source17: http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-%{V_xml_writer}.tar.gz
  135. Source18: http://www.cpan.org/authors/id/S/SO/SOLIVER/XML-Writer-String-%{V_xml_writer_string}.tar.gz
  136. Source19: http://www.cpan.org/authors/id/P/PH/PHISH/XML-NodeFilter-%{V_xml_nodefilter}.tar.gz
  137. Source20: http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-%{V_html_tagset}.tar.gz
  138. Source21: http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-%{V_html_parser}.tar.gz
  139. Source22: http://www.cpan.org/authors/id/J/JF/JFEARN/HTML-Tree-%{V_html_tree}.tar.gz
  140. Source23: http://www.cpan.org/modules/by-module/HTML/HTML-Table-%{V_html_table}.tar.gz
  141. Source24: http://www.cpan.org/authors/id/G/GU/GUS/HTML-TagReader-%{V_html_tagreader}.tar.gz
  142. Source25: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/HTML-SimpleParse-%{V_html_simpleparse}.tar.gz
  143. Source26: http://www.cpan.org/modules/by-module/XML/XML-LibXML-Common-%{V_xml_libxml_common}.tar.gz
  144. Source27: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-%{V_xml_libxml}.tar.gz
  145. Source28: http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Iterator-%{V_xml_libxml_iterator}.tar.gz
  146. Source29: http://www.cpan.org/modules/by-module/XML/XML-LibXML-XPathContext-%{V_xml_libxml_xpathcontext}.tar.gz
  147. Source30: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-XUpdate-LibXML-%{V_xml_xupdate_libxml}.tar.gz
  148. Source31: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXSLT-%{V_xml_libxslt}.tar.gz
  149. Source32: http://www.cpan.org/authors/id/P/PA/PAJAS/XML-XSH2-%{V_xml_xsh2}.tar.gz
  150. Source33: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-GDOME-%{V_xml_gdome}.tar.gz
  151. Source34: http://www.cpan.org/authors/id/M/MI/MIKEWONG/XML-Dumper-%{V_xml_dumper}.tar.gz
  152. Source35: http://www.cpan.org/authors/id/P/PD/PDEEGAN/XML-Mini-%{V_xml_mini}.tar.gz
  153. Source36: http://www.cpan.org/authors/id/G/GM/GMPASSOS/XML-Smart-%{V_xml_smart}.tar.gz
  154. Source37: http://www.cpan.org/authors/id/I/IA/IAMCAL/CSS-%{V_css}.tar.gz
  155. Source38: http://www.cpan.org/authors/id/A/AD/ADAMK/CSS-Tiny-%{V_css_tiny}.tar.gz
  156. Source39: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-%{V_html_template}.tar.gz
  157. Source40: http://www.cpan.org/authors/id/E/EB/EBRUNI/HTML-Template-Extension-%{V_html_template_extension}.tar.gz
  158. Source41: http://www.cpan.org/authors/id/A/AD/ADAMK/HTML-Email-Obfuscate-%{V_html_email_obfuscate}.tar.gz
  159. Source42: http://www.cpan.org/authors/id/D/DA/DAPATRICK/XML-Stream-%{V_xml_stream}.tar.gz
  160. Source43: http://www.cpan.org/modules/by-module/XML/XML-DT-%{V_xml_dt}.tar.gz
  161. Source44: http://www.cpan.org/authors/id/R/RO/RONAN/SVG-%{V_svg}.tar.gz
  162. Source45: http://www.cpan.org/authors/id/E/ES/ESSKAR/HTML-Prototype-%{V_html_prototype}.tar.gz
  163. Source46: http://www.cpan.org/authors/id/M/MR/MRAMBERG/HTML-Prototype-Useful-%{V_html_prototype_useful}.tar.gz
  164. Source47: http://www.cpan.org/authors/id/R/RH/RHUNDT/XML-DOM-Lite-%{V_xml_dom_lite}.tar.gz
  165. Source48: http://www.cpan.org/authors/id/M/MI/MIROD/XML-XPathEngine-%{V_xml_xpathengine}.tar.gz
  166. Source49: http://www.cpan.org/authors/id/T/TI/TIMA/XML-Elemental-%{V_xml_elemental}.tar.gz
  167. Source50: http://www.cpan.org/authors/id/T/TI/TIMA/XML-RSS-Parser-%{V_xml_rss_parser}.tar.gz
  168. Source51: http://www.cpan.org/authors/id/T/TI/TIMA/XML-RAI-%{V_xml_rai}.tar.gz
  169. Source52: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/XML-Atom-%{V_xml_atom}.tar.gz
  170. Source53: http://www.cpan.org/authors/id/M/MA/MARKPASC/XML-Atom-Filter-%{V_xml_atom_filter}.tar.gz
  171. Source54: http://www.cpan.org/authors/id/T/TI/TIMA/XML-Atom-Syndication-%{V_xml_atom_syndication}.tar.gz
  172. Source55: http://www.cpan.org/authors/id/M/MA/MARCUS/XML-RSS-FromAtom-%{V_xml_rss_fromatom}.tar.gz
  173. Source56: http://www.cpan.org/authors/id/D/DB/DBRIAN/XML-SimpleObject-LibXML-%{V_xml_simpleobject_libxml}.tar.gz
  174. Source57: http://www.cpan.org/authors/id/P/PA/PAVELH/XML-Sablotron-%{V_xml_sablotron}.tar.gz
  175. Source58: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/HTML-Selector-XPath-%{V_html_selector_xpath}.tar.gz
  176. Source59: http://www.cpan.org/authors/id/M/MI/MIROD/HTML-TreeBuilder-XPath-%{V_html_treebuilder_xpath}.tar.gz
  177. Source60: http://www.cpan.org/authors/id/R/RK/RKRIMEN/HTML-TreeBuilder-Select-%{V_html_treebuilder_select}.tar.gz
  178. Source61: http://www.cpan.org/authors/id/M/MS/MSISK/HTML-Element-Extended-%{V_html_element_extended}.tar.gz
  179. Source62: http://www.cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-%{V_html_tableextract}.tar.gz
  180. Source63: http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-%{V_xml_sax_writer}.tar.gz
  181. Source64: http://www.cpan.org/authors/id/R/RB/RBERJON/XML-Filter-BufferText-%{V_xml_filter_buffertext}.tar.gz
  182. Patch0: perl-xml.patch
  183. # build information
  184. BuildPreReq: OpenPKG, openpkg >= 20100101, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
  185. PreReq: OpenPKG, openpkg >= 20100101, perl >= %{V_perl}
  186. BuildPreReq: perl-util >= %{V_perl}-20031202, perl-parse, perl-time
  187. PreReq: perl-util >= %{V_perl}-20031202, perl-parse, perl-time
  188. BuildPreReq: expat
  189. PreReq: expat
  190. %if "%{with_libxml}" == "yes"
  191. BuildPreReq: libxml
  192. PreReq: libxml
  193. %endif
  194. %if "%{with_libxslt}" == "yes"
  195. BuildPreReq: libxslt
  196. PreReq: libxslt
  197. %endif
  198. %if "%{with_libgdome}" == "yes"
  199. BuildPreReq: libgdome
  200. PreReq: libgdome
  201. %endif
  202. %if "%{with_sablotron}" == "yes"
  203. BuildPreReq: sablotron
  204. PreReq: sablotron
  205. %endif
  206. %description
  207. Perl modules for use with XML:
  208. - XML::Parser (%{V_xml_parser})
  209. - XML::NodeFilter (%{V_xml_nodefilter})
  210. %if "%{with_libxml}" == "yes"
  211. - libxml (%{V_xml_libxml_perl})
  212. - XML::LibXML::Common (%{V_xml_libxml_common})
  213. - XML::LibXML (%{V_xml_libxml})
  214. - XML::LibXML::Iterator (%{V_xml_libxml_iterator})
  215. - XML::LibXML::XPathContext (%{V_xml_libxml_xpathcontext})
  216. - XML::XUpdate::LibXML (%{V_xml_xupdate_libxml})
  217. - XML::SimpleObject::LibXML (%{V_xml_simpleobject_libxml})
  218. %endif
  219. %if "%{with_libxslt}" == "yes"
  220. - XML::LibXSLT (%{V_xml_libxslt})
  221. - XML::XSH2 (%{V_xml_xsh2})
  222. %endif
  223. %if "%{with_libgdome}" == "yes"
  224. - XML::GDOME (%{V_xml_gdome})
  225. %endif
  226. - XML::RegExp (%{V_xml_regexp})
  227. - XML::DOM (%{V_xml_dom})
  228. - XML::DOM::Lite (%{V_xml_dom_lite})
  229. - XML::Simple (%{V_xml_simple})
  230. - XML::NamespaceSupport (%{V_xml_namespacesupport})
  231. %if "%{with_sablotron}" == "yes"
  232. - XML::Sablotron (%{V_xml_sablotron})
  233. %endif
  234. - XML::SAX (%{V_xml_sax})
  235. - XML::SAX::Base (%{V_xml_sax_base})
  236. - XML::SAX::Expat (%{V_xml_sax_expat})
  237. - XML::SAX::Writer (%{V_xml_sax_writer})
  238. - XML::XSLT (%{V_xml_xslt})
  239. - XML::Twig (%{V_xml_twig})
  240. - XML::XPath (%{V_xml_xpath})
  241. - XML::XPath::Simple (%{V_xml_xpath_simple})
  242. - XML::XPathEngine (%{V_xml_xpathengine})
  243. - XML::EasyOBJ (%{V_xml_easyobj})
  244. - XML::RSS (%{V_xml_rss})
  245. - XML::DTDParser (%{V_xml_dtdparser})
  246. - XML::Quote (%{V_xml_quote})
  247. - XML::Writer (%{V_xml_writer})
  248. - XML::Writer::String (%{V_xml_writer_string})
  249. - XML::Dumper (%{V_xml_dumper})
  250. - XML::Mini (%{V_xml_mini})
  251. - XML::Smart (%{V_xml_smart})
  252. - XML::Stream (%{V_xml_stream})
  253. - XML::DT (%{V_xml_dt})
  254. - XML::Filter::BufferText (%{V_xml_filter_buffertext})
  255. - HTML::Tagset (%{V_html_tagset})
  256. - HTML::Parser (%{V_html_parser})
  257. - HTML::Tree (%{V_html_tree})
  258. - HTML::Table (%{V_html_table})
  259. - HTML::TagReader (%{V_html_tagreader})
  260. - HTML::SimpleParse (%{V_html_simpleparse})
  261. - HTML::Template (%{V_html_template})
  262. - HTML::Template::Extension (%{V_html_template_extension})
  263. - HTML::Email::Obfuscate (%{V_html_email_obfuscate})
  264. - HTML::Prototype (%{V_html_prototype})
  265. - HTML::Prototype::Useful (%{V_html_prototype_useful})
  266. - HTML::Selector::XPath (%{V_html_selector_xpath})
  267. - HTML::TreeBuilder::XPath (%{V_html_treebuilder_xpath})
  268. - HTML::TreeBuilder::Select (%{V_html_treebuilder_select})
  269. - HTML::Element::Extended (%{V_html_element_extended})
  270. - HTML::TableExtract (%{V_html_tableextract})
  271. - CSS (%{V_css})
  272. - CSS::Tiny (%{V_css_tiny})
  273. - SVG (%{V_svg})
  274. %track
  275. prog perl-xml:HTML-Parser = {
  276. version = %{V_html_parser}
  277. url = http://www.cpan.org/authors/id/G/GA/GAAS/
  278. regex = HTML-Parser-(__VER__)\.tar\.gz
  279. }
  280. prog perl-xml:HTML-SimpleParse = {
  281. version = %{V_html_simpleparse}
  282. url = http://www.cpan.org/authors/id/K/KW/KWILLIAMS/
  283. regex = HTML-SimpleParse-(__VER__)\.tar\.gz
  284. }
  285. prog perl-xml:HTML-Table = {
  286. version = %{V_html_table}
  287. url = http://www.cpan.org/modules/by-module/HTML/
  288. regex = HTML-Table-(\d+\.\d+)\.tar\.gz
  289. }
  290. prog perl-xml:HTML-TagReader = {
  291. version = %{V_html_tagreader}
  292. url = http://www.cpan.org/authors/id/G/GU/GUS/
  293. regex = HTML-TagReader-(__VER__)\.tar\.gz
  294. }
  295. prog perl-xml:HTML-Tagset = {
  296. version = %{V_html_tagset}
  297. url = http://www.cpan.org/authors/id/P/PE/PETDANCE/
  298. regex = HTML-Tagset-(__VER__)\.tar\.gz
  299. }
  300. prog perl-xml:HTML-Tree = {
  301. version = %{V_html_tree}
  302. url = http://www.cpan.org/authors/id/J/JF/JFEARN/
  303. regex = HTML-Tree-(__VER__)\.tar\.gz
  304. }
  305. prog perl-xml:HTML-Template = {
  306. version = %{V_html_template}
  307. url = http://www.cpan.org/authors/id/S/SA/SAMTREGAR/
  308. regex = HTML-Template-(__VER__)\.tar\.gz
  309. }
  310. prog perl-xml:HTML-Template-Extension = {
  311. version = %{V_html_template_extension}
  312. url = http://www.cpan.org/authors/id/E/EB/EBRUNI/
  313. regex = HTML-Template-Extension-(__VER__)\.tar\.gz
  314. }
  315. prog perl-xml:HTML-Email-Obfuscate = {
  316. version = %{V_html_email_obfuscate}
  317. url = http://www.cpan.org/authors/id/A/AD/ADAMK/
  318. regex = HTML-Email-Obfuscate-(__VER__)\.tar\.gz
  319. }
  320. prog perl-xml:libxml-perl = {
  321. version = %{V_xml_libxml_perl}
  322. url = http://www.cpan.org/authors/id/K/KM/KMACLEOD/
  323. regex = libxml-perl-(__VER__)\.tar\.gz
  324. }
  325. prog perl-xml:XML-DOM = {
  326. version = %{V_xml_dom}
  327. url = http://www.cpan.org/authors/id/T/TJ/TJMATHER/
  328. regex = XML-DOM-(__VER__)\.tar\.gz
  329. }
  330. prog perl-xml:XML-DOM-Lite = {
  331. version = %{V_xml_dom_lite}
  332. url = http://www.cpan.org/authors/id/R/RH/RHUNDT/
  333. regex = XML-DOM-Lite-(__VER__)\.tar\.gz
  334. }
  335. prog perl-xml:XML-DTDParser = {
  336. version = %{V_xml_dtdparser}
  337. url = http://www.cpan.org/authors/id/J/JE/JENDA/
  338. regex = XML-DTDParser-(__VER__)\.tar\.gz
  339. }
  340. prog perl-xml:XML-EasyOBJ = {
  341. version = %{V_xml_easyobj}
  342. url = http://www.cpan.org/authors/id/R/RH/RHANSON/
  343. regex = XML-EasyOBJ-(__VER__)\.tar\.gz
  344. }
  345. prog perl-xml:XML-GDOME = {
  346. version = %{V_xml_gdome}
  347. url = http://www.cpan.org/authors/id/T/TJ/TJMATHER/
  348. regex = XML-GDOME-(__VER__)\.tar\.gz
  349. }
  350. prog perl-xml:XML-LibXML = {
  351. version = %{V_xml_libxml}
  352. url = http://www.cpan.org/authors/id/P/PA/PAJAS/
  353. regex = XML-LibXML-(\d+\.\d\d)\.tar\.gz
  354. }
  355. prog perl-xml:XML-LibXML-Common = {
  356. version = %{V_xml_libxml_common}
  357. url = http://www.cpan.org/modules/by-module/XML/
  358. regex = XML-LibXML-Common-(__VER__)\.tar\.gz
  359. }
  360. prog perl-xml:XML-LibXML-Iterator = {
  361. version = %{V_xml_libxml_iterator}
  362. url = http://www.cpan.org/authors/id/P/PH/PHISH/
  363. regex = XML-LibXML-Iterator-(__VER__)\.tar\.gz
  364. }
  365. prog perl-xml:XML-LibXML-XPathContext = {
  366. version = %{V_xml_libxml_xpathcontext}
  367. url = http://www.cpan.org/modules/by-module/XML/
  368. regex = XML-LibXML-XPathContext-(__VER__)\.tar\.gz
  369. }
  370. prog perl-xml:XML-LibXSLT = {
  371. version = %{V_xml_libxslt}
  372. url = http://www.cpan.org/authors/id/P/PA/PAJAS/
  373. regex = XML-LibXSLT-(__VER__)\.tar\.gz
  374. }
  375. prog perl-xml:XML-NamespaceSupport = {
  376. version = %{V_xml_namespacesupport}
  377. url = http://www.cpan.org/authors/id/P/PE/PERIGRIN/
  378. regex = XML-NamespaceSupport-(__VER__)\.tar\.gz
  379. }
  380. prog perl-xml:XML-NodeFilter = {
  381. version = %{V_xml_nodefilter}
  382. url = http://www.cpan.org/authors/id/P/PH/PHISH/
  383. regex = XML-NodeFilter-(__VER__)\.tar\.gz
  384. }
  385. prog perl-xml:XML-Parser = {
  386. version = %{V_xml_parser}
  387. url = http://www.cpan.org/authors/id/C/CH/CHORNY/
  388. regex = XML-Parser-(__VER__)\.tar\.gz
  389. }
  390. prog perl-xml:XML-Quote = {
  391. version = %{V_xml_quote}
  392. url = http://www.cpan.org/authors/id/G/GD/GDSL/
  393. regex = XML-Quote-(__VER__)\.tar\.gz
  394. }
  395. prog perl-xml:XML-RegExp = {
  396. version = %{V_xml_regexp}
  397. url = http://www.cpan.org/authors/id/T/TJ/TJMATHER/
  398. regex = XML-RegExp-(__VER__)\.tar\.gz
  399. }
  400. prog perl-xml:XML-RSS = {
  401. version = %{V_xml_rss}
  402. url = http://www.cpan.org/authors/id/S/SH/SHLOMIF/
  403. regex = XML-RSS-(__VER__)\.tar\.gz
  404. }
  405. prog perl-xml:XML-Sablotron = {
  406. version = %{V_xml_sablotron}
  407. url = http://www.cpan.org/authors/id/P/PA/PAVELH/
  408. regex = XML-Sablotron-(__VER__)\.tar\.gz
  409. }
  410. prog perl-xml:XML-SAX = {
  411. version = %{V_xml_sax}
  412. url = http://www.cpan.org/authors/id/G/GR/GRANTM/
  413. regex = XML-SAX-(__VER__)\.tar\.gz
  414. }
  415. prog perl-xml:XML-SAX-Base = {
  416. version = %{V_xml_sax_base}
  417. url = http://www.cpan.org/authors/id/K/KH/KHAMPTON/
  418. regex = XML-SAX-Base-(__VER__)\.tar\.gz
  419. }
  420. prog perl-xml:XML-SAX-Expat = {
  421. version = %{V_xml_sax_expat}
  422. url = http://www.cpan.org/authors/id/B/BJ/BJOERN/
  423. regex = XML-SAX-Expat-(__VER__)\.tar\.gz
  424. }
  425. prog perl-xml:XML-SAX-Writer = {
  426. version = %{V_xml_sax_writer}
  427. url = http://www.cpan.org/authors/id/P/PE/PERIGRIN/
  428. regex = XML-SAX-Writer-(__VER__)\.tar\.gz
  429. }
  430. prog perl-xml:XML-Simple = {
  431. version = %{V_xml_simple}
  432. url = http://www.cpan.org/authors/id/G/GR/GRANTM/
  433. regex = XML-Simple-(__VER__)\.tar\.gz
  434. }
  435. prog perl-xml:XML-Twig = {
  436. version = %{V_xml_twig}
  437. url = http://www.cpan.org/authors/id/M/MI/MIROD/
  438. regex = XML-Twig-(__VER__)\.tar\.gz
  439. }
  440. prog perl-xml:XML-Writer = {
  441. version = %{V_xml_writer}
  442. url = http://www.cpan.org/authors/id/J/JO/JOSEPHW/
  443. regex = XML-Writer-(__VER__)\.tar\.gz
  444. }
  445. prog perl-xml:XML-Writer-String = {
  446. version = %{V_xml_writer_string}
  447. url = http://www.cpan.org/authors/id/S/SO/SOLIVER/
  448. regex = XML-Writer-String-(__VER__)\.tar\.gz
  449. }
  450. prog perl-xml:XML-XPath = {
  451. version = %{V_xml_xpath}
  452. url = http://www.cpan.org/authors/id/M/MS/MSERGEANT/
  453. regex = XML-XPath-(__VER__)\.tar\.gz
  454. }
  455. prog perl-xml:XML-XPath-Simple = {
  456. version = %{V_xml_xpath_simple}
  457. url = http://www.cpan.org/authors/id/W/WH/WHYTEWOLF/
  458. regex = XML-XPath-Simple-(__VER__)\.tar\.gz
  459. }
  460. prog perl-xml:XML-XPathEngine = {
  461. version = %{V_xml_xpathengine}
  462. url = http://www.cpan.org/authors/id/M/MI/MIROD/
  463. regex = XML-XPathEngine-(__VER__)\.tar\.gz
  464. }
  465. prog perl-xml:XML-XSH2 = {
  466. version = %{V_xml_xsh2}
  467. url = http://www.cpan.org/authors/id/P/PA/PAJAS/
  468. regex = XML-XSH2-(__VER__)\.tar\.gz
  469. }
  470. prog perl-xml:XML-XSLT = {
  471. version = %{V_xml_xslt}
  472. url = http://www.cpan.org/authors/id/J/JS/JSTOWE/
  473. regex = XML-XSLT-(__VER__)\.tar\.gz
  474. }
  475. prog perl-xml:XML-XUpdate-LibXML = {
  476. version = %{V_xml_xupdate_libxml}
  477. url = http://www.cpan.org/authors/id/P/PA/PAJAS/
  478. regex = XML-XUpdate-LibXML-(__VER__)\.tar\.gz
  479. }
  480. prog perl-xml:XML-Dumper = {
  481. version = %{V_xml_dumper}
  482. url = http://www.cpan.org/authors/id/M/MI/MIKEWONG/
  483. regex = XML-Dumper-(__VER__)\.tar\.gz
  484. }
  485. prog perl-xml:XML-Mini = {
  486. version = %{V_xml_mini}
  487. url = http://www.cpan.org/authors/id/P/PD/PDEEGAN/
  488. regex = XML-Mini-(__VER__)\.tar\.gz
  489. }
  490. prog perl-xml:XML-Smart = {
  491. version = %{V_xml_smart}
  492. url = http://www.cpan.org/authors/id/G/GM/GMPASSOS/
  493. regex = XML-Smart-(__VER__)\.tar\.gz
  494. }
  495. prog perl-xml:XML-Stream = {
  496. version = %{V_xml_stream}
  497. url = http://www.cpan.org/authors/id/D/DA/DAPATRICK/
  498. regex = XML-Stream-(__VER__)\.tar\.gz
  499. }
  500. prog perl-xml:XML-DT = {
  501. version = %{V_xml_dt}
  502. url = http://www.cpan.org/modules/by-module/XML/
  503. regex = XML-DT-(__VER__)\.tar\.gz
  504. }
  505. prog perl-xml:CSS = {
  506. version = %{V_css}
  507. url = http://www.cpan.org/authors/id/I/IA/IAMCAL/
  508. regex = CSS-(__VER__)\.tar\.gz
  509. }
  510. prog perl-xml:CSS-Tiny = {
  511. version = %{V_css_tiny}
  512. url = http://www.cpan.org/authors/id/A/AD/ADAMK/
  513. regex = CSS-Tiny-(__VER__)\.tar\.gz
  514. }
  515. prog perl-xml:SVG = {
  516. version = %{V_svg}
  517. url = http://www.cpan.org/authors/id/R/RO/RONAN/
  518. regex = SVG-(__VER__)\.tar\.gz
  519. }
  520. prog perl-xml:HTML-Prototype = {
  521. version = %{V_html_prototype}
  522. url = http://www.cpan.org/authors/id/E/ES/ESSKAR/
  523. regex = HTML-Prototype-(__VER__)\.tar\.gz
  524. }
  525. prog perl-xml:HTML-Prototype-Useful = {
  526. version = %{V_html_prototype_useful}
  527. url = http://www.cpan.org/authors/id/M/MR/MRAMBERG/
  528. regex = HTML-Prototype-Useful-(__VER__)\.tar\.gz
  529. }
  530. prog perl-xml:XML-SimpleObject-LibXML = {
  531. version = %{V_xml_simpleobject_libxml}
  532. url = http://www.cpan.org/authors/id/D/DB/DBRIAN/
  533. regex = XML-SimpleObject-LibXML-(__VER__)\.tar\.gz
  534. }
  535. prog perl-xml:HTML-Selector-XPath = {
  536. version = %{V_html_selector_xpath}
  537. url = http://www.cpan.org/authors/id/M/MI/MIYAGAWA/
  538. regex = HTML-Selector-XPath-(__VER__)\.tar\.gz
  539. }
  540. prog perl-xml:HTML-TreeBuilder-XPath = {
  541. version = %{V_html_treebuilder_xpath}
  542. url = http://www.cpan.org/authors/id/M/MI/MIROD/
  543. regex = HTML-TreeBuilder-XPath-(__VER__)\.tar\.gz
  544. }
  545. prog perl-xml:HTML-TreeBuilder-Select = {
  546. version = %{V_html_treebuilder_select}
  547. url = http://www.cpan.org/authors/id/R/RK/RKRIMEN/
  548. regex = HTML-TreeBuilder-Select-(__VER__)\.tar\.gz
  549. }
  550. prog perl-xml:HTML-Element-Extended = {
  551. version = %{V_html_element_extended}
  552. url = http://www.cpan.org/authors/id/M/MS/MSISK/
  553. regex = HTML-Element-Extended-(__VER__)\.tar\.gz
  554. }
  555. prog perl-xml:HTML-TableExtract = {
  556. version = %{V_html_tableextract}
  557. url = http://www.cpan.org/authors/id/M/MS/MSISK/
  558. regex = HTML-TableExtract-(__VER__)\.tar\.gz
  559. }
  560. prog perl-xml:XML-Filter-BufferText = {
  561. version = %{V_xml_filter_buffertext}
  562. url = http://www.cpan.org/authors/id/R/RB/RBERJON/
  563. regex = XML-Filter-BufferText-(__VER__)\.tar\.gz
  564. }
  565. %prep
  566. %setup -q -c
  567. %setup -q -T -D -a 1
  568. %setup -q -T -D -a 2
  569. %setup -q -T -D -a 3
  570. %setup -q -T -D -a 4
  571. %setup -q -T -D -a 5
  572. %setup -q -T -D -a 6
  573. %setup -q -T -D -a 7
  574. %setup -q -T -D -a 8
  575. %setup -q -T -D -a 9
  576. %setup -q -T -D -a 10
  577. %setup -q -T -D -a 11
  578. %setup -q -T -D -a 12
  579. %setup -q -T -D -a 13
  580. %setup -q -T -D -a 14
  581. %setup -q -T -D -a 15
  582. %setup -q -T -D -a 16
  583. %setup -q -T -D -a 17
  584. %setup -q -T -D -a 18
  585. %setup -q -T -D -a 19
  586. %setup -q -T -D -a 20
  587. %setup -q -T -D -a 21
  588. %setup -q -T -D -a 22
  589. ( # FIXME: upstream tarball in version 2.08 contains broken GID
  590. %setup -q -T -D -a 23
  591. ) || true
  592. %setup -q -T -D -a 24
  593. %setup -q -T -D -a 25
  594. %setup -q -T -D -a 26
  595. %setup -q -T -D -a 27
  596. %setup -q -T -D -a 28
  597. %setup -q -T -D -a 29
  598. %setup -q -T -D -a 30
  599. %setup -q -T -D -a 31
  600. %setup -q -T -D -a 32
  601. %setup -q -T -D -a 33
  602. %setup -q -T -D -a 34
  603. %setup -q -T -D -a 35
  604. %setup -q -T -D -a 36
  605. %setup -q -T -D -a 37
  606. %setup -q -T -D -a 38
  607. %setup -q -T -D -a 39
  608. %setup -q -T -D -a 40
  609. %setup -q -T -D -a 41
  610. %setup -q -T -D -a 42
  611. %setup -q -T -D -a 43
  612. %setup -q -T -D -a 44
  613. %setup -q -T -D -a 45
  614. %setup -q -T -D -a 46
  615. %setup -q -T -D -a 47
  616. %setup -q -T -D -a 48
  617. %setup -q -T -D -a 49
  618. %setup -q -T -D -a 50
  619. %setup -q -T -D -a 51
  620. %setup -q -T -D -a 52
  621. %setup -q -T -D -a 53
  622. %setup -q -T -D -a 54
  623. %setup -q -T -D -a 55
  624. %setup -q -T -D -a 56
  625. %setup -q -T -D -a 57
  626. %setup -q -T -D -a 58
  627. %setup -q -T -D -a 59
  628. %setup -q -T -D -a 60
  629. %setup -q -T -D -a 61
  630. %setup -q -T -D -a 62
  631. %setup -q -T -D -a 63
  632. %setup -q -T -D -a 64
  633. %patch -p0
  634. rm -f HTML-Prototype*/Build.PL
  635. chmod u+w HTML-Prototype-Useful-*/Makefile.PL*
  636. %build
  637. %install
  638. %{l_prefix}/bin/perl-openpkg prepare
  639. %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} \
  640. --args EXPATLIBPATH=%{l_prefix}/lib \
  641. --args EXPATINCPATH=%{l_prefix}/include \
  642. configure build install
  643. %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
  644. %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
  645. %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
  646. %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
  647. %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
  648. %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
  649. %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
  650. %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
  651. %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
  652. %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
  653. %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
  654. %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
  655. %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
  656. %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
  657. %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
  658. %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
  659. %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
  660. %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
  661. %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
  662. %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
  663. %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
  664. %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
  665. %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
  666. %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
  667. %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
  668. %if "%{with_libxml}" == "yes"
  669. %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} --args XMLPREFIX=%{l_prefix} configure build install
  670. %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} --args XMLPREFIX=%{l_prefix} configure build install
  671. %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
  672. %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
  673. %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} --args XMLPREFIX=%{l_prefix} configure build install
  674. %endif
  675. %if "%{with_libxslt}" == "yes"
  676. %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} --args XMLPREFIX=%{l_prefix} configure build install
  677. %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
  678. %endif
  679. %if "%{with_libgdome}" == "yes"
  680. %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
  681. %endif
  682. %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
  683. %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
  684. %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
  685. %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
  686. %{l_prefix}/bin/perl-openpkg -d %{SOURCE38} configure build install
  687. %{l_prefix}/bin/perl-openpkg -d %{SOURCE39} configure build install
  688. %{l_prefix}/bin/perl-openpkg -d %{SOURCE40} configure build install
  689. %{l_prefix}/bin/perl-openpkg -d %{SOURCE41} configure build install
  690. %{l_prefix}/bin/perl-openpkg -d %{SOURCE42} configure build install
  691. %if "%{with_libxml}" == "yes"
  692. %{l_prefix}/bin/perl-openpkg -d %{SOURCE43} configure build install
  693. %endif
  694. %{l_prefix}/bin/perl-openpkg -d %{SOURCE44} configure build install
  695. %{l_prefix}/bin/perl-openpkg -d %{SOURCE45} configure build install
  696. %{l_prefix}/bin/perl-openpkg -d %{SOURCE46} configure build install
  697. %{l_prefix}/bin/perl-openpkg -d %{SOURCE47} configure build install
  698. %{l_prefix}/bin/perl-openpkg -d %{SOURCE48} configure build install
  699. %{l_prefix}/bin/perl-openpkg -d %{SOURCE49} configure build install
  700. %{l_prefix}/bin/perl-openpkg -d %{SOURCE50} configure build install
  701. %{l_prefix}/bin/perl-openpkg -d %{SOURCE51} configure build install
  702. %{l_prefix}/bin/perl-openpkg -d %{SOURCE52} configure build install
  703. %{l_prefix}/bin/perl-openpkg -d %{SOURCE53} configure build install
  704. %{l_prefix}/bin/perl-openpkg -d %{SOURCE54} configure build install
  705. %{l_prefix}/bin/perl-openpkg -d %{SOURCE55} configure build install
  706. %if "%{with_libxml}" == "yes"
  707. %{l_prefix}/bin/perl-openpkg -d %{SOURCE56} configure build install
  708. %endif
  709. %if "%{with_sablotron}" == "yes"
  710. %{l_prefix}/bin/perl-openpkg -d %{SOURCE57} \
  711. --args SABLOTLIBPATH=%{l_prefix}/lib \
  712. --args SABLOTINCPATH=%{l_prefix}/include \
  713. --args EXPATLIBPATH=%{l_prefix}/lib \
  714. --args EXPATINCPATH=%{l_prefix}/include \
  715. --args "LIBS='`%{l_prefix}/bin/sablot-config --libs` -lstdc++'" \
  716. configure build install
  717. %endif
  718. %{l_prefix}/bin/perl-openpkg -d %{SOURCE58} configure build install
  719. %{l_prefix}/bin/perl-openpkg -d %{SOURCE59} configure build install
  720. %{l_prefix}/bin/perl-openpkg -d %{SOURCE60} configure build install
  721. %{l_prefix}/bin/perl-openpkg -d %{SOURCE61} configure build install
  722. %{l_prefix}/bin/perl-openpkg -d %{SOURCE62} configure build install
  723. %{l_prefix}/bin/perl-openpkg -d %{SOURCE63} configure build install
  724. %{l_prefix}/bin/perl-openpkg -d %{SOURCE64} configure build install
  725. # pre-activate the XML::SAX parsers
  726. eval `%{l_prefix}/bin/perl -V:installvendorlib`
  727. ( echo "[XML::SAX::PurePerl]"
  728. echo "http://xml.org/sax/features/namespaces = 1"
  729. echo "http://xml.org/sax/features/validation = 0"
  730. echo ""
  731. echo "[XML::SAX::Expat]"
  732. echo "http://xml.org/sax/features/namespaces = 1"
  733. echo "http://xml.org/sax/features/validation = 0"
  734. ) >$RPM_BUILD_ROOT$installvendorlib/XML/SAX/ParserDetails.ini
  735. %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
  736. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
  737. %files -f files
  738. %clean