libghc-data-default-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. %define pkg_name data-default
  2. %define pkg_version 0.7.1.1
  3. %define pkg_release 6%{?_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: data-default-instances-containers-0.0.1.tar.gz
  13. Source12: data-default-instances-containers.cabal
  14. Source13: data-default-instances-dlist-0.0.1.tar.gz
  15. Source14: data-default-instances-dlist.cabal
  16. Source15: data-default-instances-old-locale-0.0.1.tar.gz
  17. Source16: data-default-instances-old-locale.cabal
  18. Source17: data-default-0.7.1.1.tar.gz
  19. Source18: data-default.cabal
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. BuildRequires: ghc haskell-platform
  22. BuildRequires: libffi-devel gmp-devel zlib-devel
  23. BuildRequires: libghc-data-default-class
  24. BuildRequires: libghc-old-locale
  25. BuildRequires: libghc-dlist
  26. BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl
  27. Requires: ghc haskell-platform
  28. Requires: haskell-platform-dep
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. Packager: ara_t
  32. %description
  33. Haskell libraries: %{pkg_name} and dependent libraries
  34. %prep
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. %build
  37. %ghc_pkg_init
  38. cd %{_builddir}
  39. for pkg in `cat %{SOURCE0}`; do
  40. %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
  41. pushd ${pkg}
  42. %ghc_fix_dependencies ${pkg}
  43. %cabal_configure2 %{name} ${pkg}
  44. %cabal_build
  45. %cabal_haddock
  46. %cabal_copy_resister %{name}_${pkg}
  47. popd
  48. done
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %post
  52. %ghc_pkg_recache
  53. %postun
  54. %ghc_pkg_recache
  55. %files
  56. %defattr(-, root, root)
  57. %{_libdir}/ghc-%{ghc_version}/
  58. %{_libdir}/ghc-lib/
  59. %{_datadir}/
  60. %changelog
  61. * Mon Dec 17 2018 Toshiaki Ara <ara_t@384.jp> 0.7.1.1-6
  62. - rebuild with ghc-8.6.3-1
  63. * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 0.7.1.1-5
  64. - rebuild with ghc-8.4.3-2
  65. * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.7.1.1-4
  66. - build using ghc-8.4.3
  67. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.7.1.1-3
  68. - rebuild using ghc-8.4.2
  69. - rewrite using macro
  70. - add BuildRequires: libghc-old-locale
  71. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.7.1.1-2
  72. - rebuild using ghc-8.2.2
  73. * Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 0.7.1.1-1
  74. - update to 0.7.1.1
  75. - build using ghc-8.0.1
  76. * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.5.3-3
  77. - rebuilt
  78. * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.5.3-2
  79. - correct SPEC file
  80. * Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 0.5.3-1
  81. - new package