cabal-install.vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define pkg_name cabal-install
  2. %define pkg_version 1.22.9.0
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: A command-line program simplifies the process of managing Haskell software
  5. Name: %{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: BSD3
  9. Group: Applications/Languages
  10. URL: http://hackage.haskell.org
  11. Source0: cabal-install-%{pkg_version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root
  13. BuildRequires: ghc
  14. BuildRequires: haskell-platform-base
  15. BuildRequires: libffi-devel gmp-devel zlib-devel
  16. Requires: ghc
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: ara_t
  20. %description
  21. The 'cabal' command-line program simplifies the process of
  22. managing Haskell software by automating the fetching, configuration,
  23. compilation and installation of Haskell libraries and programs.
  24. %prep
  25. %{__rm} -rf ${RPM_BUILD_ROOT}
  26. %setup -q
  27. %build
  28. ghc --make Setup
  29. ./Setup configure \
  30. --user \
  31. --disable-shared \
  32. --prefix=%{_usr} \
  33. --docdir=%{_docdir}/%{name}-%{version}
  34. ./Setup build
  35. %install
  36. ./Setup copy --destdir=${RPM_BUILD_ROOT}
  37. %clean
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %files
  40. %defattr(-, root, root)
  41. %doc changelog LICENSE README.md
  42. %{_bindir}/
  43. %changelog
  44. * Mon May 02 2016 Toshiaki Ara <ara_t@384.jp> 1.22.9.0-1
  45. - update to 1.22.9.0
  46. - rebuild under haskell-platform-2015.7.10.3-3
  47. - delete BuildRequires: cabal-install and hscolour
  48. * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-2
  49. - correct SPEC file
  50. * Sat Feb 20 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-2
  51. - rebuild under ghc-7.10.3 and haskell-platform-2015.7.10.3
  52. * Mon Feb 15 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-1
  53. - update to 1.22.8.0
  54. * Thu Feb 11 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-2
  55. - correct Requires
  56. * Thu Feb 11 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-1
  57. - subpackage of haskell-platform