libghc-build-pandoc-vl.spec 4.7 KB

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