01ca420
# speed up test builds by not building profiled libraries
01ca420
%define build_prof 1
4eb22b2
%define build_doc 1
01ca420
Bryan O'Sullivan cdb710f
# Fixing packaging problems can be a tremendous pain because it
Bryan O'Sullivan cdb710f
# generally requires a complete rebuild, which takes hours.  To offset
Bryan O'Sullivan cdb710f
# the misery, do a complete build once using "rpmbuild -bc", then copy
Bryan O'Sullivan cdb710f
# your built tree to a directory of the same name suffixed with
Bryan O'Sullivan cdb710f
# ".built", using "cp -al".  Finally, set this variable, and it will
Bryan O'Sullivan 11b87bf
# copy the already-built tree into place during build instead of
Bryan O'Sullivan cdb710f
# actually doing the build.
Bryan O'Sullivan cdb710f
#
Bryan O'Sullivan 11b87bf
# Obviously, this can only work if you leave the build section
Bryan O'Sullivan cdb710f
# completely untouched between builds.
Bryan O'Sullivan cdb710f
%define package_debugging 0
Bryan O'Sullivan cdb710f
01ca420
Name:		ghc
1c882e4
Version:	6.8.3
d8a1d24
Release:	11%{?dist}
01ca420
Summary:	Glasgow Haskell Compilation system
Bryan O'Sullivan 19c596b
# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713
a5bfb20
ExcludeArch:	ppc64
Bryan O'Sullivan e8ba9bc
License:	BSD
01ca420
Group:		Development/Languages
812b066
Source0:	http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
812b066
Source1:	http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2
84d437a
Source2:	ghc-rpm-macros.ghc
1c882e4
Patch0:		ghc-6.8.3-libraries-config.patch
01ca420
URL:		http://haskell.org/ghc/
1c882e4
Requires:	gcc, gmp-devel, readline-devel
84d437a
Requires(post): policycoreutils
01ca420
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1c882e4
Obsoletes:      ghc682, ghc681, ghc661, ghc66
Bryan O'Sullivan a20a5e5
BuildRequires:  ghc, happy, sed
Bryan O'Sullivan cdb710f
BuildRequires:  gmp-devel, readline-devel
Bryan O'Sullivan cdb710f
BuildRequires:  freeglut-devel, openal-devel
01ca420
%if %{build_doc}
1c882e4
# haddock generates docs in libraries, but haddock 2.0 is not compatible
1c882e4
BuildRequires: libxslt, docbook-style-xsl, haddock09
01ca420
%endif
01ca420
01ca420
%description
01ca420
GHC is a state-of-the-art programming suite for Haskell, a purely
01ca420
functional programming language.  It includes an optimising compiler
01ca420
generating good code for a variety of platforms, together with an
01ca420
interactive system for convenient, quick development.  The
01ca420
distribution includes space and time profiling facilities, a large
01ca420
collection of libraries, and support for various language
01ca420
extensions, including concurrency, exceptions, and a foreign language
01ca420
interface.
01ca420
01ca420
%if %{build_prof}
1c882e4
%package prof
01ca420
Summary:	Profiling libraries for GHC
01ca420
Group:		Development/Libraries
1c882e4
Requires:	%{name} = %{version}-%{release}
1c882e4
Obsoletes:	ghc682-prof, ghc681-prof, ghc661-prof, ghc66-prof
01ca420
1c882e4
%description prof
01ca420
Profiling libraries for Glorious Glasgow Haskell Compilation System
01ca420
(GHC).  They should be installed when GHC's profiling subsystem is
01ca420
needed.
1c882e4
1c882e4
# this is a workaround for bug#467893 (ghc-prof and ghc682-prof obsoleting each other)
1c882e4
%package -n ghc682-prof
1c882e4
Summary:	ghc682-prof dummy package
1c882e4
Group:		Development/Libraries
1c882e4
1c882e4
%description -n ghc682-prof
1c882e4
This is a dummy package to workaround bug#467893.
01ca420
%endif
01ca420
01ca420
%package doc
01ca420
Summary:	Documentation for GHC
01ca420
Group:		Development/Languages
Bryan O'Sullivan e8ba9bc
Requires:	%{name} = %{version}-%{release}
1c882e4
Requires(post): haddock09
01ca420
01ca420
%description doc
01ca420
Preformatted documentation for the Glorious Glasgow Haskell
01ca420
Compilation System (GHC) and its libraries.  It should be installed if
01ca420
you like to have local access to the documentation in HTML format.
01ca420
01ca420
# the debuginfo subpackage is currently empty anyway, so don't generate it
01ca420
%define debug_package %{nil}
01ca420
01ca420
%prep
Bryan O'Sullivan cdb710f
%setup -q -n %{name}-%{version} -b1
1c882e4
%patch0 -p1 -b .0-haddock~
01ca420
01ca420
%build
84d437a
# hack for building a local test package quickly from a prebuilt tree 
Bryan O'Sullivan cdb710f
%if %{package_debugging}
84d437a
pushd ..
Bryan O'Sullivan cdb710f
rm -rf %{name}-%{version}
Bryan O'Sullivan cdb710f
cp -al %{name}-%{version}.built %{name}-%{version}
84d437a
popd
Bryan O'Sullivan cdb710f
exit 0
Bryan O'Sullivan cdb710f
%endif
Bryan O'Sullivan cdb710f
01ca420
%if !%{build_prof}
01ca420
echo "GhcLibWays=" >> mk/build.mk
01ca420
echo "GhcRTSWays=thr debug" >> mk/build.mk
01ca420
%endif
01ca420
84d437a
%if %{build_doc}
84d437a
echo "XMLDocWays   = html" >> mk/build.mk
84d437a
echo "HADDOCK_DOCS = YES" >> mk/build.mk
84d437a
%endif
84d437a
1c882e4
export HaddockCmd=%{_bindir}/haddock-0.9
1c882e4
Bryan O'Sullivan cdb710f
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
Bryan O'Sullivan cdb710f
  --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
Bryan O'Sullivan cdb710f
  --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
Bryan O'Sullivan cdb710f
  --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
bae7070
  --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir}
Bryan O'Sullivan d59db73
84d437a
make %{_smp_mflags}
84d437a
make %{_smp_mflags} -C libraries
2047747
01ca420
%if %{build_doc}
Bryan O'Sullivan d59db73
make %{_smp_mflags} html
01ca420
%endif
01ca420
01ca420
%install
01ca420
rm -rf $RPM_BUILD_ROOT
01ca420
84d437a
make DESTDIR=${RPM_BUILD_ROOT} install
01ca420
01ca420
%if %{build_doc}
84d437a
make DESTDIR=${RPM_BUILD_ROOT} install-docs
01ca420
%endif
01ca420
84d437a
# install rpm macros
84d437a
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm
84d437a
cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc
d8a1d24
01ca420
SRC_TOP=$PWD
01ca420
rm -f rpm-*-filelist rpm-*.files
01ca420
( cd $RPM_BUILD_ROOT
1c882e4
  find .%{_libdir}/%{name}-%{version} \( -type d -fprintf $SRC_TOP/rpm-dir.files "%%%%dir %%p\n" \) -o \( -type f \( -name '*.p_hi' -o -name '*_p.a' \) -fprint $SRC_TOP/rpm-prof.files \) -o \( -not -name 'package.conf*' -fprint $SRC_TOP/rpm-lib.files \)
1c882e4
  find .%{_docdir}/%{name}/* -type d ! -name libraries > $SRC_TOP/rpm-doc-dir.files
01ca420
)
01ca420
01ca420
# make paths absolute (filter "./usr" to "/usr")
01ca420
sed -i -e "s|\.%{_prefix}|%{_prefix}|" rpm-*.files
01ca420
01ca420
cat rpm-dir.files rpm-lib.files > rpm-base-filelist
01ca420
%if %{build_prof}
d8a1d24
cat rpm-prof.files > rpm-prof-filelist
01ca420
%endif
01ca420
84d437a
# these are handled as alternatives
1c882e4
for i in hsc2hs runhaskell; do
1c882e4
  if [ -x ${RPM_BUILD_ROOT}%{_bindir}/$i-ghc ]; then
1c882e4
    rm ${RPM_BUILD_ROOT}%{_bindir}/$i
1c882e4
  else
1c882e4
    mv ${RPM_BUILD_ROOT}%{_bindir}/$i{,-ghc}
1c882e4
  fi
1c882e4
done
8896457
01ca420
%clean
01ca420
rm -rf $RPM_BUILD_ROOT
01ca420
01ca420
%post
1c882e4
semanage fcontext -a -t unconfined_execmem_exec_t %{_libdir}/ghc-%{version}/{ghc-%{version},ghc-pkg.bin,hsc2hs-bin} >/dev/null 2>&1 || :
1c882e4
restorecon %{_libdir}/ghc-%{version}/{ghc-%{version},ghc-pkg.bin,hsc2hs-bin}
1c882e4
Bryan O'Sullivan cdb710f
# Alas, GHC, Hugs, and nhc all come with different set of tools in
Bryan O'Sullivan cdb710f
# addition to a runFOO:
Bryan O'Sullivan cdb710f
#
Bryan O'Sullivan cdb710f
#   * GHC:  hsc2hs
Bryan O'Sullivan cdb710f
#   * Hugs: hsc2hs, cpphs
Bryan O'Sullivan cdb710f
#   * nhc:  cpphs
Bryan O'Sullivan cdb710f
#
Bryan O'Sullivan cdb710f
# Therefore it is currently not possible to use --slave below to form
Bryan O'Sullivan cdb710f
# link groups under a single name 'runhaskell'. Either these tools
Bryan O'Sullivan cdb710f
# should be disentangled from the Haskell implementations, or all
Bryan O'Sullivan cdb710f
# implementations should have the same set of tools. *sigh*
Bryan O'Sullivan cdb710f
Bryan O'Sullivan cdb710f
update-alternatives --install %{_bindir}/runhaskell runhaskell \
Bryan O'Sullivan cdb710f
  %{_bindir}/runghc 500
Bryan O'Sullivan cdb710f
update-alternatives --install %{_bindir}/hsc2hs hsc2hs \
Bryan O'Sullivan cdb710f
  %{_bindir}/hsc2hs-ghc 500
8896457
1c882e4
%post doc
1c882e4
( cd %{_docdir}/ghc/libraries && ./gen_contents_index ) || :
8896457
Bryan O'Sullivan cdb710f
%preun
d8a1d24
if [ "$1" = 0 ]; then
Bryan O'Sullivan cdb710f
  update-alternatives --remove runhaskell %{_bindir}/runghc
Bryan O'Sullivan cdb710f
  update-alternatives --remove hsc2hs     %{_bindir}/hsc2hs-ghc
Bryan O'Sullivan cdb710f
fi
Bryan O'Sullivan cdb710f
1c882e4
%files -f rpm-base-filelist
01ca420
%defattr(-,root,root,-)
812b066
%doc ANNOUNCE HACKING LICENSE README
1c882e4
%doc %{_mandir}/man1/ghc.*
1c882e4
%{_bindir}/*
84d437a
%{_sysconfdir}/rpm/macros.ghc
01ca420
%config(noreplace) %{_libdir}/ghc-%{version}/package.conf
8896457
%ghost %{_libdir}/ghc-%{version}/package.conf.old
8896457
01ca420
%if %{build_prof}
1c882e4
%files prof -f rpm-prof-filelist
1c882e4
%defattr(-,root,root,-)
1c882e4
1c882e4
%files -n ghc682-prof
01ca420
%defattr(-,root,root,-)
01ca420
%endif
01ca420
01ca420
%if %{build_doc}
1c882e4
%files doc -f rpm-doc-dir.files
01ca420
%defattr(-,root,root,-)
1c882e4
%dir %{_docdir}/%{name}
1c882e4
%{_docdir}/%{name}/index.html
1c882e4
%{_docdir}/%{name}/libraries/gen_contents_index
1c882e4
%dir %{_docdir}/%{name}/libraries
1c882e4
%ghost %{_docdir}/%{name}/libraries/doc-index.html
1c882e4
%ghost %{_docdir}/%{name}/libraries/haddock.css
1c882e4
%ghost %{_docdir}/%{name}/libraries/haddock-util.js
1c882e4
%ghost %{_docdir}/%{name}/libraries/haskell_icon.gif
1c882e4
%ghost %{_docdir}/%{name}/libraries/index.html
1c882e4
%ghost %{_docdir}/%{name}/libraries/minus.gif
1c882e4
%ghost %{_docdir}/%{name}/libraries/plus.gif
01ca420
%endif
01ca420
8896457
01ca420
%changelog
d8a1d24
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 6.8.3-11
d8a1d24
- backport latest macros.ghc:
d8a1d24
d8a1d24
* Mon Dec  1 2008 Jens Petersen <petersen@redhat.com>
d8a1d24
- update macros.ghc to latest proposed revised packaging guidelines:
d8a1d24
  - use runghc
d8a1d24
  - drop trivial cabal_build and cabal_haddock macros
d8a1d24
  - ghc_register_pkg and ghc_unregister_pkg replace ghc_preinst_script,
d8a1d24
    ghc_postinst_script, ghc_preun_script, and ghc_postun_script
d8a1d24
- ghc-prof does not need to own libraries dirs owned by main package
d8a1d24
1c882e4
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-10.fc9
1c882e4
- remove redundant --haddockdir (interfacedir in Cabal-1.2) from cabal_configure
1c882e4
- add a ghc682-prof dummy package to stop ghc-prof and ghc682-prof obsoleting
1c882e4
  each other (reported by thingwath, #467893)
1c882e4
1c882e4
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-9
1c882e4
- use gen_contents_index to re-index haddock
1c882e4
- add %%pkg_docdir to cabal_configure
1c882e4
- requires(post) haddock09 for doc
1c882e4
- improve doc file lists
1c882e4
- no longer need to create ghost package.conf.old
1c882e4
- remove or rename alternatives files more consistently
1c882e4
1c882e4
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> 6.8.3-8
1c882e4
- Regenerate the haddock doc index automatically
1c882e4
- Update macros to fit in with this scheme
1c882e4
1c882e4
* Mon Oct 13 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-7
84d437a
- add selinux file context for unconfined_execmem following darcs package
1c882e4
1c882e4
* Wed Oct  1 2008 Bryan O'Sullivan <bos@serpentine.com> 6.8.3-6
1c882e4
* Rename hsc2hs to hsc2hs-ghc so the alternatives symlink to it will work
1c882e4
1c882e4
* Wed Sep 24 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-5
1c882e4
- bring back including haddock-generated lib docs, now under docdir/ghc
1c882e4
- fix macros.ghc filepath (#460304)
1c882e4
- spec file cleanups:
1c882e4
- fix the source urls back
84d437a
- drop requires chkconfig
84d437a
- do not override __spec_install_post
1c882e4
- setup docs building in build.mk
84d437a
- no longer need to remove network/include/Typeable.h
1c882e4
- install binaries under libdir not libexec
1c882e4
- remove hsc2hs and runhaskell binaries since they are alternatives
1c882e4
1c882e4
* Wed Sep 17 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-4
1c882e4
- add macros.ghc for new Haskell Packaging Guidelines (#460304)
1c882e4
1c882e4
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-3
1c882e4
- Add symlinks from _libdir, where ghc looks, to _libexecdir
1c882e4
- Patch libraries/gen_contents_index to use haddock-0.9
1c882e4
1c882e4
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-2
1c882e4
- Remove unnecessary dependency on alex
1c882e4
1c882e4
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-1
1c882e4
- Upgrade to 6.8.3
1c882e4
- Drop the ghc682-style naming scheme, obsolete those packages
1c882e4
- Manually strip binaries
84d437a
f7ca4db
* Tue Apr  8 2008 Jens Petersen <petersen@redhat.com> - 6.8.2-10
f7ca4db
- another rebuild attempt
ffb1cec
0a7ad4b
* Thu Feb 14 2008 Jens Petersen <petersen@redhat.com> - 6.8.2-9
bae7070
- remove unrecognized --docdir and --htmldir from configure
bae7070
- drop old buildrequires on libX11-devel and libXt-devel
0a7ad4b
- rebuild with gcc43
0a7ad4b
Bryan O'Sullivan 3d19441
* Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-7
Bryan O'Sullivan 3d19441
- More attempts to fix docdir
Bryan O'Sullivan 3d19441
Bryan O'Sullivan 3d19441
* Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-6
Bryan O'Sullivan 3d19441
- Fix docdir
Bryan O'Sullivan d59db73
Bryan O'Sullivan 7528b14
* Tue Dec 12 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-1
Bryan O'Sullivan 7528b14
- Update to 6.8.2
Bryan O'Sullivan 7528b14
Bryan O'Sullivan 8e74151
* Fri Nov 23 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.1-2
Bryan O'Sullivan 8e74151
- Exclude alpha
Bryan O'Sullivan 8e74151
Bryan O'Sullivan d59db73
* Thu Nov  8 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.1-2
Bryan O'Sullivan d59db73
- Drop bit-rotted attempts at making package relocatable
Bryan O'Sullivan d59db73
Bryan O'Sullivan e8ba9bc
* Sun Nov  4 2007 Michel Salim <michel.sylvan@gmail.com> - 6.8.1-1
Bryan O'Sullivan e8ba9bc
- Update to 6.8.1
Bryan O'Sullivan e8ba9bc
Bryan O'Sullivan a20a5e5
* Sat Sep 29 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.0.20070928-2
Bryan O'Sullivan a20a5e5
- add happy to BuildRequires
Bryan O'Sullivan a20a5e5
Bryan O'Sullivan cdb710f
* Sat Sep 29 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.0.20070928-1
Bryan O'Sullivan cdb710f
- prepare for GHC 6.8.1 by building a release candidate snapshot
Bryan O'Sullivan cdb710f
Bryan O'Sullivan 5ae9c57
* Thu May 10 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-3
Bryan O'Sullivan 5ae9c57
- install man page for ghc
Bryan O'Sullivan 5ae9c57
Bryan O'Sullivan 19c596b
* Thu May 10 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-2
Bryan O'Sullivan 19c596b
- exclude ppc64 for now, due to lack of time to bootstrap
Bryan O'Sullivan 19c596b
Bryan O'Sullivan 67f2135
* Wed May  9 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-1
Bryan O'Sullivan 67f2135
- update to 6.6.1 release
Bryan O'Sullivan 67f2135
2047747
* Mon Jan 22 2007 Jens Petersen <petersen@redhat.com> - 6.6-2
2047747
- remove truncated duplicate Typeable.h header in network package
2047747
  (Bryan O'Sullivan, #222865)
2047747
812b066
* Fri Nov  3 2006 Jens Petersen <petersen@redhat.com> - 6.6-1
812b066
- update to 6.6 release
812b066
- buildrequire haddock >= 0.8
812b066
- fix summary of ghcver package (Michel Salim, #209574)
812b066
4eb22b2
* Thu Sep 28 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-4
4eb22b2
- turn on docs generation again
4eb22b2
8896457
* Mon Sep 25 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-3.fc6
8896457
- ghost package.conf.old (Gérard Milmeister)
8896457
- set unconfined_execmem_exec_t context on executables with ghc rts (#195821)
a97ca19
- turn off building docs until haddock is back
8896457
64398ad
* Sat Apr 29 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-2.fc6
64398ad
- buildrequire libXt-devel so that the X11 package and deps get built
64398ad
  (Garrett Mitchener, #190201)
64398ad
64398ad
* Thu Apr 20 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-1.fc6
9c5a6c2
- update to 6.4.2 release
9c5a6c2
9c5a6c2
* Thu Mar  2 2006 Jens Petersen <petersen@redhat.com> - 6.4.1-3.fc5
c12a20f
- buildrequire libX11-devel instead of xorg-x11-devel (Kevin Fenzi, #181024)
c12a20f
- make ghc-doc require ghc (Michel Salim, #180449)
c12a20f
9c5a6c2
* Tue Oct 11 2005 Jens Petersen <petersen@redhat.com> - 6.4.1-2.fc5
3c45d54
- turn on build_doc since haddock is now in Extras
1ae0da0
- no longer specify ghc version to build with (Ville Skyttä, #170176)
3c45d54
9c5a6c2
* Tue Sep 20 2005 Jens Petersen <petersen@redhat.com> - 6.4.1-1.fc5
af099c0
- 6.4.1 release
af099c0
  - the following patches are now upstream: ghc-6.4-powerpc.patch,
af099c0
    rts-GCCompact.h-x86_64.patch, ghc-6.4-dsforeign-x86_64-1097471.patch,
af099c0
    ghc-6.4-rts-adjustor-x86_64-1097471.patch
af099c0
  - builds with gcc4 so drop %%_with_gcc32
af099c0
  - x86_64 build restrictions (no ghci and split objects) no longer apply
af099c0
a677d5c
* Tue May 31 2005 Jens Petersen <petersen@redhat.com>
a677d5c
- add %%dist to release
a677d5c
01ca420
* Thu May 12 2005 Jens Petersen <petersen@redhat.com> - 6.4-8
01ca420
- initial import into Fedora Extras
01ca420
01ca420
* Thu May 12 2005 Jens Petersen <petersen@haskell.org>
01ca420
- add build_prof and build_doc switches for -doc and -prof subpackages
01ca420
- add _with_gcc32 switch since ghc-6.4 doesn't build with gcc-4.0
01ca420
01ca420
* Wed May 11 2005 Jens Petersen <petersen@haskell.org> - 6.4-7
01ca420
- make package relocatable (ghc#1084122)
01ca420
  - add post install scripts to replace prefix in driver scripts
01ca420
- buildrequire libxslt and docbook-style-xsl instead of docbook-utils and flex
01ca420
01ca420
* Fri May  6 2005 Jens Petersen <petersen@haskell.org> - 6.4-6
01ca420
- add ghc-6.4-dsforeign-x86_64-1097471.patch and
01ca420
  ghc-6.4-rts-adjustor-x86_64-1097471.patch from trunk to hopefully fix
01ca420
  ffi support on x86_64 (Simon Marlow, ghc#1097471)
01ca420
- use XMLDocWays instead of SGMLDocWays to build documentation fully
01ca420
01ca420
* Mon May  2 2005 Jens Petersen <petersen@haskell.org> - 6.4-5
01ca420
- add rts-GCCompact.h-x86_64.patch to fix GC issue on x86_64 (Simon Marlow)
01ca420
01ca420
* Thu Mar 17 2005 Jens Petersen <petersen@haskell.org> - 6.4-4
01ca420
- add ghc-6.4-powerpc.patch (Ryan Lortie)
01ca420
- disable building interpreter rather than install and delete on x86_64
01ca420
01ca420
* Wed Mar 16 2005 Jens Petersen <petersen@haskell.org> - 6.4-3
01ca420
- make ghc require ghcver of same ver-rel
01ca420
- on x86_64 remove ghci for now since it doesn't work and all .o files
01ca420
01ca420
* Tue Mar 15 2005 Jens Petersen <petersen@haskell.org> - 6.4-2
01ca420
- ghc requires ghcver (Amanda Clare)
01ca420
01ca420
* Sat Mar 12 2005 Jens Petersen <petersen@haskell.org> - 6.4-1
01ca420
- 6.4 release
01ca420
  - x86_64 build no longer unregisterised
01ca420
- use sed instead of perl to tidy filelists
01ca420
- buildrequire ghc64 instead of ghc-6.4
01ca420
- no epoch for ghc64-prof's ghc64 requirement
01ca420
- install docs directly in docdir
01ca420
01ca420
* Fri Jan 21 2005 Jens Petersen <petersen@haskell.org> - 6.2.2-2
01ca420
- add x86_64 port
01ca420
  - build unregistered and without splitobjs
01ca420
  - specify libdir to configure and install
01ca420
- rename ghc-prof to ghcXYZ-prof, which obsoletes ghc-prof
01ca420
01ca420
* Mon Dec  6 2004 Jens Petersen <petersen@haskell.org> - 6.2.2-1
01ca420
- move ghc requires to ghcXYZ
01ca420
01ca420
* Wed Nov 24 2004 Jens Petersen <petersen@haskell.org> - 6.2.2-0.fdr.1
01ca420
- ghc622
01ca420
  - provide ghc = %%version
01ca420
- require gcc, gmp-devel and readline-devel
01ca420
01ca420
* Fri Oct 15 2004 Gerard Milmeister <gemi@bluewin.ch> - 6.2.2-0.fdr.1
01ca420
- New Version 6.2.2
01ca420
01ca420
* Mon Mar 22 2004 Gerard Milmeister <gemi@bluewin.ch> - 6.2.1-0.fdr.1
01ca420
- New Version 6.2.1
01ca420
01ca420
* Tue Dec 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.2-0.fdr.1
01ca420
- New Version 6.2
01ca420
01ca420
* Tue Dec 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.3
01ca420
- A few minor specfile tweaks
01ca420
01ca420
* Mon Dec 15 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.2
01ca420
- Different file list generation
01ca420
01ca420
* Mon Oct 20 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.1
01ca420
- First Fedora release
01ca420
- Added generated html docs, so that haddock is not needed
01ca420
01ca420
* Wed Sep 26 2001 Manuel Chakravarty
01ca420
- small changes for 5.04
01ca420
01ca420
* Wed Sep 26 2001 Manuel Chakravarty
01ca420
- split documentation off into a separate package
01ca420
- adapt to new docbook setup in RH7.1
01ca420
01ca420
* Mon Apr 16 2001 Manuel Chakravarty
01ca420
- revised for 5.00
01ca420
- also runs autoconf automagically if no ./configure found
01ca420
01ca420
* Thu Jun 22 2000 Sven Panne
01ca420
- removed explicit usage of hslibs/docs, it belongs to ghc/docs/set
01ca420
01ca420
* Sun Apr 23 2000 Manuel Chakravarty
01ca420
- revised for ghc 4.07; added suggestions from Pixel <pixel@mandrakesoft.com>
01ca420
- added profiling package
01ca420
01ca420
* Tue Dec 7 1999 Manuel Chakravarty
01ca420
- version for use from CVS
01ca420
01ca420
* Thu Sep 16 1999 Manuel Chakravarty
01ca420
- modified for GHC 4.04, patchlevel 1 (no more 62 tuple stuff); minimises use
01ca420
  of patch files - instead emits a build.mk on-the-fly
01ca420
01ca420
* Sat Jul 31 1999 Manuel Chakravarty
01ca420
- modified for GHC 4.04
01ca420
01ca420
* Wed Jun 30 1999 Manuel Chakravarty
01ca420
- some more improvements from vbzoli
01ca420
01ca420
* Fri Feb 26 1999 Manuel Chakravarty
01ca420
- modified for GHC 4.02
01ca420
01ca420
* Thu Dec 24 1998 Zoltan Vorosbaranyi 
01ca420
- added BuildRoot
01ca420
- files located in /usr/local/bin, /usr/local/lib moved to /usr/bin, /usr/lib
01ca420
01ca420
* Tue Jul 28 1998 Manuel Chakravarty
01ca420
- original version