2009-12-11 18:40:16 +00:00
|
|
|
## default enabled options ##
|
2011-01-31 05:17:56 +00:00
|
|
|
# haskell shared library support available in 6.12 and later for x86*
|
2009-12-11 18:40:16 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%bcond_without shared
|
|
|
|
%endif
|
2009-12-12 10:47:38 +00:00
|
|
|
%bcond_without doc
|
2009-04-28 09:45:16 +00:00
|
|
|
# test builds can made faster and smaller by disabling profiled libraries
|
2009-05-22 04:29:13 +00:00
|
|
|
# (currently libHSrts_thr_p.a breaks no prof build)
|
2009-02-25 06:51:56 +00:00
|
|
|
%bcond_without prof
|
2009-12-12 10:47:38 +00:00
|
|
|
# build xml manuals (users_guide, etc)
|
2009-11-23 12:43:54 +00:00
|
|
|
%bcond_without manual
|
2010-04-23 04:09:50 +00:00
|
|
|
# run testsuite
|
|
|
|
%bcond_without testsuite
|
2010-06-20 13:01:02 +00:00
|
|
|
# include colored html src
|
|
|
|
%bcond_without hscolour
|
2010-11-16 07:41:09 +00:00
|
|
|
# use system libffi
|
|
|
|
%bcond_without libffi
|
2009-12-11 18:40:16 +00:00
|
|
|
|
|
|
|
## default disabled options ##
|
|
|
|
# quick build profile
|
|
|
|
%bcond_with quick
|
2009-04-28 09:45:16 +00:00
|
|
|
|
2010-01-10 16:03:50 +00:00
|
|
|
# the debuginfo subpackage is currently empty anyway, so don't generate it
|
|
|
|
%global debug_package %{nil}
|
2008-09-26 07:14:14 +00:00
|
|
|
|
2009-02-27 03:44:31 +00:00
|
|
|
Name: ghc
|
2010-12-30 02:06:23 +00:00
|
|
|
# haskell-platform-2011.1.0.0
|
2010-11-16 07:41:09 +00:00
|
|
|
Version: 7.0.1
|
2011-01-05 12:34:43 +00:00
|
|
|
# can't be reset - used by versioned library subpackages
|
2011-01-31 05:17:56 +00:00
|
|
|
Release: 7%{?dist}
|
2009-02-27 03:44:31 +00:00
|
|
|
Summary: Glasgow Haskell Compilation system
|
|
|
|
# fedora ghc has only been bootstrapped on the following archs:
|
2009-11-23 12:43:54 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
2009-02-27 03:44:31 +00:00
|
|
|
License: BSD
|
|
|
|
Group: Development/Languages
|
|
|
|
Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
|
2010-05-28 06:40:59 +00:00
|
|
|
%if %{with testsuite}
|
2010-04-23 04:09:50 +00:00
|
|
|
Source2: http://www.haskell.org/ghc/dist/%{version}/testsuite-%{version}.tar.bz2
|
2010-05-28 06:40:59 +00:00
|
|
|
%endif
|
2010-11-04 08:41:32 +00:00
|
|
|
Source3: ghc-doc-index.cron
|
2009-02-27 03:44:31 +00:00
|
|
|
URL: http://haskell.org/ghc/
|
2010-07-15 13:48:00 +00:00
|
|
|
# introduced for f14
|
|
|
|
Obsoletes: ghc-doc < 6.12.3-4
|
|
|
|
Provides: ghc-doc = %{version}-%{release}
|
2010-04-23 06:01:01 +00:00
|
|
|
# introduced for f11
|
|
|
|
Obsoletes: haddock < 2.4.2-3, ghc-haddock-devel < 2.4.2-3
|
2010-07-15 13:48:00 +00:00
|
|
|
Obsoletes: ghc-haddock-doc < 2.4.2-3
|
2011-01-05 12:34:43 +00:00
|
|
|
# introduced for f15
|
|
|
|
Obsoletes: ghc-libs < 7.0.1-3
|
|
|
|
BuildRequires: ghc, ghc-rpm-macros >= 0.11.1
|
2010-11-23 14:41:15 +00:00
|
|
|
BuildRequires: gmp-devel, libffi-devel
|
2011-01-12 23:05:28 +00:00
|
|
|
BuildRequires: ghc-directory-devel, ghc-process-devel, ghc-pretty-devel, ghc-containers-devel, ghc-haskell98-devel, ghc-bytestring-devel
|
|
|
|
# for internal terminfo
|
2010-11-23 14:41:15 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2011-01-05 12:34:43 +00:00
|
|
|
Requires: gcc
|
|
|
|
Requires: ghc-base-devel
|
2010-11-16 07:41:09 +00:00
|
|
|
# llvm is an optional dependency
|
2009-11-23 12:43:54 +00:00
|
|
|
%if %{with manual}
|
|
|
|
BuildRequires: libxslt, docbook-style-xsl
|
2009-04-28 10:09:37 +00:00
|
|
|
%endif
|
2009-04-28 09:45:16 +00:00
|
|
|
%if %{with hscolour}
|
|
|
|
BuildRequires: hscolour
|
|
|
|
%endif
|
2010-04-23 06:01:01 +00:00
|
|
|
%if %{with testsuite}
|
|
|
|
BuildRequires: python
|
|
|
|
%endif
|
2009-12-12 11:34:17 +00:00
|
|
|
Patch1: ghc-6.12.1-gen_contents_index-haddock-path.patch
|
2010-11-04 06:48:25 +00:00
|
|
|
Patch2: ghc-gen_contents_index-type-level.patch
|
2010-11-04 08:50:53 +00:00
|
|
|
Patch3: ghc-gen_contents_index-cron-batch.patch
|
2010-11-05 08:28:54 +00:00
|
|
|
Patch4: ghc-use-system-libffi.patch
|
2011-01-22 05:16:08 +00:00
|
|
|
# add cabal configure option --enable-executable-dynamic
|
|
|
|
# (see http://hackage.haskell.org/trac/hackage/ticket/600)
|
|
|
|
Patch5: Cabal-option-executable-dynamic.patch
|
2005-05-12 07:37:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
GHC is a state-of-the-art programming suite for Haskell, a purely
|
2011-01-05 12:34:43 +00:00
|
|
|
functional programming language. It includes an optimizing compiler
|
2005-05-12 07:37:43 +00:00
|
|
|
generating good code for a variety of platforms, together with an
|
|
|
|
interactive system for convenient, quick development. The
|
|
|
|
distribution includes space and time profiling facilities, a large
|
|
|
|
collection of libraries, and support for various language
|
|
|
|
extensions, including concurrency, exceptions, and a foreign language
|
|
|
|
interface.
|
|
|
|
|
2011-01-05 12:34:43 +00:00
|
|
|
%global ghc_version_override %{version}
|
|
|
|
|
2011-01-22 08:10:46 +00:00
|
|
|
%if 0%{?ghclibdir:1}
|
2011-01-05 12:34:43 +00:00
|
|
|
%ghc_binlib_package Cabal 1.10.0.0
|
|
|
|
%ghc_binlib_package array 0.3.0.2
|
|
|
|
%ghc_binlib_package -c gmp-devel,libffi-devel base 4.3.0.0
|
|
|
|
%ghc_binlib_package bin-package-db 0.0.0.0
|
|
|
|
%ghc_binlib_package bytestring 0.9.1.8
|
|
|
|
%ghc_binlib_package containers 0.4.0.0
|
|
|
|
%ghc_binlib_package directory 1.1.0.0
|
|
|
|
%ghc_binlib_package extensible-exceptions 0.1.1.2
|
|
|
|
%ghc_binlib_package filepath 1.2.0.0
|
2011-01-22 05:16:08 +00:00
|
|
|
%ghc_binlib_package -x ghc %{ghc_version_override}
|
2011-01-05 12:34:43 +00:00
|
|
|
%ghc_binlib_package haskell2010 1.0.0.0
|
|
|
|
%ghc_binlib_package haskell98 1.1.0.0
|
|
|
|
%ghc_binlib_package hpc 0.5.0.6
|
|
|
|
%ghc_binlib_package old-locale 1.0.0.2
|
|
|
|
%ghc_binlib_package old-time 1.0.0.6
|
|
|
|
%ghc_binlib_package pretty 1.0.1.2
|
|
|
|
%ghc_binlib_package process 1.0.1.4
|
|
|
|
%ghc_binlib_package random 1.0.0.3
|
|
|
|
%ghc_binlib_package template-haskell 2.5.0.0
|
|
|
|
%ghc_binlib_package time 1.2.0.3
|
|
|
|
%ghc_binlib_package unix 2.4.1.0
|
2011-01-06 08:01:41 +00:00
|
|
|
%endif
|
2011-01-05 12:34:43 +00:00
|
|
|
|
|
|
|
%global version %{ghc_version_override}
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: GHC development libraries meta package
|
2009-04-28 09:45:16 +00:00
|
|
|
Group: Development/Libraries
|
2011-01-05 12:48:11 +00:00
|
|
|
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/ghc-\1-devel = \2,/g")}
|
2009-04-28 09:45:16 +00:00
|
|
|
|
2011-01-05 12:34:43 +00:00
|
|
|
%description devel
|
|
|
|
This is a meta-package for all the development library packages in GHC.
|
2009-04-28 09:45:16 +00:00
|
|
|
|
2009-05-30 06:16:53 +00:00
|
|
|
%if %{with prof}
|
|
|
|
%package prof
|
2011-01-05 12:34:43 +00:00
|
|
|
Summary: GHC profiling libraries meta-package
|
2009-05-30 06:16:53 +00:00
|
|
|
Group: Development/Libraries
|
2011-01-05 12:48:11 +00:00
|
|
|
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/ghc-\1-prof = \2,/g")}
|
2010-04-23 06:01:01 +00:00
|
|
|
Obsoletes: ghc-haddock-prof < 2.4.2-3
|
2009-05-30 06:16:53 +00:00
|
|
|
|
|
|
|
%description prof
|
2011-01-05 12:34:43 +00:00
|
|
|
This is a meta-package for all the profiling library packages in GHC.
|
2009-11-23 12:43:54 +00:00
|
|
|
They should be installed when GHC's profiling subsystem is needed.
|
2010-01-10 16:03:50 +00:00
|
|
|
%endif
|
2009-12-11 18:40:16 +00:00
|
|
|
|
2005-05-12 07:37:43 +00:00
|
|
|
%prep
|
2011-01-05 12:34:43 +00:00
|
|
|
%setup -q -n %{name}-%{version} %{?with_testsuite:-b2}
|
2010-01-10 16:03:50 +00:00
|
|
|
# absolute haddock path (was for html/libraries -> libraries)
|
2009-12-12 11:34:17 +00:00
|
|
|
%patch1 -p1 -b .orig
|
2010-11-04 06:48:25 +00:00
|
|
|
# type-level too big so skip it in gen_contents_index
|
|
|
|
%patch2 -p1
|
2010-11-04 08:41:32 +00:00
|
|
|
# disable gen_contents_index when not --batch for cron
|
|
|
|
%patch3 -p1
|
2011-01-22 05:30:08 +00:00
|
|
|
|
2010-11-05 08:28:54 +00:00
|
|
|
# use system libraries
|
2010-11-08 01:12:12 +00:00
|
|
|
rm -r ghc-tarballs/{mingw,perl}
|
2011-01-22 05:30:08 +00:00
|
|
|
# use system libffi
|
2010-11-08 01:12:12 +00:00
|
|
|
%if %{with libffi}
|
2011-01-22 05:30:08 +00:00
|
|
|
%patch4 -p1 -b .libffi
|
2010-11-08 01:12:12 +00:00
|
|
|
rm -r ghc-tarballs/libffi
|
|
|
|
%endif
|
2009-12-12 03:59:37 +00:00
|
|
|
|
2011-01-22 05:30:08 +00:00
|
|
|
%patch5 -p1 -b .orig
|
|
|
|
|
2005-05-12 07:37:43 +00:00
|
|
|
%build
|
2009-12-11 18:40:16 +00:00
|
|
|
cat > mk/build.mk << EOF
|
2010-01-10 16:03:50 +00:00
|
|
|
GhcLibWays = v %{?with_prof:p} %{?with_shared:dyn}
|
2009-12-12 10:47:38 +00:00
|
|
|
%if %{without doc}
|
2011-01-13 01:29:27 +00:00
|
|
|
HADDOCK_DOCS = NO
|
2009-12-12 10:47:38 +00:00
|
|
|
%endif
|
|
|
|
%if %{without manual}
|
2009-12-11 18:40:16 +00:00
|
|
|
BUILD_DOCBOOK_HTML = NO
|
|
|
|
%endif
|
|
|
|
%if %{with quick}
|
2011-01-13 01:29:27 +00:00
|
|
|
SRC_HC_OPTS = -H64m -O0 -fasm
|
|
|
|
GhcStage1HcOpts = -O -fasm
|
|
|
|
GhcStage2HcOpts = -O0 -fasm
|
|
|
|
GhcLibHcOpts = -O0 -fasm
|
|
|
|
SplitObjs = NO
|
2009-11-23 12:43:54 +00:00
|
|
|
%endif
|
|
|
|
%if %{without hscolour}
|
2009-12-11 18:40:16 +00:00
|
|
|
HSCOLOUR_SRCS = NO
|
2009-11-23 12:43:54 +00:00
|
|
|
%endif
|
2010-11-05 08:28:54 +00:00
|
|
|
%if %{with libffi}
|
|
|
|
SRC_HC_OPTS += -lffi
|
|
|
|
%endif
|
2009-12-11 18:40:16 +00:00
|
|
|
EOF
|
2008-09-24 07:34:44 +00:00
|
|
|
|
2009-12-11 18:40:16 +00:00
|
|
|
export CFLAGS="${CFLAGS:-%optflags}"
|
2008-09-24 08:03:22 +00:00
|
|
|
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
|
|
|
|
--bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
|
|
|
|
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
|
|
|
|
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
|
2009-04-28 09:45:16 +00:00
|
|
|
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
|
|
|
|
%{?with_shared:--enable-shared}
|
2008-09-24 07:34:44 +00:00
|
|
|
|
2010-10-01 04:33:11 +00:00
|
|
|
# 4 cpus or more sometimes breaks build
|
2010-10-01 06:21:16 +00:00
|
|
|
[ -z "$RPM_BUILD_NCPUS" ] && RPM_BUILD_NCPUS=$(/usr/bin/getconf _NPROCESSORS_ONLN)
|
|
|
|
[ "$RPM_BUILD_NCPUS" -gt 4 ] && RPM_BUILD_NCPUS=4
|
|
|
|
make -j$RPM_BUILD_NCPUS
|
2008-09-24 07:34:44 +00:00
|
|
|
|
2005-05-12 07:37:43 +00:00
|
|
|
%install
|
2008-09-24 07:34:44 +00:00
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
2008-06-19 03:43:53 +00:00
|
|
|
|
2011-01-05 12:34:43 +00:00
|
|
|
for i in %{ghc_packages_list}; do
|
|
|
|
name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
|
|
|
|
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
|
|
|
|
%ghc_gen_filelists $name $ver
|
2011-01-29 10:51:59 +00:00
|
|
|
echo "%doc libraries/$name/LICENSE" >> ghc-$name.files
|
2011-01-05 12:34:43 +00:00
|
|
|
done
|
|
|
|
|
2011-01-22 11:49:39 +00:00
|
|
|
%ghc_gen_filelists ghc %{ghc_version_override}
|
2011-01-05 12:34:43 +00:00
|
|
|
%ghc_gen_filelists ghc-binary 0.5.0.2
|
|
|
|
%ghc_gen_filelists ghc-prim 0.2.0.0
|
|
|
|
%ghc_gen_filelists integer-gmp 0.2.0.2
|
|
|
|
|
|
|
|
%define merge_filelist()\
|
|
|
|
cat ghc-%1.files >> ghc-%2.files\
|
|
|
|
cat ghc-%1-devel.files >> ghc-%2-devel.files\
|
2011-01-29 10:51:59 +00:00
|
|
|
cat ghc-%1-prof.files >> ghc-%2-prof.files\
|
|
|
|
cp -p libraries/%1/LICENSE libraries/LICENSE.%1\
|
|
|
|
echo "%doc libraries/LICENSE.%1" >> ghc-%2.files
|
2011-01-05 12:34:43 +00:00
|
|
|
|
|
|
|
%merge_filelist integer-gmp base
|
|
|
|
%merge_filelist ghc-prim base
|
|
|
|
%merge_filelist ghc-binary bin-package-db
|
|
|
|
|
2011-01-12 23:05:28 +00:00
|
|
|
%if %{with shared}
|
2011-01-05 12:34:43 +00:00
|
|
|
ls $RPM_BUILD_ROOT%{ghclibdir}/libHSrts*.so >> ghc-base.files
|
2011-01-12 23:05:28 +00:00
|
|
|
%endif
|
2011-01-05 12:34:43 +00:00
|
|
|
ls -d $RPM_BUILD_ROOT%{ghclibdir}/libHSrts*.a $RPM_BUILD_ROOT%{ghclibdir}/package.conf.d/builtin_rts.conf $RPM_BUILD_ROOT%{ghclibdir}/include >> ghc-base-devel.files
|
|
|
|
sed -i -e "s|^$RPM_BUILD_ROOT||g" ghc-base{,-devel}.files
|
2010-01-10 16:03:50 +00:00
|
|
|
|
2008-09-24 07:34:44 +00:00
|
|
|
# these are handled as alternatives
|
2008-10-23 03:00:41 +00:00
|
|
|
for i in hsc2hs runhaskell; do
|
|
|
|
if [ -x ${RPM_BUILD_ROOT}%{_bindir}/$i-ghc ]; then
|
|
|
|
rm ${RPM_BUILD_ROOT}%{_bindir}/$i
|
|
|
|
else
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_bindir}/$i{,-ghc}
|
|
|
|
fi
|
|
|
|
done
|
2006-09-25 10:05:59 +00:00
|
|
|
|
2010-06-23 10:30:14 +00:00
|
|
|
%ghc_strip_dynlinked
|
2010-06-20 13:01:02 +00:00
|
|
|
|
2010-11-04 08:41:32 +00:00
|
|
|
%if %{with doc}
|
2010-11-05 09:00:40 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.hourly
|
|
|
|
install -p --mode=755 %SOURCE3 ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.hourly/ghc-doc-index
|
2010-12-30 02:06:23 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/ghc
|
2010-11-04 08:41:32 +00:00
|
|
|
%endif
|
2010-06-20 13:01:02 +00:00
|
|
|
|
2009-04-28 09:45:16 +00:00
|
|
|
%check
|
|
|
|
# stolen from ghc6/debian/rules:
|
|
|
|
# Do some very simple tests that the compiler actually works
|
|
|
|
rm -rf testghc
|
|
|
|
mkdir testghc
|
|
|
|
echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
2009-11-13 02:59:15 +00:00
|
|
|
inplace/bin/ghc-stage2 testghc/foo.hs -o testghc/foo
|
2009-04-28 09:45:16 +00:00
|
|
|
[ "$(testghc/foo)" = "Foo" ]
|
2011-01-22 10:09:14 +00:00
|
|
|
# don't seem to work inplace:
|
|
|
|
#[ "$(inplace/bin/runghc testghc/foo.hs)" = "Foo" ]
|
2009-04-28 09:45:16 +00:00
|
|
|
rm testghc/*
|
|
|
|
echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
2009-11-13 02:59:15 +00:00
|
|
|
inplace/bin/ghc-stage2 testghc/foo.hs -o testghc/foo -O2
|
2009-04-28 09:45:16 +00:00
|
|
|
[ "$(testghc/foo)" = "Foo" ]
|
|
|
|
rm testghc/*
|
2009-12-11 18:40:16 +00:00
|
|
|
%if %{with shared}
|
|
|
|
echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
|
|
|
inplace/bin/ghc-stage2 testghc/foo.hs -o testghc/foo -dynamic
|
|
|
|
[ "$(testghc/foo)" = "Foo" ]
|
|
|
|
rm testghc/*
|
|
|
|
%endif
|
2010-04-23 04:09:50 +00:00
|
|
|
%if %{with testsuite}
|
2010-05-25 10:20:06 +00:00
|
|
|
make -C testsuite/tests/ghc-regress fast
|
2010-04-23 04:09:50 +00:00
|
|
|
%endif
|
2009-04-28 09:45:16 +00:00
|
|
|
|
2005-05-12 07:37:43 +00:00
|
|
|
%post
|
2007-09-30 03:06:57 +00:00
|
|
|
# Alas, GHC, Hugs, and nhc all come with different set of tools in
|
|
|
|
# addition to a runFOO:
|
|
|
|
#
|
|
|
|
# * GHC: hsc2hs
|
|
|
|
# * Hugs: hsc2hs, cpphs
|
|
|
|
# * nhc: cpphs
|
|
|
|
#
|
|
|
|
# Therefore it is currently not possible to use --slave below to form
|
|
|
|
# link groups under a single name 'runhaskell'. Either these tools
|
|
|
|
# should be disentangled from the Haskell implementations, or all
|
|
|
|
# implementations should have the same set of tools. *sigh*
|
|
|
|
|
|
|
|
update-alternatives --install %{_bindir}/runhaskell runhaskell \
|
|
|
|
%{_bindir}/runghc 500
|
|
|
|
update-alternatives --install %{_bindir}/hsc2hs hsc2hs \
|
|
|
|
%{_bindir}/hsc2hs-ghc 500
|
2006-09-25 10:05:59 +00:00
|
|
|
|
2007-09-30 03:06:57 +00:00
|
|
|
%preun
|
2008-11-11 03:48:10 +00:00
|
|
|
if [ "$1" = 0 ]; then
|
2007-09-30 03:06:57 +00:00
|
|
|
update-alternatives --remove runhaskell %{_bindir}/runghc
|
|
|
|
update-alternatives --remove hsc2hs %{_bindir}/hsc2hs-ghc
|
|
|
|
fi
|
|
|
|
|
2009-11-23 12:43:54 +00:00
|
|
|
%posttrans
|
2010-07-15 13:48:00 +00:00
|
|
|
# (posttrans to make sure any old libs and docs have been removed first)
|
2010-04-23 06:01:01 +00:00
|
|
|
%ghc_pkg_recache
|
2009-12-12 10:47:38 +00:00
|
|
|
%ghc_reindex_haddock
|
|
|
|
|
2011-01-05 12:34:43 +00:00
|
|
|
%files
|
2005-05-12 07:37:43 +00:00
|
|
|
%defattr(-,root,root,-)
|
2006-11-03 05:00:12 +00:00
|
|
|
%doc ANNOUNCE HACKING LICENSE README
|
2008-06-18 19:49:45 +00:00
|
|
|
%{_bindir}/*
|
2011-01-05 12:34:43 +00:00
|
|
|
%dir %{ghclibdir}
|
|
|
|
%{ghclibdir}/extra-gcc-opts
|
|
|
|
%{ghclibdir}/ghc
|
|
|
|
%{ghclibdir}/ghc-asm
|
|
|
|
%{ghclibdir}/ghc-pkg
|
|
|
|
%{ghclibdir}/ghc-split
|
|
|
|
%{ghclibdir}/ghc-usage.txt
|
|
|
|
%{ghclibdir}/ghci-usage.txt
|
|
|
|
%{ghclibdir}/hsc2hs
|
2011-01-13 01:29:27 +00:00
|
|
|
%if %{with doc}
|
|
|
|
%{ghclibdir}/haddock
|
2011-01-05 12:34:43 +00:00
|
|
|
%{ghclibdir}/html
|
|
|
|
%{ghclibdir}/latex
|
2011-01-13 01:29:27 +00:00
|
|
|
%endif
|
2011-01-05 12:34:43 +00:00
|
|
|
%dir %{ghclibdir}/package.conf.d
|
|
|
|
%ghost %{ghclibdir}/package.conf.d/package.cache
|
|
|
|
%{ghclibdir}/runghc
|
|
|
|
%{ghclibdir}/template-hsc.h
|
|
|
|
%{ghclibdir}/unlit
|
2009-11-23 13:40:42 +00:00
|
|
|
%{_mandir}/man1/ghc.*
|
2011-01-13 01:29:27 +00:00
|
|
|
%dir %{_docdir}/ghc
|
|
|
|
%dir %{ghcdocbasedir}
|
|
|
|
%if %{with doc}
|
|
|
|
%{ghcdocbasedir}/html
|
2011-01-05 12:34:43 +00:00
|
|
|
%if %{with manual}
|
|
|
|
%{ghcdocbasedir}/Cabal
|
|
|
|
%{ghcdocbasedir}/haddock
|
|
|
|
%{ghcdocbasedir}/users_guide
|
2009-11-23 12:43:54 +00:00
|
|
|
%endif
|
2010-01-10 16:03:50 +00:00
|
|
|
%dir %{ghcdocbasedir}/libraries
|
|
|
|
%{ghcdocbasedir}/libraries/frames.html
|
|
|
|
%{ghcdocbasedir}/libraries/gen_contents_index
|
|
|
|
%{ghcdocbasedir}/libraries/hscolour.css
|
2010-11-16 07:41:09 +00:00
|
|
|
%{ghcdocbasedir}/libraries/ocean.css
|
2010-01-10 16:03:50 +00:00
|
|
|
%{ghcdocbasedir}/libraries/prologue.txt
|
|
|
|
%{ghcdocbasedir}/index.html
|
|
|
|
%ghost %{ghcdocbasedir}/libraries/doc-index*.html
|
|
|
|
%ghost %{ghcdocbasedir}/libraries/haddock-util.js
|
|
|
|
%ghost %{ghcdocbasedir}/libraries/index*.html
|
|
|
|
%ghost %{ghcdocbasedir}/libraries/minus.gif
|
|
|
|
%ghost %{ghcdocbasedir}/libraries/plus.gif
|
2010-11-04 08:41:32 +00:00
|
|
|
%{_sysconfdir}/cron.hourly/ghc-doc-index
|
2010-12-30 02:06:23 +00:00
|
|
|
%{_localstatedir}/lib/ghc
|
2009-12-12 10:47:38 +00:00
|
|
|
%endif
|
2009-04-28 09:45:16 +00:00
|
|
|
|
2011-01-05 12:34:43 +00:00
|
|
|
%files devel
|
2009-11-23 12:43:54 +00:00
|
|
|
%defattr(-,root,root,-)
|
2009-12-11 18:40:16 +00:00
|
|
|
|
2009-04-28 09:45:16 +00:00
|
|
|
%if %{with prof}
|
2011-01-05 12:34:43 +00:00
|
|
|
%files prof
|
2009-04-28 09:45:16 +00:00
|
|
|
%defattr(-,root,root,-)
|
2005-05-12 07:37:43 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
2011-01-31 05:17:56 +00:00
|
|
|
* Mon Jan 31 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-7
|
2011-01-29 10:51:59 +00:00
|
|
|
- include LICENSE files in the shared lib subpackages
|
|
|
|
|
2011-01-22 05:16:08 +00:00
|
|
|
* Sat Jan 22 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-6
|
|
|
|
- patch Cabal to add configure option --enable-executable-dynamic
|
|
|
|
- exclude huge ghc API library from devel and prof metapackages
|
|
|
|
|
2011-01-13 01:29:27 +00:00
|
|
|
* Thu Jan 13 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-5
|
|
|
|
- fix no doc and no manual builds
|
|
|
|
|
2011-01-12 23:05:28 +00:00
|
|
|
* Thu Jan 13 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-4
|
|
|
|
- add BRs for various subpackaged ghc libraries needed to build ghc
|
|
|
|
- condition rts .so libraries for non-shared builds
|
|
|
|
|
2010-12-30 02:06:23 +00:00
|
|
|
* Thu Dec 30 2010 Jens Petersen <petersen@redhat.com> - 7.0.1-3
|
2011-01-05 12:34:43 +00:00
|
|
|
- subpackage all the libraries with ghc-rpm-macros-0.11.1
|
|
|
|
- put rts, integer-gmp and ghc-prim in base, and ghc-binary in bin-package-db
|
|
|
|
- drop the libs mega-subpackage
|
2011-01-05 12:38:20 +00:00
|
|
|
- prof now a meta-package for backward compatibility
|
|
|
|
- add devel meta-subpackage to easily install all ghc libraries
|
2010-12-30 02:06:23 +00:00
|
|
|
- store doc cronjob package cache file under /var (#664850)
|
2011-01-05 12:34:43 +00:00
|
|
|
- drop old extralibs bcond
|
|
|
|
- no longer need to define or clean buildroot
|
2011-01-05 12:38:20 +00:00
|
|
|
- ghc base package now requires ghc-base-devel
|
2011-01-05 12:34:43 +00:00
|
|
|
- drop ghc-time obsoletes
|
2010-12-30 02:06:23 +00:00
|
|
|
|
2010-11-23 14:41:15 +00:00
|
|
|
* Wed Nov 24 2010 Jens Petersen <petersen@redhat.com> - 7.0.1-2
|
|
|
|
- require libffi-devel
|
|
|
|
|
2010-11-16 07:41:09 +00:00
|
|
|
* Tue Nov 16 2010 Jens Petersen <petersen@redhat.com> - 7.0.1-1
|
|
|
|
- update to 7.0.1 release
|
2010-11-23 07:41:14 +00:00
|
|
|
- turn on system libffi now
|
2010-11-16 07:41:09 +00:00
|
|
|
|
2010-11-08 00:40:15 +00:00
|
|
|
* Mon Nov 8 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-9
|
|
|
|
- disable the libffi changes for now since they break libHSffi*.so
|
|
|
|
|
2010-11-04 08:41:32 +00:00
|
|
|
* Thu Nov 4 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-8
|
|
|
|
- add a cronjob for doc indexing
|
|
|
|
- disable gen_contents_index when not run with --batch for cron
|
2010-11-05 08:28:54 +00:00
|
|
|
- use system libffi with ghc-use-system-libffi.patch from debian
|
|
|
|
- add bcond for system libffi
|
2010-11-04 08:41:32 +00:00
|
|
|
|
2010-11-04 06:48:25 +00:00
|
|
|
* Thu Nov 4 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-7
|
|
|
|
- skip huge type-level docs from haddock re-indexing (#649228)
|
|
|
|
|
2010-09-30 08:21:06 +00:00
|
|
|
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-6
|
|
|
|
- move gtk2hs obsoletes to ghc-glib and ghc-gtk
|
2010-09-30 09:18:00 +00:00
|
|
|
- drop happy buildrequires
|
2010-10-01 06:21:16 +00:00
|
|
|
- smp build with max 4 cpus
|
2010-09-30 08:21:06 +00:00
|
|
|
|
2010-07-30 02:15:23 +00:00
|
|
|
* Fri Jul 30 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-5
|
|
|
|
- obsolete old gtk2hs packages for smooth upgrades
|
|
|
|
|
2010-07-15 09:16:11 +00:00
|
|
|
* Thu Jul 15 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-4
|
2010-07-15 13:48:00 +00:00
|
|
|
- merge ghc-doc into base package
|
2010-07-15 15:35:32 +00:00
|
|
|
- obsolete ghc-time and ghc-ghc-doc (ghc-rpm-macros-0.8.0)
|
2010-07-15 13:48:00 +00:00
|
|
|
- note that ghc-6.12.3 is part of haskell-platform-2010.2.0.0
|
2010-07-15 09:16:11 +00:00
|
|
|
|
2010-06-24 03:16:12 +00:00
|
|
|
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-3
|
|
|
|
- drop the broken summary and description args to the ghc-ghc package
|
|
|
|
and use ghc-rpm-macros-0.6.1
|
|
|
|
|
2010-06-23 10:30:14 +00:00
|
|
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-2
|
|
|
|
- strip all dynlinked files not just shared objects (ghc-rpm-macros-0.5.9)
|
|
|
|
|
2010-06-20 13:01:02 +00:00
|
|
|
* Mon Jun 14 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-1
|
2010-06-24 03:16:12 +00:00
|
|
|
- 6.12.3 release:
|
|
|
|
http://darcs.haskell.org/download/docs/6.12.3/html/users_guide/release-6-12-3.html
|
2010-06-20 13:01:02 +00:00
|
|
|
- build with hscolour
|
|
|
|
- use ghc-rpm-macro-0.5.8 for ghc_strip_shared macro
|
|
|
|
|
2010-05-28 06:40:59 +00:00
|
|
|
* Fri May 28 2010 Jens Petersen <petersen@redhat.com> - 6.12.2.20100521-1
|
|
|
|
- 6.12.3 rc1
|
|
|
|
- ghost package.cache
|
2010-05-25 10:20:06 +00:00
|
|
|
- drop ghc-utf8-string obsoletes since it is no longer provided
|
|
|
|
- run testsuite fast
|
2010-05-28 06:40:59 +00:00
|
|
|
- fix description and summary of ghc internal library (John Obbele)
|
2010-05-25 10:20:06 +00:00
|
|
|
|
2010-04-23 04:09:50 +00:00
|
|
|
* Fri Apr 23 2010 Jens Petersen <petersen@redhat.com> - 6.12.2-1
|
|
|
|
- update to 6.12.2
|
2010-04-23 06:01:01 +00:00
|
|
|
- add testsuite with bcond, run it in check section, and BR python
|
|
|
|
|
|
|
|
* Mon Apr 12 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-6
|
|
|
|
- ghc-6.12.1 is part of haskell-platform-2010.1.0.0
|
|
|
|
- drop old ghc682, ghc681, haddock09 obsoletes
|
|
|
|
- drop haddock_version and no longer provide haddock explicitly
|
|
|
|
- update ghc-rpm-macros BR to 0.5.6 for ghc_pkg_recache
|
2010-04-23 04:09:50 +00:00
|
|
|
|
2010-01-11 12:46:27 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-5
|
2010-01-11 15:41:30 +00:00
|
|
|
- drop ghc-6.12.1-no-filter-libs.patch and extras packages again
|
|
|
|
- filter ghc-ghc-prof files from ghc-prof
|
2010-01-11 14:28:48 +00:00
|
|
|
- ghc-mtl package was added to fedora
|
2010-01-11 12:46:27 +00:00
|
|
|
|
2010-01-11 07:42:48 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-4
|
|
|
|
- ghc-rpm-macros-0.5.4 fixes wrong version requires between lib subpackages
|
|
|
|
|
2010-01-11 04:16:46 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-3
|
2010-01-11 04:18:31 +00:00
|
|
|
- ghc-rpm-macros-0.5.2 fixes broken pkg_name requires for lib subpackages
|
2010-01-11 04:16:46 +00:00
|
|
|
|
2009-12-22 09:35:43 +00:00
|
|
|
* Tue Dec 22 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-2
|
2010-01-11 04:16:46 +00:00
|
|
|
- include haskeline, mtl, and terminfo for now with
|
|
|
|
ghc-6.12.1-no-filter-libs.patch
|
|
|
|
- use ghc_binlibpackage, grep -v and ghc_gen_filelists to generate
|
|
|
|
the library subpackages (ghc-rpm-macros-0.5.1)
|
2010-01-10 16:03:50 +00:00
|
|
|
- always set GhcLibWays (Lorenzo Villani)
|
|
|
|
- use ghcdocbasedir to revert html doc path to upstream's html/ for consistency
|
2009-12-22 09:35:43 +00:00
|
|
|
|
2009-12-16 08:11:43 +00:00
|
|
|
* Wed Dec 16 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-1
|
2010-01-10 16:03:50 +00:00
|
|
|
- pre became 6.12.1 final
|
2009-12-12 10:47:38 +00:00
|
|
|
- exclude ghc .conf file from package.conf.d in base package
|
|
|
|
- use ghc_reindex_haddock
|
|
|
|
- add scripts for ghc-ghc-devel and ghc-ghc-doc
|
|
|
|
- add doc bcond
|
2009-12-12 11:34:17 +00:00
|
|
|
- add ghc-6.12.1-gen_contents_index-haddock-path.patch to adjust haddock path
|
|
|
|
since we removed html/ from libraries path
|
2009-12-16 07:58:28 +00:00
|
|
|
- require ghc-rpm-macros-0.3.1 and use ghc_version_override
|
2009-12-12 10:47:38 +00:00
|
|
|
|
2009-12-12 03:59:37 +00:00
|
|
|
* Sat Dec 12 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-0.2
|
|
|
|
- remove redundant mingw and perl from ghc-tarballs/
|
|
|
|
- fix exclusion of ghc internals lib from base packages with -mindepth
|
|
|
|
- rename the final file lists to PKGNAME.files for clarity
|
|
|
|
|
2009-12-11 18:40:16 +00:00
|
|
|
* Fri Dec 11 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-0.1
|
|
|
|
- update to ghc-6.12.1-pre
|
|
|
|
- separate bcond options into enabled and disabled for clarity
|
|
|
|
- only enable shared for intel x86 archs (Lorenzo Villani)
|
|
|
|
- add quick build profile (Lorenzo Villani)
|
|
|
|
- remove package_debugging hack (use "make install-short")
|
|
|
|
- drop sed BR (Lorenzo Villani)
|
|
|
|
- put all build.mk config into one cat block (Lorenzo Villani)
|
|
|
|
- export CFLAGS to configure (Lorenzo Villani)
|
|
|
|
- add dynamic linking test to check section (thanks Lorenzo Villani)
|
|
|
|
- remove old ghc66 obsoletes
|
|
|
|
- subpackage huge ghc internals library (thanks Lorenzo Villani)
|
|
|
|
- BR ghc-rpm-macros >= 0.3.0
|
|
|
|
- move html docs to docdir/ghc from html subdir (Lorenzo Villani)
|
2009-12-11 19:17:18 +00:00
|
|
|
- disable smp build for now: broken for 8 cpus at least
|
2009-12-11 18:40:16 +00:00
|
|
|
|
2009-11-23 12:43:54 +00:00
|
|
|
* Wed Nov 18 2009 Jens Petersen <petersen@redhat.com> - 6.12.0.20091121-1
|
|
|
|
- update to 6.12.1 rc2
|
|
|
|
- build shared libs, yay! and package in standalone libs subpackage
|
|
|
|
- add bcond for manual and extralibs
|
|
|
|
- reenable ppc secondary arch
|
|
|
|
- don't provide ghc-haddock-*
|
2011-01-06 06:43:34 +00:00
|
|
|
- remove obsolete post requires policycoreutils
|
2009-11-23 12:43:54 +00:00
|
|
|
- add vanilla v to GhcLibWays when building without prof
|
|
|
|
- handle without hscolour
|
|
|
|
- can't smp make currently
|
|
|
|
- lots of filelist fixes for handling shared libs
|
|
|
|
- run ghc-pkg recache posttrans
|
|
|
|
- no need to install gen_contents_index by hand
|
2009-11-23 13:40:42 +00:00
|
|
|
- manpage is back
|
2009-11-23 12:43:54 +00:00
|
|
|
|
2009-11-13 07:06:41 +00:00
|
|
|
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-8
|
|
|
|
- comprehensive attempts at packaging fixes
|
|
|
|
|
2009-11-13 04:59:42 +00:00
|
|
|
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-7
|
|
|
|
- fix package.conf stuff
|
|
|
|
|
2009-11-13 04:29:19 +00:00
|
|
|
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-6
|
|
|
|
- give up trying to install man pages
|
|
|
|
|
2009-11-13 03:36:38 +00:00
|
|
|
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-5
|
|
|
|
- try to install man pages
|
|
|
|
|
2009-11-13 02:59:15 +00:00
|
|
|
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-3
|
|
|
|
- fix %check
|
|
|
|
|
2009-10-12 03:58:22 +00:00
|
|
|
* Sun Oct 11 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-2
|
|
|
|
- disable ppc for now (seems unsupported)
|
|
|
|
- buildreq ncurses-devel
|
|
|
|
|
2009-10-12 01:06:41 +00:00
|
|
|
* Sun Oct 11 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-1
|
|
|
|
- Update to 6.12 RC 1
|
|
|
|
|
2009-10-01 08:45:50 +00:00
|
|
|
* Thu Oct 1 2009 Jens Petersen <petersen@redhat.com>
|
|
|
|
- selinux file context no longer needed in post script
|
|
|
|
- (for ghc-6.12-shared) drop ld.so.conf.d files
|
|
|
|
|
2009-07-25 00:03:07 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-22 04:04:45 +00:00
|
|
|
* Tue Jul 21 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.10.4-1
|
|
|
|
- update to 6.10.4
|
|
|
|
|
2009-05-30 06:16:53 +00:00
|
|
|
* Sat May 30 2009 Jens Petersen <petersen@redhat.com> - 6.10.3-3
|
|
|
|
- add haddock_version and use it to obsolete haddock and ghc-haddock-*
|
|
|
|
|
2009-05-22 03:17:29 +00:00
|
|
|
* Fri May 22 2009 Jens Petersen <petersen@redhat.com> - 6.10.3-2
|
2009-05-28 00:11:55 +00:00
|
|
|
- update haddock provides and obsoletes
|
2009-05-22 04:29:13 +00:00
|
|
|
- drop ghc-mk-pkg-install-inplace.patch: no longer needed with new 6.11 buildsys
|
|
|
|
- add bcond for extralibs
|
|
|
|
- rename doc bcond to manual
|
2009-05-22 03:17:29 +00:00
|
|
|
|
2009-05-13 07:17:04 +00:00
|
|
|
* Wed May 13 2009 Jens Petersen <petersen@redhat.com> - 6.10.3-1
|
|
|
|
- update to 6.10.3
|
2009-05-13 07:23:07 +00:00
|
|
|
- haskline replaces editline, so it is no longer needed to build
|
2009-05-13 07:17:04 +00:00
|
|
|
- macros.ghc moved to ghc-rpm-macros package
|
|
|
|
- fix handling of hscolor files in filelist generation
|
2009-05-02 06:57:24 +00:00
|
|
|
|
2009-04-28 09:45:16 +00:00
|
|
|
* Tue Apr 28 2009 Jens Petersen <petersen@redhat.com> - 6.10.2-4
|
|
|
|
- add experimental bcond hscolour
|
|
|
|
- add experimental support for building shared libraries (for ghc-6.11)
|
|
|
|
- add libs subpackage for shared libraries
|
|
|
|
- create a ld.conf.d file for libghc*.so
|
2009-04-28 10:09:37 +00:00
|
|
|
- BR libffi-devel
|
2009-04-28 09:45:16 +00:00
|
|
|
- drop redundant setting of GhcLibWays in build.mk for no prof
|
|
|
|
- drop redundant setting of HADDOCK_DOCS
|
|
|
|
- simplify filelist names
|
|
|
|
- add a check section based on tests from debian's package
|
|
|
|
- be more careful about doc files in filelist
|
|
|
|
|
2009-04-24 07:28:14 +00:00
|
|
|
* Fri Apr 24 2009 Jens Petersen <petersen@redhat.com> - 6.10.2-3
|
|
|
|
- define ghc_version in macros.ghc in place of ghcrequires
|
|
|
|
- drop ghc-requires script for now
|
|
|
|
|
2009-04-19 04:28:22 +00:00
|
|
|
* Sun Apr 19 2009 Jens Petersen <petersen@redhat.com> - 6.10.2-2
|
|
|
|
- add ghc-requires rpm script to generate ghc version dependencies
|
|
|
|
(thanks to Till Maas)
|
|
|
|
- update macros.ghc:
|
|
|
|
- add %%ghcrequires to call above script
|
|
|
|
- pkg_libdir and pkg_docdir obsoleted in packages and replaced
|
|
|
|
by ghcpkgdir and ghcdocdir inside macros.ghc
|
|
|
|
- make filelist also for docs
|
|
|
|
|
2009-04-08 21:39:16 +00:00
|
|
|
* Wed Apr 08 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.10.2-1
|
|
|
|
- Update to 6.10.2
|
|
|
|
|
2009-02-27 03:44:31 +00:00
|
|
|
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-13
|
|
|
|
- ok let's stick with ExclusiveArch for brevity
|
|
|
|
|
2009-02-27 01:05:09 +00:00
|
|
|
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-12
|
|
|
|
- drop ghc_archs since it breaks koji
|
|
|
|
- fix missing -devel in ghc_gen_filelists
|
|
|
|
- change from ExclusiveArch to ExcludeArch ppc64 since alpha was bootstrapped
|
|
|
|
by oliver
|
|
|
|
|
2009-02-25 06:51:56 +00:00
|
|
|
* Wed Feb 25 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-11
|
|
|
|
- use %%ix86 for change from i386 to i586 in rawhide
|
|
|
|
- add ghc_archs macro in macros.ghc for other packages
|
|
|
|
- obsolete haddock09
|
|
|
|
- use %%global instead of %%define
|
|
|
|
- use bcond for doc and prof
|
|
|
|
- rename ghc_gen_filelists lib filelist to -devel.files
|
|
|
|
|
2009-02-24 21:14:13 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-13 02:15:56 +00:00
|
|
|
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-9
|
2009-02-10 08:15:40 +00:00
|
|
|
- require and buildrequire libedit-devel > 2.11-2
|
|
|
|
- protect ghc_register_pkg and ghc_unregister_pkg
|
|
|
|
|
2009-01-23 07:24:23 +00:00
|
|
|
* Fri Jan 23 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-8
|
|
|
|
- fix to libedit means can drop ncurses-devel BR workaround (#481252)
|
|
|
|
|
2009-01-19 05:47:00 +00:00
|
|
|
* Mon Jan 19 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-7
|
2009-01-19 10:58:49 +00:00
|
|
|
- buildrequire ncurses-devel to fix build of missing editline package needed
|
|
|
|
for ghci line-editing (#478466)
|
2009-02-27 01:05:09 +00:00
|
|
|
- move spec templates to cabal2spec package for easy updating
|
2009-01-19 05:39:55 +00:00
|
|
|
- provide correct haddock version
|
2008-12-05 09:50:10 +00:00
|
|
|
|
2008-12-01 05:46:36 +00:00
|
|
|
* Mon Dec 1 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-6
|
|
|
|
- update macros.ghc to latest proposed revised packaging guidelines:
|
|
|
|
- use runghc
|
2008-12-01 05:49:24 +00:00
|
|
|
- drop trivial cabal_build and cabal_haddock macros
|
2008-12-01 05:46:36 +00:00
|
|
|
- ghc_register_pkg and ghc_unregister_pkg replace ghc_preinst_script,
|
|
|
|
ghc_postinst_script, ghc_preun_script, and ghc_postun_script
|
|
|
|
- library templates prof subpackage requires main library again
|
2008-11-28 02:47:49 +00:00
|
|
|
- make cabal2spec work on .cabal files too, and
|
2008-12-01 05:46:36 +00:00
|
|
|
read and check name and version directly from .cabal file
|
|
|
|
- ghc-prof does not need to own libraries dirs owned by main package
|
2008-11-28 02:47:49 +00:00
|
|
|
|
2008-11-25 02:52:10 +00:00
|
|
|
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-5
|
2008-11-25 09:15:17 +00:00
|
|
|
- add cabal2spec and template files for easy cabal hackage packaging
|
2008-11-25 02:52:10 +00:00
|
|
|
- simplify script macros: make ghc_preinst_script and ghc_postun_script no-ops
|
|
|
|
and ghc_preun_script only unregister for uninstall
|
|
|
|
|
2008-11-11 03:48:10 +00:00
|
|
|
* Tue Nov 11 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-4
|
|
|
|
- fix broken urls to haddock docs created by gen_contents_index script
|
|
|
|
- avoid haddock errors when upgrading by making doc post script posttrans
|
|
|
|
|
2008-11-05 21:58:34 +00:00
|
|
|
* Wed Nov 05 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-3
|
|
|
|
- libraries/prologue.txt should not have been ghosted
|
|
|
|
|
2008-11-05 05:32:13 +00:00
|
|
|
* Tue Nov 04 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-2
|
|
|
|
- Fix a minor packaging glitch
|
|
|
|
|
2008-11-05 04:32:03 +00:00
|
|
|
* Tue Nov 04 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-1
|
2009-01-23 07:24:23 +00:00
|
|
|
- Update to 6.10.1
|
2008-11-05 04:32:03 +00:00
|
|
|
|
2008-10-23 06:40:25 +00:00
|
|
|
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-9
|
|
|
|
- remove redundant --haddockdir from cabal_configure
|
|
|
|
- actually ghc-pkg no longer seems to create package.conf.old backups
|
|
|
|
- include LICENSE in doc
|
|
|
|
|
2008-10-23 03:42:59 +00:00
|
|
|
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-8
|
|
|
|
- need to create ghost package.conf.old for ghc-6.10
|
|
|
|
|
2008-10-23 03:00:41 +00:00
|
|
|
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-7
|
|
|
|
- use gen_contents_index to re-index haddock
|
|
|
|
- add %%pkg_docdir to cabal_configure
|
|
|
|
- requires(post) ghc for haddock for doc
|
|
|
|
- improve doc file lists
|
|
|
|
- no longer need to create ghost package.conf.old
|
|
|
|
- remove or rename alternatives files more consistently
|
|
|
|
|
2008-10-15 03:42:23 +00:00
|
|
|
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-6
|
|
|
|
- Update macros to install html and haddock bits in the right places
|
|
|
|
|
2008-10-14 21:32:36 +00:00
|
|
|
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-5
|
|
|
|
- Don't use a macro to update the docs for the main doc package
|
|
|
|
|
|
|
|
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-4
|
2008-10-14 18:55:27 +00:00
|
|
|
- Add ghc_haddock_reindex macro
|
|
|
|
- Generate haddock index after installing ghc-doc package
|
|
|
|
|
2008-10-13 05:20:47 +00:00
|
|
|
* Mon Oct 13 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-3
|
|
|
|
- provide haddock = 2.2.2
|
|
|
|
- add selinux file context for unconfined_execmem following darcs package
|
|
|
|
- post requires policycoreutils
|
|
|
|
|
2008-10-13 03:05:05 +00:00
|
|
|
* Sun Oct 12 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-2.fc10
|
|
|
|
- Use libedit in preference to readline, for BSD license consistency
|
|
|
|
- With haddock bundled now, obsolete standalone versions (but not haddock09)
|
|
|
|
- Drop obsolete freeglut-devel, openal-devel, and haddock09 dependencies
|
|
|
|
|
|
|
|
* Sun Oct 12 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-1.fc10
|
|
|
|
- Update to 6.10.1 release candidate 1
|
|
|
|
|
|
|
|
* Wed Oct 1 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20080921-1.fc10
|
|
|
|
- Drop unneeded haddock patch
|
|
|
|
- Rename hsc2hs to hsc2hs-ghc so the alternatives symlink to it will work
|
2008-10-01 22:26:01 +00:00
|
|
|
|
2008-10-23 03:00:41 +00:00
|
|
|
* Wed Sep 24 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-5
|
2008-09-24 07:36:11 +00:00
|
|
|
- bring back including haddock-generated lib docs, now under docdir/ghc
|
2008-09-24 07:34:44 +00:00
|
|
|
- fix macros.ghc filepath (#460304)
|
|
|
|
- spec file cleanups:
|
|
|
|
- fix the source urls back
|
|
|
|
- drop requires chkconfig
|
|
|
|
- do not override __spec_install_post
|
|
|
|
- setup docs building in build.mk
|
|
|
|
- no longer need to remove network/include/Typeable.h
|
|
|
|
- install binaries under libdir not libexec
|
2008-10-23 03:00:41 +00:00
|
|
|
- remove hsc2hs and runhaskell binaries since they are alternatives
|
2008-09-24 07:34:44 +00:00
|
|
|
|
2008-10-23 03:00:41 +00:00
|
|
|
* Wed Sep 17 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-4
|
2008-09-17 06:00:51 +00:00
|
|
|
- add macros.ghc for new Haskell Packaging Guidelines (#460304)
|
|
|
|
|
2008-06-19 03:43:53 +00:00
|
|
|
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-3
|
|
|
|
- Add symlinks from _libdir, where ghc looks, to _libexecdir
|
|
|
|
- Patch libraries/gen_contents_index to use haddock-0.9
|
|
|
|
|
2008-06-19 02:41:10 +00:00
|
|
|
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-2
|
|
|
|
- Remove unnecessary dependency on alex
|
|
|
|
|
2008-06-18 19:49:45 +00:00
|
|
|
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-1
|
|
|
|
- Upgrade to 6.8.3
|
|
|
|
- Drop the ghc682-style naming scheme, obsolete those packages
|
|
|
|
- Manually strip binaries
|
|
|
|
|
2008-04-08 06:46:15 +00:00
|
|
|
* Tue Apr 8 2008 Jens Petersen <petersen@redhat.com> - 6.8.2-10
|
|
|
|
- another rebuild attempt
|
2008-02-18 21:23:56 +00:00
|
|
|
|
2008-02-14 07:36:23 +00:00
|
|
|
* Thu Feb 14 2008 Jens Petersen <petersen@redhat.com> - 6.8.2-9
|
2008-02-14 08:31:32 +00:00
|
|
|
- remove unrecognized --docdir and --htmldir from configure
|
|
|
|
- drop old buildrequires on libX11-devel and libXt-devel
|
2008-02-14 07:36:23 +00:00
|
|
|
- rebuild with gcc43
|
|
|
|
|
2008-01-22 01:10:50 +00:00
|
|
|
* Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-7
|
|
|
|
- More attempts to fix docdir
|
|
|
|
|
|
|
|
* Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-6
|
|
|
|
- Fix docdir
|
2008-01-07 22:57:23 +00:00
|
|
|
|
2007-12-12 22:36:10 +00:00
|
|
|
* Tue Dec 12 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-1
|
|
|
|
- Update to 6.8.2
|
|
|
|
|
2007-11-23 18:15:15 +00:00
|
|
|
* Fri Nov 23 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.1-2
|
|
|
|
- Exclude alpha
|
|
|
|
|
2008-01-07 22:57:23 +00:00
|
|
|
* Thu Nov 8 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.1-2
|
|
|
|
- Drop bit-rotted attempts at making package relocatable
|
|
|
|
|
2007-11-06 00:35:13 +00:00
|
|
|
* Sun Nov 4 2007 Michel Salim <michel.sylvan@gmail.com> - 6.8.1-1
|
|
|
|
- Update to 6.8.1
|
|
|
|
|
2007-09-30 03:53:49 +00:00
|
|
|
* Sat Sep 29 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.0.20070928-2
|
|
|
|
- add happy to BuildRequires
|
|
|
|
|
2007-09-30 03:06:57 +00:00
|
|
|
* Sat Sep 29 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.0.20070928-1
|
|
|
|
- prepare for GHC 6.8.1 by building a release candidate snapshot
|
|
|
|
|
2007-05-10 19:52:43 +00:00
|
|
|
* Thu May 10 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-3
|
|
|
|
- install man page for ghc
|
|
|
|
|
2007-05-10 17:53:17 +00:00
|
|
|
* Thu May 10 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-2
|
|
|
|
- exclude ppc64 for now, due to lack of time to bootstrap
|
|
|
|
|
2007-05-10 17:09:49 +00:00
|
|
|
* Wed May 9 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-1
|
|
|
|
- update to 6.6.1 release
|
|
|
|
|
2007-01-21 22:42:51 +00:00
|
|
|
* Mon Jan 22 2007 Jens Petersen <petersen@redhat.com> - 6.6-2
|
|
|
|
- remove truncated duplicate Typeable.h header in network package
|
|
|
|
(Bryan O'Sullivan, #222865)
|
|
|
|
|
2006-11-03 05:00:12 +00:00
|
|
|
* Fri Nov 3 2006 Jens Petersen <petersen@redhat.com> - 6.6-1
|
|
|
|
- update to 6.6 release
|
|
|
|
- buildrequire haddock >= 0.8
|
|
|
|
- fix summary of ghcver package (Michel Salim, #209574)
|
|
|
|
|
2006-09-28 01:44:23 +00:00
|
|
|
* Thu Sep 28 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-4
|
|
|
|
- turn on docs generation again
|
|
|
|
|
2006-09-25 10:05:59 +00:00
|
|
|
* Mon Sep 25 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-3.fc6
|
|
|
|
- ghost package.conf.old (Gérard Milmeister)
|
|
|
|
- set unconfined_execmem_exec_t context on executables with ghc rts (#195821)
|
2006-09-25 13:28:47 +00:00
|
|
|
- turn off building docs until haddock is back
|
2006-09-25 10:05:59 +00:00
|
|
|
|
2006-04-29 07:33:52 +00:00
|
|
|
* Sat Apr 29 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-2.fc6
|
|
|
|
- buildrequire libXt-devel so that the X11 package and deps get built
|
|
|
|
(Garrett Mitchener, #190201)
|
|
|
|
|
|
|
|
* Thu Apr 20 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-1.fc6
|
2006-04-21 07:59:27 +00:00
|
|
|
- update to 6.4.2 release
|
|
|
|
|
|
|
|
* Thu Mar 2 2006 Jens Petersen <petersen@redhat.com> - 6.4.1-3.fc5
|
2006-03-02 08:40:15 +00:00
|
|
|
- buildrequire libX11-devel instead of xorg-x11-devel (Kevin Fenzi, #181024)
|
|
|
|
- make ghc-doc require ghc (Michel Salim, #180449)
|
|
|
|
|
2006-04-21 07:59:27 +00:00
|
|
|
* Tue Oct 11 2005 Jens Petersen <petersen@redhat.com> - 6.4.1-2.fc5
|
2005-10-03 02:46:03 +00:00
|
|
|
- turn on build_doc since haddock is now in Extras
|
2005-10-11 03:05:07 +00:00
|
|
|
- no longer specify ghc version to build with (Ville Skyttä, #170176)
|
2005-10-03 02:46:03 +00:00
|
|
|
|
2006-04-21 07:59:27 +00:00
|
|
|
* Tue Sep 20 2005 Jens Petersen <petersen@redhat.com> - 6.4.1-1.fc5
|
2005-09-20 23:37:16 +00:00
|
|
|
- 6.4.1 release
|
|
|
|
- the following patches are now upstream: ghc-6.4-powerpc.patch,
|
|
|
|
rts-GCCompact.h-x86_64.patch, ghc-6.4-dsforeign-x86_64-1097471.patch,
|
|
|
|
ghc-6.4-rts-adjustor-x86_64-1097471.patch
|
|
|
|
- builds with gcc4 so drop %%_with_gcc32
|
|
|
|
- x86_64 build restrictions (no ghci and split objects) no longer apply
|
|
|
|
|
2005-05-31 11:04:47 +00:00
|
|
|
* Tue May 31 2005 Jens Petersen <petersen@redhat.com>
|
|
|
|
- add %%dist to release
|
|
|
|
|
2005-05-12 07:37:43 +00:00
|
|
|
* Thu May 12 2005 Jens Petersen <petersen@redhat.com> - 6.4-8
|
|
|
|
- initial import into Fedora Extras
|
|
|
|
|
|
|
|
* Thu May 12 2005 Jens Petersen <petersen@haskell.org>
|
|
|
|
- add build_prof and build_doc switches for -doc and -prof subpackages
|
|
|
|
- add _with_gcc32 switch since ghc-6.4 doesn't build with gcc-4.0
|
|
|
|
|
|
|
|
* Wed May 11 2005 Jens Petersen <petersen@haskell.org> - 6.4-7
|
|
|
|
- make package relocatable (ghc#1084122)
|
|
|
|
- add post install scripts to replace prefix in driver scripts
|
|
|
|
- buildrequire libxslt and docbook-style-xsl instead of docbook-utils and flex
|
|
|
|
|
|
|
|
* Fri May 6 2005 Jens Petersen <petersen@haskell.org> - 6.4-6
|
|
|
|
- add ghc-6.4-dsforeign-x86_64-1097471.patch and
|
|
|
|
ghc-6.4-rts-adjustor-x86_64-1097471.patch from trunk to hopefully fix
|
|
|
|
ffi support on x86_64 (Simon Marlow, ghc#1097471)
|
|
|
|
- use XMLDocWays instead of SGMLDocWays to build documentation fully
|
|
|
|
|
|
|
|
* Mon May 2 2005 Jens Petersen <petersen@haskell.org> - 6.4-5
|
|
|
|
- add rts-GCCompact.h-x86_64.patch to fix GC issue on x86_64 (Simon Marlow)
|
|
|
|
|
|
|
|
* Thu Mar 17 2005 Jens Petersen <petersen@haskell.org> - 6.4-4
|
|
|
|
- add ghc-6.4-powerpc.patch (Ryan Lortie)
|
|
|
|
- disable building interpreter rather than install and delete on x86_64
|
|
|
|
|
|
|
|
* Wed Mar 16 2005 Jens Petersen <petersen@haskell.org> - 6.4-3
|
|
|
|
- make ghc require ghcver of same ver-rel
|
|
|
|
- on x86_64 remove ghci for now since it doesn't work and all .o files
|
|
|
|
|
|
|
|
* Tue Mar 15 2005 Jens Petersen <petersen@haskell.org> - 6.4-2
|
|
|
|
- ghc requires ghcver (Amanda Clare)
|
|
|
|
|
|
|
|
* Sat Mar 12 2005 Jens Petersen <petersen@haskell.org> - 6.4-1
|
|
|
|
- 6.4 release
|
|
|
|
- x86_64 build no longer unregisterised
|
|
|
|
- use sed instead of perl to tidy filelists
|
|
|
|
- buildrequire ghc64 instead of ghc-6.4
|
|
|
|
- no epoch for ghc64-prof's ghc64 requirement
|
|
|
|
- install docs directly in docdir
|
|
|
|
|
|
|
|
* Fri Jan 21 2005 Jens Petersen <petersen@haskell.org> - 6.2.2-2
|
|
|
|
- add x86_64 port
|
|
|
|
- build unregistered and without splitobjs
|
|
|
|
- specify libdir to configure and install
|
|
|
|
- rename ghc-prof to ghcXYZ-prof, which obsoletes ghc-prof
|
|
|
|
|
|
|
|
* Mon Dec 6 2004 Jens Petersen <petersen@haskell.org> - 6.2.2-1
|
|
|
|
- move ghc requires to ghcXYZ
|
|
|
|
|
|
|
|
* Wed Nov 24 2004 Jens Petersen <petersen@haskell.org> - 6.2.2-0.fdr.1
|
|
|
|
- ghc622
|
|
|
|
- provide ghc = %%version
|
|
|
|
- require gcc, gmp-devel and readline-devel
|
|
|
|
|
|
|
|
* Fri Oct 15 2004 Gerard Milmeister <gemi@bluewin.ch> - 6.2.2-0.fdr.1
|
|
|
|
- New Version 6.2.2
|
|
|
|
|
|
|
|
* Mon Mar 22 2004 Gerard Milmeister <gemi@bluewin.ch> - 6.2.1-0.fdr.1
|
|
|
|
- New Version 6.2.1
|
|
|
|
|
|
|
|
* Tue Dec 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.2-0.fdr.1
|
|
|
|
- New Version 6.2
|
|
|
|
|
|
|
|
* Tue Dec 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.3
|
|
|
|
- A few minor specfile tweaks
|
|
|
|
|
|
|
|
* Mon Dec 15 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.2
|
|
|
|
- Different file list generation
|
|
|
|
|
|
|
|
* Mon Oct 20 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.1
|
|
|
|
- First Fedora release
|
|
|
|
- Added generated html docs, so that haddock is not needed
|
|
|
|
|
|
|
|
* Wed Sep 26 2001 Manuel Chakravarty
|
|
|
|
- small changes for 5.04
|
|
|
|
|
|
|
|
* Wed Sep 26 2001 Manuel Chakravarty
|
|
|
|
- split documentation off into a separate package
|
|
|
|
- adapt to new docbook setup in RH7.1
|
|
|
|
|
|
|
|
* Mon Apr 16 2001 Manuel Chakravarty
|
|
|
|
- revised for 5.00
|
|
|
|
- also runs autoconf automagically if no ./configure found
|
|
|
|
|
|
|
|
* Thu Jun 22 2000 Sven Panne
|
|
|
|
- removed explicit usage of hslibs/docs, it belongs to ghc/docs/set
|
|
|
|
|
|
|
|
* Sun Apr 23 2000 Manuel Chakravarty
|
|
|
|
- revised for ghc 4.07; added suggestions from Pixel <pixel@mandrakesoft.com>
|
|
|
|
- added profiling package
|
|
|
|
|
|
|
|
* Tue Dec 7 1999 Manuel Chakravarty
|
|
|
|
- version for use from CVS
|
|
|
|
|
|
|
|
* Thu Sep 16 1999 Manuel Chakravarty
|
|
|
|
- modified for GHC 4.04, patchlevel 1 (no more 62 tuple stuff); minimises use
|
|
|
|
of patch files - instead emits a build.mk on-the-fly
|
|
|
|
|
|
|
|
* Sat Jul 31 1999 Manuel Chakravarty
|
|
|
|
- modified for GHC 4.04
|
|
|
|
|
|
|
|
* Wed Jun 30 1999 Manuel Chakravarty
|
|
|
|
- some more improvements from vbzoli
|
|
|
|
|
|
|
|
* Fri Feb 26 1999 Manuel Chakravarty
|
|
|
|
- modified for GHC 4.02
|
|
|
|
|
2009-12-11 18:40:16 +00:00
|
|
|
* Thu Dec 24 1998 Zoltan Vorosbaranyi
|
2005-05-12 07:37:43 +00:00
|
|
|
- added BuildRoot
|
|
|
|
- files located in /usr/local/bin, /usr/local/lib moved to /usr/bin, /usr/lib
|
|
|
|
|
|
|
|
* Tue Jul 28 1998 Manuel Chakravarty
|
|
|
|
- original version
|