|
|
@ -14,31 +14,31 @@
|
|
|
|
# completely untouched between builds.
|
|
|
|
# completely untouched between builds.
|
|
|
|
%global package_debugging 0
|
|
|
|
%global package_debugging 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc
|
|
|
|
Name: ghc
|
|
|
|
Version: 6.10.1
|
|
|
|
Version: 6.10.1
|
|
|
|
Release: 12%{?dist}
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Summary: Glasgow Haskell Compilation system
|
|
|
|
Summary: Glasgow Haskell Compilation system
|
|
|
|
# fedora ghc has only been bootstrapped on ix86, x86_64, ppc, alpha:
|
|
|
|
# fedora ghc has only been bootstrapped on the following archs:
|
|
|
|
ExcludeArch: ppc64
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
|
|
|
|
Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
|
|
|
|
Source1: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2
|
|
|
|
Source1: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2
|
|
|
|
Source2: ghc-rpm-macros.ghc
|
|
|
|
Source2: ghc-rpm-macros.ghc
|
|
|
|
URL: http://haskell.org/ghc/
|
|
|
|
URL: http://haskell.org/ghc/
|
|
|
|
# libedit-devel > 2.11-2 correctly requires ncurses-devel
|
|
|
|
# libedit-devel > 2.11-2 correctly requires ncurses-devel
|
|
|
|
Requires: gcc, gmp-devel, libedit-devel > 2.11-2
|
|
|
|
Requires: gcc, gmp-devel, libedit-devel > 2.11-2
|
|
|
|
Requires(post): policycoreutils
|
|
|
|
Requires(post): policycoreutils
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Obsoletes: ghc682, ghc681, ghc661, ghc66, haddock <= 2.0.0.0, haddock09
|
|
|
|
Obsoletes: ghc682, ghc681, ghc661, ghc66, haddock <= 2.0.0.0, haddock09
|
|
|
|
# introduced for f11 and to be removed for f13:
|
|
|
|
# introduced for f11 and to be removed for f13:
|
|
|
|
Provides: haddock = 2.3.0
|
|
|
|
Provides: haddock = 2.3.0
|
|
|
|
BuildRequires: ghc, happy, sed
|
|
|
|
BuildRequires: ghc, happy, sed
|
|
|
|
BuildRequires: gmp-devel, libedit-devel > 2.11-2
|
|
|
|
BuildRequires: gmp-devel, libedit-devel > 2.11-2
|
|
|
|
%if %{with doc}
|
|
|
|
%if %{with doc}
|
|
|
|
BuildRequires: libxslt, docbook-style-xsl
|
|
|
|
BuildRequires: libxslt, docbook-style-xsl
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Patch1: ghc-6.10.1-gen_contexts_index.patch
|
|
|
|
Patch1: ghc-6.10.1-gen_contexts_index.patch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
GHC is a state-of-the-art programming suite for Haskell, a purely
|
|
|
|
GHC is a state-of-the-art programming suite for Haskell, a purely
|
|
|
@ -52,10 +52,10 @@ interface.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with prof}
|
|
|
|
%if %{with prof}
|
|
|
|
%package prof
|
|
|
|
%package prof
|
|
|
|
Summary: Profiling libraries for GHC
|
|
|
|
Summary: Profiling libraries for GHC
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Obsoletes: ghc682-prof, ghc681-prof, ghc661-prof, ghc66-prof
|
|
|
|
Obsoletes: ghc682-prof, ghc681-prof, ghc661-prof, ghc66-prof
|
|
|
|
|
|
|
|
|
|
|
|
%description prof
|
|
|
|
%description prof
|
|
|
|
Profiling libraries for Glorious Glasgow Haskell Compilation System
|
|
|
|
Profiling libraries for Glorious Glasgow Haskell Compilation System
|
|
|
@ -64,9 +64,9 @@ needed.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for GHC
|
|
|
|
Summary: Documentation for GHC
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
# for haddock
|
|
|
|
# for haddock
|
|
|
|
Requires(posttrans): %{name} = %{version}-%{release}
|
|
|
|
Requires(posttrans): %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -218,6 +218,9 @@ fi
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-13
|
|
|
|
|
|
|
|
- ok let's stick with ExclusiveArch for brevity
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-12
|
|
|
|
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-12
|
|
|
|
- drop ghc_archs since it breaks koji
|
|
|
|
- drop ghc_archs since it breaks koji
|
|
|
|
- fix missing -devel in ghc_gen_filelists
|
|
|
|
- fix missing -devel in ghc_gen_filelists
|
|
|
|