7debd90
# test builds can made faster by disabling profiled libraries
7debd90
%bcond_without prof
7debd90
%bcond_without doc
01ca420
2e71ab8
# Fixing packaging problems can be a tremendous pain because it
2e71ab8
# generally requires a complete rebuild, which takes hours.  To offset
2e71ab8
# the misery, do a complete build once using "rpmbuild -bc", then copy
2e71ab8
# your built tree to a directory of the same name suffixed with
2e71ab8
# ".built", using "cp -al".  Finally, set this variable, and it will
2e71ab8
# copy the already-built tree into place during build instead of
2e71ab8
# actually doing the build.
2e71ab8
#
2e71ab8
# Obviously, this can only work if you leave the build section
2e71ab8
# completely untouched between builds.
7debd90
%global package_debugging 0
2e71ab8
34b48fd
Name: ghc
Bryan O'Sullivan 1b7e30e
Version: 6.10.2
7b1f4da
Release: 2%{?dist}
34b48fd
Summary: Glasgow Haskell Compilation system
34b48fd
# fedora ghc has only been bootstrapped on the following archs:
34b48fd
ExclusiveArch: %{ix86} x86_64 ppc alpha
34b48fd
License: BSD
34b48fd
Group: Development/Languages
34b48fd
Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
34b48fd
Source1: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2
7b1f4da
# /etc/rpm/macros.ghc
34b48fd
Source2: ghc-rpm-macros.ghc
7b1f4da
# /usr/lib/rpm/ghc-requires
7b1f4da
Source3: ghc-rpm-requires
34b48fd
URL: http://haskell.org/ghc/
cc989bb
# libedit-devel > 2.11-2 correctly requires ncurses-devel
34b48fd
Requires: gcc, gmp-devel, libedit-devel > 2.11-2
3c43e38
Requires(post): policycoreutils
34b48fd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
34b48fd
Obsoletes: ghc682, ghc681, ghc661, ghc66, haddock <= 2.0.0.0, haddock09
3c43e38
# introduced for f11 and to be removed for f13:
34b48fd
Provides: haddock = 2.3.0
34b48fd
BuildRequires: ghc, happy, sed
34b48fd
BuildRequires: gmp-devel, libedit-devel > 2.11-2
7debd90
%if %{with doc}
Bryan O'Sullivan a8b8189
BuildRequires: libxslt, docbook-style-xsl
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
7debd90
%if %{with prof}
Bryan O'Sullivan fb0f222
%package prof
34b48fd
Summary: Profiling libraries for GHC
34b48fd
Group: Development/Libraries
34b48fd
Requires: %{name} = %{version}-%{release}
34b48fd
Obsoletes: ghc682-prof, ghc681-prof, ghc661-prof, ghc66-prof
01ca420
Bryan O'Sullivan fb0f222
%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.
01ca420
%endif
01ca420
01ca420
%package doc
34b48fd
Summary: Documentation for GHC
34b48fd
Group: Development/Languages
34b48fd
Requires: %{name} = %{version}-%{release}
c7ae1a2
# for haddock
0682b80
Requires(posttrans): %{name} = %{version}-%{release}
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
7debd90
%global debug_package %{nil}
01ca420
01ca420
%prep
Bryan O'Sullivan cdb710f
%setup -q -n %{name}-%{version} -b1
Bryan O'Sullivan 92410e9
01ca420
%build
2e71ab8
# hack for building a local test package quickly from a prebuilt tree 
2e71ab8
%if %{package_debugging}
2e71ab8
pushd ..
2e71ab8
rm -rf %{name}-%{version}
2e71ab8
cp -al %{name}-%{version}.built %{name}-%{version}
2e71ab8
popd
2e71ab8
exit 0
2e71ab8
%endif
2e71ab8
7debd90
%if !%{with prof}
01ca420
echo "GhcLibWays=" >> mk/build.mk
01ca420
echo "GhcRTSWays=thr debug" >> mk/build.mk
01ca420
%endif
01ca420
7debd90
%if %{with doc}
2a4aeca
echo "XMLDocWays   = html" >> mk/build.mk
2a4aeca
echo "HADDOCK_DOCS = YES" >> mk/build.mk
2a4aeca
%endif
2a4aeca
6a740e4
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
6a740e4
  --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
6a740e4
  --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
6a740e4
  --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
6a740e4
  --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir}
2a4aeca
2a4aeca
make %{_smp_mflags}
2a4aeca
make %{_smp_mflags} -C libraries
2a4aeca
7debd90
%if %{with doc}
Bryan O'Sullivan d59db73
make %{_smp_mflags} html
01ca420
%endif
01ca420
01ca420
%install
01ca420
rm -rf $RPM_BUILD_ROOT
01ca420
2a4aeca
make DESTDIR=${RPM_BUILD_ROOT} install
Bryan O'Sullivan 860e5f3
7debd90
%if %{with doc}
2a4aeca
make DESTDIR=${RPM_BUILD_ROOT} install-docs
01ca420
%endif
01ca420
d85f6b0
# install rpm macros
2a4aeca
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm
97f3676
cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc
7b1f4da
# rpm script for ghc version deps
7b1f4da
mkdir -p ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpm
7b1f4da
cp -p %{SOURCE3} ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpm/ghc-requires
0682b80
01ca420
SRC_TOP=$PWD
01ca420
rm -f rpm-*-filelist rpm-*.files
01ca420
( cd $RPM_BUILD_ROOT
c7ae1a2
  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 \)
c7ae1a2
  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
7debd90
%if %{with prof}
ad8913e
cat rpm-prof.files > rpm-prof-filelist
01ca420
%endif
01ca420
2a4aeca
# these are handled as alternatives
c7ae1a2
for i in hsc2hs runhaskell; do
c7ae1a2
  if [ -x ${RPM_BUILD_ROOT}%{_bindir}/$i-ghc ]; then
c7ae1a2
    rm ${RPM_BUILD_ROOT}%{_bindir}/$i
c7ae1a2
  else
c7ae1a2
    mv ${RPM_BUILD_ROOT}%{_bindir}/$i{,-ghc}
c7ae1a2
  fi
c7ae1a2
done
8896457
01ca420
%clean
01ca420
rm -rf $RPM_BUILD_ROOT
01ca420
01ca420
%post
3c43e38
semanage fcontext -a -t unconfined_execmem_exec_t %{_libdir}/ghc-%{version}/ghc >/dev/null 2>&1 || :
c7ae1a2
restorecon %{_libdir}/ghc-%{version}/ghc
3c43e38
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
6c9b784
# posttrans to make sure any old documentation has been removed first
6c9b784
%posttrans doc
c7ae1a2
( cd %{_docdir}/ghc/libraries && ./gen_contents_index ) || :
Bryan O'Sullivan 354d10e
Bryan O'Sullivan cdb710f
%preun
6c9b784
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
Bryan O'Sullivan fb0f222
%files -f rpm-base-filelist
01ca420
%defattr(-,root,root,-)
812b066
%doc ANNOUNCE HACKING LICENSE README
Bryan O'Sullivan fb0f222
%doc %{_mandir}/man1/ghc.*
Bryan O'Sullivan fb0f222
%{_bindir}/*
97f3676
%{_sysconfdir}/rpm/macros.ghc
01ca420
%config(noreplace) %{_libdir}/ghc-%{version}/package.conf
7b1f4da
%attr(755,root,root) %{_prefix}/lib/rpm/ghc-requires
01ca420
7debd90
%if %{with prof}
Bryan O'Sullivan fb0f222
%files prof -f rpm-prof-filelist
01ca420
%defattr(-,root,root,-)
01ca420
%endif
01ca420
7debd90
%if %{with doc}
c7ae1a2
%files doc -f rpm-doc-dir.files
01ca420
%defattr(-,root,root,-)
574cea7
%dir %{_docdir}/%{name}
574cea7
%{_docdir}/%{name}/LICENSE
c7ae1a2
%{_docdir}/%{name}/index.html
574cea7
%{_docdir}/%{name}/libraries/gen_contents_index
Bryan O'Sullivan 6e90088
%{_docdir}/%{name}/libraries/prologue.txt
574cea7
%dir %{_docdir}/%{name}/libraries
574cea7
%ghost %{_docdir}/%{name}/libraries/doc-index.html
574cea7
%ghost %{_docdir}/%{name}/libraries/haddock.css
574cea7
%ghost %{_docdir}/%{name}/libraries/haddock-util.js
574cea7
%ghost %{_docdir}/%{name}/libraries/haskell_icon.gif
574cea7
%ghost %{_docdir}/%{name}/libraries/index.html
574cea7
%ghost %{_docdir}/%{name}/libraries/minus.gif
574cea7
%ghost %{_docdir}/%{name}/libraries/plus.gif
01ca420
%endif
01ca420
01ca420
%changelog
7b1f4da
* Sun Apr 19 2009 Jens Petersen <petersen@redhat.com> - 6.10.2-2
7b1f4da
- add ghc-requires rpm script to generate ghc version dependencies
7b1f4da
  (thanks to Till Maas)
7b1f4da
- update macros.ghc:
7b1f4da
  - add %%ghcrequires to call above script
7b1f4da
  - pkg_libdir and pkg_docdir obsoleted in packages and replaced
7b1f4da
    by ghcpkgdir and ghcdocdir inside macros.ghc
7b1f4da
  - make filelist also for docs
7b1f4da
Bryan O'Sullivan 1b7e30e
* Wed Apr 08 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.10.2-1
Bryan O'Sullivan 1b7e30e
- Update to 6.10.2
Bryan O'Sullivan 1b7e30e
34b48fd
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-13
34b48fd
- ok let's stick with ExclusiveArch for brevity
34b48fd
a5fa326
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-12
a5fa326
- drop ghc_archs since it breaks koji
a5fa326
- fix missing -devel in ghc_gen_filelists
a5fa326
- change from ExclusiveArch to ExcludeArch ppc64 since alpha was bootstrapped
a5fa326
  by oliver
a5fa326
7debd90
* Wed Feb 25 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-11
7debd90
- use %%ix86 for change from i386 to i586 in rawhide
7debd90
- add ghc_archs macro in macros.ghc for other packages
7debd90
- obsolete haddock09
7debd90
- use %%global instead of %%define
7debd90
- use bcond for doc and prof
7debd90
- rename ghc_gen_filelists lib filelist to -devel.files
7debd90
a00f693
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.1-10
a00f693
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a00f693
6269f30
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-9
0eea3c5
- require and buildrequire libedit-devel > 2.11-2
0eea3c5
- protect ghc_register_pkg and ghc_unregister_pkg
0eea3c5
1acf5c7
* Fri Jan 23 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-8
1acf5c7
- fix to libedit means can drop ncurses-devel BR workaround (#481252)
1acf5c7
e74c429
* Mon Jan 19 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-7
001d345
- buildrequire ncurses-devel to fix build of missing editline package needed
001d345
  for ghci line-editing (#478466)
a5fa326
- move spec templates to cabal2spec package for easy updating
65d3718
- provide correct haddock version
644d44d
ad8913e
* Mon Dec  1 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-6
ad8913e
- update macros.ghc to latest proposed revised packaging guidelines:
ad8913e
  - use runghc
18d2312
  - drop trivial cabal_build and cabal_haddock macros
ad8913e
  - ghc_register_pkg and ghc_unregister_pkg replace ghc_preinst_script,
ad8913e
    ghc_postinst_script, ghc_preun_script, and ghc_postun_script
ad8913e
- library templates prof subpackage requires main library again
74a3f25
- make cabal2spec work on .cabal files too, and
ad8913e
  read and check name and version directly from .cabal file
ad8913e
- ghc-prof does not need to own libraries dirs owned by main package
74a3f25
0682b80
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-5
b17255a
- add cabal2spec and template files for easy cabal hackage packaging
0682b80
- simplify script macros: make ghc_preinst_script and ghc_postun_script no-ops
0682b80
  and ghc_preun_script only unregister for uninstall
0682b80
6c9b784
* Tue Nov 11 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-4
6c9b784
- fix broken urls to haddock docs created by gen_contents_index script
6c9b784
- avoid haddock errors when upgrading by making doc post script posttrans
6c9b784
Bryan O'Sullivan 6e90088
* Wed Nov 05 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-3
Bryan O'Sullivan 6e90088
- libraries/prologue.txt should not have been ghosted
Bryan O'Sullivan 6e90088
Bryan O'Sullivan cd0fae4
* Tue Nov 04 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-2
Bryan O'Sullivan cd0fae4
- Fix a minor packaging glitch
Bryan O'Sullivan cd0fae4
Bryan O'Sullivan 378558c
* Tue Nov 04 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-1
1acf5c7
- Update to 6.10.1
Bryan O'Sullivan 378558c
ab507b7
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-9
ab507b7
- remove redundant --haddockdir from cabal_configure
ab507b7
- actually ghc-pkg no longer seems to create package.conf.old backups
ab507b7
- include LICENSE in doc
ab507b7
a8cf709
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-8
a8cf709
- need to create ghost package.conf.old for ghc-6.10
a8cf709
c7ae1a2
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-7
c7ae1a2
- use gen_contents_index to re-index haddock
c7ae1a2
- add %%pkg_docdir to cabal_configure
c7ae1a2
- requires(post) ghc for haddock for doc
c7ae1a2
- improve doc file lists
c7ae1a2
- no longer need to create ghost package.conf.old
c7ae1a2
- remove or rename alternatives files more consistently
c7ae1a2
Bryan O'Sullivan cb5a89f
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-6
Bryan O'Sullivan cb5a89f
- Update macros to install html and haddock bits in the right places
Bryan O'Sullivan cb5a89f
Bryan O'Sullivan 8a484b3
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-5
Bryan O'Sullivan 8a484b3
- Don't use a macro to update the docs for the main doc package
Bryan O'Sullivan 8a484b3
Bryan O'Sullivan 8a484b3
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-4
Bryan O'Sullivan 354d10e
- Add ghc_haddock_reindex macro
Bryan O'Sullivan 354d10e
- Generate haddock index after installing ghc-doc package
Bryan O'Sullivan 354d10e
3c43e38
* Mon Oct 13 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-3
3c43e38
- provide haddock = 2.2.2
3c43e38
- add selinux file context for unconfined_execmem following darcs package
3c43e38
- post requires policycoreutils
3c43e38
Bryan O'Sullivan a8b8189
* Sun Oct 12 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-2.fc10
Bryan O'Sullivan a8b8189
- Use libedit in preference to readline, for BSD license consistency
Bryan O'Sullivan a8b8189
- With haddock bundled now, obsolete standalone versions (but not haddock09)
Bryan O'Sullivan a8b8189
- Drop obsolete freeglut-devel, openal-devel, and haddock09 dependencies
Bryan O'Sullivan a8b8189
Bryan O'Sullivan a8b8189
* Sun Oct 12 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-1.fc10
Bryan O'Sullivan a8b8189
- Update to 6.10.1 release candidate 1
Bryan O'Sullivan a8b8189
Bryan O'Sullivan a8b8189
* Wed Oct  1 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20080921-1.fc10
Bryan O'Sullivan a8b8189
- Drop unneeded haddock patch
Bryan O'Sullivan a8b8189
- Rename hsc2hs to hsc2hs-ghc so the alternatives symlink to it will work
Bryan O'Sullivan ef6ff25
c7ae1a2
* Wed Sep 24 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-5
c5b8789
- bring back including haddock-generated lib docs, now under docdir/ghc
2a4aeca
- fix macros.ghc filepath (#460304)
2a4aeca
- spec file cleanups:
2a4aeca
- fix the source urls back
2a4aeca
- drop requires chkconfig
2a4aeca
- do not override __spec_install_post
2a4aeca
- setup docs building in build.mk
2a4aeca
- no longer need to remove network/include/Typeable.h
2a4aeca
- install binaries under libdir not libexec
c7ae1a2
- remove hsc2hs and runhaskell binaries since they are alternatives
2a4aeca
c7ae1a2
* Wed Sep 17 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-4
d85f6b0
- add macros.ghc for new Haskell Packaging Guidelines (#460304)
d85f6b0
Bryan O'Sullivan 860e5f3
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-3
Bryan O'Sullivan 860e5f3
- Add symlinks from _libdir, where ghc looks, to _libexecdir
Bryan O'Sullivan 860e5f3
- Patch libraries/gen_contents_index to use haddock-0.9
Bryan O'Sullivan 860e5f3
Bryan O'Sullivan 34b478a
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-2
Bryan O'Sullivan 34b478a
- Remove unnecessary dependency on alex
Bryan O'Sullivan 34b478a
Bryan O'Sullivan fb0f222
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-1
Bryan O'Sullivan fb0f222
- Upgrade to 6.8.3
Bryan O'Sullivan fb0f222
- Drop the ghc682-style naming scheme, obsolete those packages
Bryan O'Sullivan fb0f222
- Manually strip binaries
Bryan O'Sullivan fb0f222
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