cabal-install.vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. %define pkg_name cabal-install
  2. %define pkg_version 1.22.8.0
  3. %define pkg_release 3%{?_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 cabal-install
  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. cabal configure --prefix=%{_usr} \
  29. --docdir=%{_docdir}/%{name}-%{version}
  30. cabal build
  31. %install
  32. cabal copy --destdir=${RPM_BUILD_ROOT}
  33. %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}
  34. %clean
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. %files
  37. %defattr(-, root, root)
  38. %doc changelog LICENSE README.md
  39. %{_bindir}/
  40. %changelog
  41. * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-2
  42. - correct SPEC file
  43. * Sat Feb 20 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-2
  44. - rebuild under ghc-7.10.3 and haskell-platform-2015.7.10.3
  45. * Mon Feb 15 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-1
  46. - update to 1.22.8.0
  47. * Thu Feb 11 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-2
  48. - correct Requires
  49. * Thu Feb 11 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-1
  50. - subpackage of haskell-platform