libghc-dlist-vl.spec 2.0 KB

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