libghc-data-default-class-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. %define pkg_name data-default-class
  2. %define pkg_version 0.1.2.0
  3. %define pkg_release 6%{?_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: data-default-class-0.1.2.0.tar.gz
  13. Source12: data-default-class.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.1.2.0-6
  53. - rebuild with ghc-8.6.3-1
  54. * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 0.1.2.0-5
  55. - rebuild with ghc-8.4.3-2
  56. * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.1.2.0-4
  57. - rebuild using ghc-8.4.3
  58. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.1.2.0-3
  59. - rebuild using ghc-8.4.2
  60. - rewrite using macro
  61. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.1.2.0-2
  62. - rebuild using ghc-8.2.2
  63. * Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 0.1.2.0-1
  64. - update to 0.1.2.0
  65. - rebuild using ghc-8.0.1
  66. * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.0.1-3
  67. - rebuilt
  68. * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.0.1-2
  69. - correct SPEC file
  70. * Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 0.0.1-1
  71. - new package