libghc-build-pandoc-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. %define pkg_name build-pandoc
  2. %define pkg_version 2.4
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: Haskell libraries: %{pkg_name} and dependent libraries
  5. Name: libghc-%{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: BSD3
  9. Group: Applications/Text
  10. URL: http://hackage.haskell.org
  11. Source0: packages
  12. Source11: Glob-0.9.3.tar.gz
  13. Source12: Glob.cabal
  14. Source13: HsYAML-0.1.1.2.tar.gz
  15. Source14: HsYAML.cabal
  16. Source15: JuicyPixels-3.3.3.tar.gz
  17. Source16: JuicyPixels.cabal
  18. Source17: SHA-1.6.4.4.tar.gz
  19. Source18: SHA.cabal
  20. Source19: base-compat-0.10.5.tar.gz
  21. Source20: base-compat.cabal
  22. Source21: base64-bytestring-1.0.0.2.tar.gz
  23. Source22: base64-bytestring.cabal
  24. Source23: bitarray-0.0.1.1.tar.gz
  25. Source24: bitarray.cabal
  26. Source25: blaze-markup-0.8.2.2.tar.gz
  27. Source26: blaze-markup.cabal
  28. Source27: cmark-gfm-0.1.6.tar.gz
  29. Source28: cmark-gfm.cabal
  30. Source29: cmdargs-0.10.20.tar.gz
  31. Source30: cmdargs.cabal
  32. Source31: colour-2.3.4.tar.gz
  33. Source32: colour.cabal
  34. Source33: digest-0.0.1.2.tar.gz
  35. Source34: digest.cabal
  36. Source35: fail-4.9.0.0.tar.gz
  37. Source36: fail.cabal
  38. Source37: hxt-charproperties-9.2.0.1.tar.gz
  39. Source38: hxt-charproperties.cabal
  40. Source39: regex-pcre-builtin-0.94.4.8.8.35.tar.gz
  41. Source40: regex-pcre-builtin.cabal
  42. Source41: safe-0.3.17.tar.gz
  43. Source42: safe.cabal
  44. Source43: tagged-0.8.6.tar.gz
  45. Source44: tagged.cabal
  46. Source45: tagsoup-0.14.7.tar.gz
  47. Source46: tagsoup.cabal
  48. Source47: temporary-1.3.tar.gz
  49. Source48: temporary.cabal
  50. Source49: th-abstraction-0.2.8.0.tar.gz
  51. Source50: th-abstraction.cabal
  52. Source51: time-locale-compat-0.1.1.5.tar.gz
  53. Source52: time-locale-compat.cabal
  54. Source53: utf8-string-1.0.1.1.tar.gz
  55. Source54: utf8-string.cabal
  56. Source55: uuid-types-1.0.3.tar.gz
  57. Source56: uuid-types.cabal
  58. Source57: xml-1.3.14.tar.gz
  59. Source58: xml.cabal
  60. Source59: unicode-transforms-0.3.5.tar.gz
  61. Source60: unicode-transforms.cabal
  62. Source61: blaze-html-0.9.1.1.tar.gz
  63. Source62: blaze-html.cabal
  64. Source63: ansi-terminal-0.8.2.tar.gz
  65. Source64: ansi-terminal.cabal
  66. Source65: zip-archive-0.3.3.tar.gz
  67. Source66: zip-archive.cabal
  68. Source67: hslua-1.0.1.tar.gz
  69. Source68: hslua.cabal
  70. Source69: hxt-unicode-9.0.2.4.tar.gz
  71. Source70: hxt-unicode.cabal
  72. Source71: hxt-regex-xmlschema-9.2.0.3.tar.gz
  73. Source72: hxt-regex-xmlschema.cabal
  74. Source73: hslua-module-text-0.2.0.tar.gz
  75. Source74: hslua-module-text.cabal
  76. Source75: hxt-9.3.1.16.tar.gz
  77. Source76: hxt.cabal
  78. Source77: pandoc-types-1.17.5.4.tar.gz
  79. Source78: pandoc-types.cabal
  80. Source79: doctemplates-0.2.2.1.tar.gz
  81. Source80: doctemplates.cabal
  82. Source81: aeson-pretty-0.8.7.tar.gz
  83. Source82: aeson-pretty.cabal
  84. Source83: skylighting-core-0.7.5.tar.gz
  85. Source84: skylighting-core.cabal
  86. Source85: texmath-0.11.1.2.tar.gz
  87. Source86: texmath.cabal
  88. Source87: skylighting-0.7.5.tar.gz
  89. Source88: skylighting.cabal
  90. BuildRequires: ghc haskell-platform
  91. BuildRequires: libghc-data-default-class
  92. BuildRequires: libghc-dlist
  93. BuildRequires: libghc-old-locale
  94. BuildRequires: libghc-data-default
  95. BuildRequires: libghc-aeson
  96. BuildRequires: libghc-semigroups
  97. BuildRequires: libghc-http-client-tls
  98. BuildRequires: libghc-haddock-library
  99. BuildRequires: zlib-devel
  100. BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl
  101. Requires: ghc haskell-platform
  102. Requires: haskell-platform-dep
  103. Requires: libghc-data-default-class
  104. Requires: libghc-dlist
  105. Requires: libghc-old-locale
  106. Requires: libghc-data-default
  107. Requires: libghc-aeson
  108. Requires: libghc-semigroups
  109. Requires: libghc-http-client-tls
  110. Requires: libghc-haddock-library
  111. Vendor: Project Vine
  112. Distribution: Vine Linux
  113. Packager: ara_t
  114. %description
  115. Haskell libraries: %{pkg_name}
  116. %build
  117. %ghc_pkg_init
  118. cd %{_builddir}
  119. for pkg in `cat %{SOURCE0}`; do
  120. %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
  121. pushd ${pkg}
  122. %ghc_fix_dependencies ${pkg}
  123. %cabal_configure2 %{name} ${pkg}
  124. %cabal_build
  125. %cabal_haddock
  126. %cabal_copy_resister %{name}_${pkg}
  127. popd
  128. done
  129. %clean
  130. %{__rm} -rf ${RPM_BUILD_ROOT}
  131. %post
  132. %ghc_pkg_recache
  133. %postun
  134. %ghc_pkg_recache
  135. %files
  136. %defattr(-, root, root)
  137. %{_bindir}/
  138. %{_libdir}/ghc-%{ghc_version}/
  139. %{_libdir}/ghc-lib/
  140. %{_datadir}/%{name}/
  141. %{_docdir}/%{name}/
  142. %changelog
  143. * Mon Dec 17 2018 Toshiaki Ara <ara_t@384.jp> 2.4-1
  144. - update to 2.4
  145. - build using ghc-8.6.3
  146. * Thu Aug 09 2018 Toshiaki Ara <ara_t@384.jp> 2.2.3.2-1
  147. - update to 2.2.3.2
  148. - drop BuildRequires: and Requires: yaml
  149. * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 2.2.2-1
  150. - update to 2.2.2
  151. - build using ghc-8.4.3
  152. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 2.2.1-2
  153. - correct BuildRequires and Requires (add libghc-data-default)
  154. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 2.2.1-1
  155. - update to 2.2.1
  156. - rebuild using ghc-8.4.2
  157. - rewrite using macro
  158. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 2.0.6-1
  159. - update to 2.0.6
  160. - build using ghc-8.2.2
  161. * Tue Feb 21 2017 Toshiaki Ara <ara_t@384.jp> 1.19.2.1-1
  162. - update to 1.19.2.1
  163. - build using ghc-8.0.2
  164. * Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 1.17.1-1
  165. - update to 1.17.1
  166. - build using ghc-8.0.1
  167. * Fri May 06 2016 Toshiaki Ara <ara_t@384.jp> 1.17.0.3-1
  168. - new package