ghc-rpm-macros - Macros for building packages for GHC

Property Value
Distribution CentOS 6
Repository Open Fusion x86_64
Package filename ghc-rpm-macros-0.10.58-1.of.el6.x86_64.rpm
Package name ghc-rpm-macros
Package version 0.10.58
Package release 1.of.el6
Package architecture x86_64
Package type rpm
Category Development/Libraries
License GPLv3
Maintainer -
Download size 25.61 KB
Installed size 42.86 KB
A set of macros for building GHC packages following the Haskell Guidelines
of the Fedora Haskell SIG.  ghc needs to be installed in order to make use of
these macros.


Package Version Architecture Repository
ghc-rpm-macros-0.98.1-4.1.sdl6.x86_64.rpm 0.98.1 x86_64 PUIAS Unsupported
ghc-rpm-macros-0.98.1-4.1.sdl6.i686.rpm 0.98.1 i686 PUIAS Unsupported
ghc-rpm-macros-0.15.16-1.el6.x86_64.rpm 0.15.16 x86_64 EPEL
ghc-rpm-macros-0.15.16-1.el6.i686.rpm 0.15.16 i686 EPEL
ghc-rpm-macros-0.10.58-1.of.el6.i686.rpm 0.10.58 i686 Open Fusion
ghc-rpm-macros - - -


Name Value
redhat-rpm-config -


Name Value
config(ghc-rpm-macros) = 0.10.58-1.of.el6
ghc-rpm-macros = 0.10.58-1.of.el6
ghc-rpm-macros(x86-64) = 0.10.58-1.of.el6


Type URL
Binary Package ghc-rpm-macros-0.10.58-1.of.el6.x86_64.rpm
Source Package ghc-rpm-macros-0.10.58-1.of.el6.src.rpm

Install Howto

  1. Download latest openfusion-release rpm from
  2. Install openfusion-release rpm:
    # rpm -Uvh openfusion-release*rpm
  3. Install ghc-rpm-macros rpm package:
    # yum install ghc-rpm-macros




2011-06-27 - Jens Petersen <> - 0.10.58-1
- add requires for redhat-rpm-config for ghc_arches
2011-06-22 - Jens Petersen <> - 0.10.57-1
- also ignore base-3 since it is part of ghc-base
2011-06-13 - Jens Petersen <> - 0.10.56-1
- merge prof subpackages into devel to simplify packaging
- condition --htmldir on pkg_name
2011-05-09 - Jens Petersen <> - 0.10.55-1
- include ghc_pkg_c_deps even when -c option used
2011-05-09 - Jens Petersen <> - 0.10.54-1
- ignore private ghc lib deps
- macros.ghc: drop ghc-prof requires from ghc_prof_requires
2011-05-07 - Jens Petersen <> - 0.10.53-1
- backport rpm dependency script for automatic versioned
library dependencies (without hashes)
- drop ghc_pkg_deps from ghc_package_devel and ghc_package_prof since generates better inter-package dependencies already
2011-03-16 - Jens Petersen <> - 0.10.52-1
- backport ghc fixes and secondary arch support from 0.11.12:
- add ghc_pkg_obsoletes to binlib base lib package too
- add docdir when subpackaging packages too
- this package is now arch-dependent
- rename without_shared to ghc_without_shared and without_dynamic
to ghc_without_dynamic so that they can be globally defined for
secondary archs without shared libs
- use %undefined macro
- disable debug_package in ghc_bin_build and ghc_lib_build
- set ghc_without_shared and ghc_without_dynamic on secondary
(ie non main intel archs)
- disable debuginfo for self
- only link Setup dynamically if without_shared and without_dynamic not set
- add cabal_configure_options to pass extra options to cabal_configure
2011-02-04 - Jens Petersen <> - 0.10.51-1
- ghc_binlib_package's -x option does not take an arg
2011-01-29 - Jens Petersen <> - 0.10.50-1
- merge subpackaging support from 0.11.4:
- drop ghcdocdir and ghcpkgdir
- new ghclibdocdir
- improve prof summary and description
- add without_prof and without_haddock option macros
- add ghc_binlib_package option to exclude package from ghc_packages_list
- condition lib base package additional description for srpm
- use buildroot instead of RPM_BUILD_ROOT
- rename ghcpkgbasedir to ghclibdir
- move name and version macro options (-n and -v) to optional args
- ghc_gen_filelists, ghc_lib_build, ghc_lib_install, cabal_pkg_conf
now take optional "[name] [version]" args
- drop with_devhelp since --html-help option gone from haddock-2.8.0
- rename ghc_requires to ghc_devel_requires
- drop ghc_doc_requires
2010-12-29 - Jens Petersen <> - 0.8.3-1
- revert disabling debug_package, since with redhat-rpm-config installed
the behaviour depended on the position of ghc_lib_package in the spec file
(reported by narasim)

See Also

Package Description
ghc-syb-0.3-4.el6.x86_64.rpm Haskell Scrap Your Boilerplate library
ghc-syb-0.3-4.of.el6.x86_64.rpm Haskell Scrap Your Boilerplate library
ghc-syb-devel-0.3-4.el6.x86_64.rpm Haskell Scrap Your Boilerplate library development files
ghc-syb-devel-0.3-4.of.el6.x86_64.rpm Haskell Scrap Your Boilerplate library development files
ghc-syb-prof-0.3-4.el6.x86_64.rpm Haskell Scrap Your Boilerplate library profiling libraries
ghc-syb-prof-0.3-4.of.el6.x86_64.rpm Haskell Scrap Your Boilerplate library profiling libraries
ghc-tagsoup-0.12-4.of.el6.x86_64.rpm Haskell tagsoup
ghc-tagsoup-devel-0.12-4.of.el6.x86_64.rpm Parsing HTML/XML documents library development files
ghc-tagsoup-prof-0.12-4.of.el6.x86_64.rpm Parsing HTML/XML documents library profiling libraries
ghc-texmath-0.4-3.of.el6.x86_64.rpm Haskell texmath library
ghc-texmath-devel-0.4-3.of.el6.x86_64.rpm Haskell texmath library development files
ghc-texmath-prof-0.4-3.of.el6.x86_64.rpm Haskell texmath library profiling libraries
ghc-xml-1.3.7-1.of.el6.x86_64.rpm A simple XML library
ghc-xml-devel-1.3.7-1.of.el6.x86_64.rpm A simple XML library development files
ghc-xml-prof-1.3.7-1.of.el6.x86_64.rpm A simple XML library profiling libraries