head	1.20;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.11
	OPENPKG_E1_MP:1.11
	OPENPKG_E1_MP_2_STABLE:1.10.2.2
	OPENPKG_E1_FP:1.10.2.2
	OPENPKG_2_STABLE_MP:1.10
	OPENPKG_2_STABLE_20061018:1.10.2.2
	OPENPKG_2_STABLE:1.10.0.2
	OPENPKG_CW_FP:1.2;
locks; strict;
comment	@-- @;


1.20
date	2009.05.03.17.59.00;	author rse;	state Exp;
branches;
next	1.19;
commitid	l9PItFdz1LzaasMt;

1.19
date	2009.05.03.10.23.11;	author rse;	state Exp;
branches;
next	1.18;
commitid	WT73Ukfrwj6MDpMt;

1.18
date	2009.05.03.09.43.10;	author rse;	state Exp;
branches;
next	1.17;
commitid	TANcX5Ul9t84qpMt;

1.17
date	2009.04.18.13.10.40;	author rse;	state Exp;
branches;
next	1.16;
commitid	4pHXU27WTIGCZuKt;

1.16
date	2008.08.14.18.10.46;	author rse;	state Exp;
branches;
next	1.15;
commitid	q71NDPi1QMhlEMet;

1.15
date	2008.01.01.14.54.27;	author rse;	state Exp;
branches;
next	1.14;
commitid	B8esaHJHoduuKILs;

1.14
date	2007.04.24.15.47.23;	author rse;	state Exp;
branches;
next	1.13;
commitid	wcCja7bl4avKdlfs;

1.13
date	2007.01.27.19.56.38;	author rse;	state Exp;
branches;
next	1.12;
commitid	zjY5KpBnlOSEob4s;

1.12
date	2007.01.27.19.50.17;	author rse;	state Exp;
branches;
next	1.11;
commitid	T02zAIXRy4utmb4s;

1.11
date	2007.01.01.17.38.06;	author rse;	state Exp;
branches;
next	1.10;
commitid	BicZD6VUl7GuqP0s;

1.10
date	2006.10.13.17.28.17;	author thl;	state Exp;
branches
	1.10.2.1;
next	1.9;
commitid	q5GSxzsSDX29XxQr;

1.9
date	2006.10.11.17.08.31;	author rse;	state Exp;
branches;
next	1.8;
commitid	v6lzKYyaNl1dWhQr;

1.8
date	2006.08.09.19.40.27;	author rse;	state Exp;
branches;
next	1.7;
commitid	4E839DWe2q3TNcIr;

1.7
date	2006.04.18.20.09.38;	author rse;	state Exp;
branches;
next	1.6;
commitid	Wrn5kdftK0W5BGtr;

1.6
date	2006.01.01.13.13.56;	author rse;	state Exp;
branches;
next	1.5;
commitid	otZG8yKMCw1JFTfr;

1.5
date	2005.09.19.20.16.52;	author rse;	state Exp;
branches;
next	1.4;

1.4
date	2005.09.07.14.40.46;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2005.03.24.11.18.54;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.09.11.43.30;	author ms;	state Exp;
branches;
next	1.1;

1.1
date	2005.03.06.12.45.05;	author rse;	state Exp;
branches;
next	;

1.10.2.1
date	2006.10.13.17.28.17;	author rse;	state dead;
branches;
next	1.10.2.2;
commitid	iZxwRSmmWscPXUQr;

1.10.2.2
date	2006.10.16.14.50.22;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.20
log
@fix ghci command
@
text
@##
##  ghc.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_source   6.10.2
%define       V_boot_bsd 6.8.3
%define       V_boot_lnx 6.10.2
%define       V_boot_sol 6.10.2

#   package information
Name:         ghc
Summary:      Glasgow Haskell Compiler
URL:          http://haskell.org/ghc/
Vendor:       University of Glasgow
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      X11-style
Version:      %{V_source}
Release:      20090503

#   list of sources
Source0:      http://haskell.org/ghc/dist/%{V_source}/ghc-%{V_source}-src.tar.bz2
Source1:      http://haskell.org/ghc/dist/%{V_source}/ghc-%{V_source}-src-extralibs.tar.bz2
Source2:      http://haskell.org/ghc/dist/%{V_boot_bsd}/FreeBSD/ghc-%{V_boot_bsd}-i386-unknown-freebsd6-boot.tar.bz2
Source3:      http://haskell.org/ghc/dist/%{V_boot_lnx}/ghc-%{V_boot_lnx}-i386-unknown-linux.tar.bz2
Source4:      http://haskell.org/ghc/dist/%{V_boot_sol}/maeder/ghc-%{V_boot_sol}-sparc-sun-solaris2.tar.bz2
Patch0:       ghc.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc, perl, make
PreReq:       OpenPKG, openpkg >= 20040130, gcc
BuildPreReq:  gmp
PreReq:       gmp
AutoReq:      no
AutoReqProv:  no

%description
    GHC is a state-of-the-art, open source, compiler and interactive
    environment for the functional language Haskell. GHC supports the
    entire Haskell 98 language plus a wide variety of extensions.
    GHC compiles Haskell code either by using an intermediate C
    compiler (GCC), or by generating native code on some platforms.
    The interactive environment compiles Haskell to bytecode, and
    supports execution of mixed bytecode/compiled programs. Profiling
    is supported, both by time/allocation and various kinds of heap
    profiling. GHC comes with a wide range of libraries.

%track
    prog ghc = {
        version   = %{V_source}
        url       = http://haskell.org/ghc/dist/
        regex     = (\d+\.\d+(\.\d+)?)
        url       = http://haskell.org/ghc/dist/__NEWVER__/
        regex     = ghc-(__VER__)-src\.tar\.bz2
    }

%prep
    %setup -q
    %setup -q -D -T -b 1
    %patch -p0

    #   remove libraries which potentially can make trouble
    for name in ALUT GLUT HGL OpenAL OpenGL X11; do
        rm -rf libraries/$name
    done

    #   optionally unpack bootstrapping distribution
    if [ ! -f %{l_prefix}/bin/ghc ]; then
        case "%{l_platform -t}" in
            i?86-freebsd*  ) boot="%{SOURCE2}" ;;
            amd64-freebsd* ) boot="%{SOURCE2}" ;;
            i?86-linux*    ) boot="%{SOURCE3}" ;;
            amd64-linux*   ) boot="%{SOURCE3}" ;;
            sun*-sunos*    ) boot="%{SOURCE4}" ;;
            * ) echo "platform \"%{l_platform -t}\" not supported"; exit 1 ;;
        esac
        %{l_bzip2} -d -c $boot | %{l_tar} xf -
        ( cd ghc-*-boot
          %{l_prefix}/bin/config install
          case "%{l_platform -t}" in
              amd64-freebsd* )
                  mv bin/i386-unknown-freebsd bin/x86_64-unknown-freebsd
                  mv lib/i386-unknown-freebsd lib/x86_64-unknown-freebsd
                  ;;
              amd64-linux* )
                  mv bin/i386-unknown-linux bin/x86_64-unknown-linux
                  mv lib/i386-unknown-linux lib/x86_64-unknown-linux
                  ;;
          esac
        ) || exit $?
    fi

%build
    #   determine bootstrapping installation
    if [ -f %{l_prefix}/bin/ghc ]; then
        #   use version from previous package release
        #   and perform a stage 1 build only
        l_ghc=%{l_prefix}/bin/ghc
        m_target="stage1 stage=1"
    else
        #   use the pre-built bootstrap distribution in-place
        #   and perform a full-featured stage 1 and stage 2 build
        l_boot="`pwd`/ghc-boot"
        ( cd ghc-*-boot
          ./configure --prefix="$l_boot"
          %{l_make} %{l_mflags}
          %{l_make} %{l_mflags} install
        ) || exit $?
        l_ghc="$l_boot/bin/ghc"
        m_target="bootstrap"
        PATH="$l_boot/bin:$PATH"
    fi

    #   workaround build-time ~/.ghc/ storage
    export HOME=`pwd`

    #   configure program
    ( echo "GhcLibWays="
      echo "SplitObjs=NO"
    ) >>mk/build.mk
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    PerlCmd=%{l_prefix}/bin/perl \
    ./configure \
        --prefix=%{l_prefix} \
        --with-ghc="${l_ghc}" \
        --with-gcc="%{l_cc}" \
        --with-gmp-includes=%{l_prefix}/include \
        --with-gmp-libraries=%{l_prefix}/lib

    #   build program
    %{l_make} %{l_mflags} $m_target

%install
    #   install program
    rm -rf $RPM_BUILD_ROOT
    if [ -f %{l_prefix}/bin/ghc ]; then
        #   install the stage 1
        m_target="install stage=1"
    else
        #   install the stage 2
        m_target="install"
        l_boot="`pwd`/ghc-boot"
        PATH="$l_boot/bin:$PATH"
    fi
    %{l_make} %{l_mflags} $m_target DESTDIR=$RPM_BUILD_ROOT

    #   adjust and strip down installation
    for prog in ghc ghc-pkg ghci; do
        rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/$prog
        mv  $RPM_BUILD_ROOT%{l_prefix}/bin/$prog-%{version} \
            $RPM_BUILD_ROOT%{l_prefix}/bin/$prog
    done
    %{l_shtool} subst \
        -e 's;bin/ghc-[0-9.]*;bin/ghc;' \
        $RPM_BUILD_ROOT%{l_prefix}/bin/ghci
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc >/dev/null 2>&1 || true

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.19
log
@try to fix installation results
@
text
@d180 3
@


1.18
log
@upgrading package: ghc 6.6.1 -> 6.10.2
@
text
@d172 1
a172 3
    %{l_make} %{l_mflags} $m_target \
        prefix=$RPM_BUILD_ROOT%{l_prefix} \
        exec_prefix=$RPM_BUILD_ROOT%{l_prefix}
@


1.17
log
@bump years in copyright messages
@
text
@d25 4
a28 4
%define       V_source   6.6.1
%define       V_boot_bsd 6.6
%define       V_boot_lnx 6.6
%define       V_boot_sol 6.6
d41 1
a41 1
Release:      20080814
d48 1
a48 1
Source4:      http://haskell.org/ghc/dist/%{V_boot_sol}/ghc-%{V_boot_sol}-sparc-sun-solaris2.tar.bz2
d56 2
d127 1
d129 3
a131 3
          ./configure
          %{l_make} %{l_mflags} in-place
          rm -f bin/*/ghc-[0-9]*.sh
d133 1
a133 1
        l_ghc="`pwd`/`echo ghc-*-boot/bin/*/ghc-[0-9]*`"
d135 1
d153 3
a155 1
        --with-gcc="%{l_cc}"
d169 2
d183 1
@


1.16
log
@fix Perl checking
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.15
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d41 1
a41 1
Release:      20080101
@


1.14
log
@upgrading package: ghc 6.6 -> 6.6.1
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d41 1
a41 1
Release:      20070424
@


1.13
log
@upgrade to newer bootstrap versions
@
text
@d26 1
a26 1
%define       V_source   6.6
d42 1
a42 1
Release:      20070127
@


1.12
log
@add extra libraries (especially for 'mtl' package which lots of things like 'darcs' require) and add experimental AMD64 support (although it still doesn't work as expected)
@
text
@d27 3
a29 3
%define       V_boot_bsd 6.4.2
%define       V_boot_lnx 6.4.2
%define       V_boot_sol 6.4.1
d49 1
a49 1
Source4:      http://haskell.org/ghc/dist/%{V_boot_sol}/ghc-%{V_boot_sol}-2005-09-17-sparc-sun-solaris2.tar.bz2
@


1.11
log
@Welcome Year 2007!
@
text
@d42 1
a42 1
Release:      20061013
d46 4
a49 3
Source1:      http://haskell.org/ghc/dist/%{V_boot_bsd}/FreeBSD/ghc-%{V_boot_bsd}-i386-unknown-freebsd6-boot.tar.bz2
Source2:      http://haskell.org/ghc/dist/%{V_boot_lnx}/ghc-%{V_boot_lnx}-i386-unknown-linux.tar.bz2
Source3:      http://haskell.org/ghc/dist/%{V_boot_sol}/ghc-%{V_boot_sol}-2005-09-17-sparc-sun-solaris2.tar.bz2
d82 1
d85 5
d93 5
a97 3
            i?86-freebsd* ) boot="%{SOURCE1}" ;;
            i?86-linux*   ) boot="%{SOURCE2}" ;;
            sun*-sunos*   ) boot="%{SOURCE3}" ;;
d101 13
@


1.10
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.10.2.1
log
@file ghc.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:50:22 +0000
@
text
@d1 162
@


1.10.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 162
##
##  ghc.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_source   6.6
%define       V_boot_bsd 6.4.2
%define       V_boot_lnx 6.4.2
%define       V_boot_sol 6.4.1

#   package information
Name:         ghc
Summary:      Glasgow Haskell Compiler
URL:          http://haskell.org/ghc/
Vendor:       University of Glasgow
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      X11-style
Version:      %{V_source}
Release:      2.20061018

#   list of sources
Source0:      http://haskell.org/ghc/dist/%{V_source}/ghc-%{V_source}-src.tar.bz2
Source1:      http://haskell.org/ghc/dist/%{V_boot_bsd}/FreeBSD/ghc-%{V_boot_bsd}-i386-unknown-freebsd6-boot.tar.bz2
Source2:      http://haskell.org/ghc/dist/%{V_boot_lnx}/ghc-%{V_boot_lnx}-i386-unknown-linux.tar.bz2
Source3:      http://haskell.org/ghc/dist/%{V_boot_sol}/ghc-%{V_boot_sol}-2005-09-17-sparc-sun-solaris2.tar.bz2
Patch0:       ghc.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, gcc, perl, make
PreReq:       OpenPKG, openpkg >= 2.20061018, gcc
AutoReq:      no
AutoReqProv:  no

%description
    GHC is a state-of-the-art, open source, compiler and interactive
    environment for the functional language Haskell. GHC supports the
    entire Haskell 98 language plus a wide variety of extensions.
    GHC compiles Haskell code either by using an intermediate C
    compiler (GCC), or by generating native code on some platforms.
    The interactive environment compiles Haskell to bytecode, and
    supports execution of mixed bytecode/compiled programs. Profiling
    is supported, both by time/allocation and various kinds of heap
    profiling. GHC comes with a wide range of libraries.

%track
    prog ghc = {
        version   = %{V_source}
        url       = http://haskell.org/ghc/dist/
        regex     = (\d+\.\d+(\.\d+)?)
        url       = http://haskell.org/ghc/dist/__NEWVER__/
        regex     = ghc-(__VER__)-src\.tar\.bz2
    }

%prep
    %setup -q
    %patch -p0

    #   optionally unpack bootstrapping distribution
    if [ ! -f %{l_prefix}/bin/ghc ]; then
        case "%{l_platform -t}" in
            i?86-freebsd* ) boot="%{SOURCE1}" ;;
            i?86-linux*   ) boot="%{SOURCE2}" ;;
            sun*-sunos*   ) boot="%{SOURCE3}" ;;
            * ) echo "platform \"%{l_platform -t}\" not supported"; exit 1 ;;
        esac
        %{l_bzip2} -d -c $boot | %{l_tar} xf -
    fi

%build
    #   determine bootstrapping installation
    if [ -f %{l_prefix}/bin/ghc ]; then
        #   use version from previous package release
        #   and perform a stage 1 build only
        l_ghc=%{l_prefix}/bin/ghc
        m_target="stage1 stage=1"
    else
        #   use the pre-built bootstrap distribution in-place
        #   and perform a full-featured stage 1 and stage 2 build
        ( cd ghc-*-boot
          ./configure
          %{l_make} %{l_mflags} in-place
          rm -f bin/*/ghc-[0-9]*.sh
        ) || exit $?
        l_ghc="`pwd`/`echo ghc-*-boot/bin/*/ghc-[0-9]*`"
        m_target="bootstrap"
    fi

    #   workaround build-time ~/.ghc/ storage
    export HOME=`pwd`

    #   configure program
    ( echo "GhcLibWays="
      echo "SplitObjs=NO"
    ) >>mk/build.mk
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    PerlCmd=%{l_prefix}/bin/perl \
    ./configure \
        --prefix=%{l_prefix} \
        --with-ghc="${l_ghc}" \
        --with-gcc="%{l_cc}"

    #   build program
    %{l_make} %{l_mflags} $m_target

%install
    #   install program
    rm -rf $RPM_BUILD_ROOT
    if [ -f %{l_prefix}/bin/ghc ]; then
        #   install the stage 1
        m_target="install stage=1"
    else
        #   install the stage 2
        m_target="install"
    fi
    %{l_make} %{l_mflags} $m_target \
        prefix=$RPM_BUILD_ROOT%{l_prefix} \
        exec_prefix=$RPM_BUILD_ROOT%{l_prefix}

    #   adjust and strip down installation
    for prog in ghc ghc-pkg ghci; do
        rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/$prog
        mv  $RPM_BUILD_ROOT%{l_prefix}/bin/$prog-%{version} \
            $RPM_BUILD_ROOT%{l_prefix}/bin/$prog
    done
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.9
log
@upgrading package: ghc 6.4.2 -> 6.6
@
text
@d36 2
a37 2
Packager:     OpenPKG
Distribution: OpenPKG
d42 1
a42 1
Release:      20061011
@


1.8
log
@upgrade binary boostrap under FreeBSD and Linux
@
text
@d26 1
a26 1
%define       V_source   6.4.2
d42 1
a42 1
Release:      20060809
@


1.7
log
@upgrading package: ghc 6.4.1 -> 6.4.2
@
text
@d27 2
a28 2
%define       V_boot_bsd 6.4.1
%define       V_boot_lnx 6.4.1
d42 1
a42 1
Release:      20060418
d46 1
a46 1
Source1:      http://haskell.org/ghc/dist/%{V_boot_bsd}/FreeBSD/ghc-%{V_boot_bsd}-i386-unknown-freebsd5-boot.tar.bz2
@


1.6
log
@adjust copyrights for new year 2006
@
text
@d26 2
a27 2
%define       V_source   6.4.1
%define       V_boot_bsd 6.4
d42 1
a42 1
Release:      20050919
@


1.5
log
@upgrading package: ghc 6.4 -> 6.4.1
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.4
log
@upgrade to Haskell 6.4
@
text
@d26 1
a26 1
%define       V_source   6.4
d28 2
a29 2
%define       V_boot_lnx 6.4
%define       V_boot_sol 6.2.2
d42 1
a42 1
Release:      20050907
d48 1
a48 1
Source3:      http://haskell.org/ghc/dist/%{V_boot_sol}/ghc-%{V_boot_sol}-sparc-sun-solaris2.tar.bz2
@


1.3
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d26 4
a29 3
%define       V_boot   6.2.2
%define       V_major  6.4
%define       V_minor  20050308
d41 2
a42 2
Version:      %{V_major}.%{V_minor}
Release:      20050309
d45 4
a48 4
Source0:      http://haskell.org/ghc/dist/stable/dist/ghc-%{version}-src.tar.bz2
Source1:      http://haskell.org/ghc/dist/%{V_boot}/FreeBSD/ghc-%{V_boot}-i386-unknown-freebsd-boot.tar.bz2
Source2:      http://haskell.org/ghc/dist/%{V_boot}/ghc-%{V_boot}-i386-linux-glibc2.2.tar.bz2
Source3:      http://haskell.org/ghc/dist/%{V_boot}/ghc-%{V_boot}-sparc-sun-solaris2.tar.bz2
d72 5
a76 3
        version   = %{version}
        url       = http://haskell.org/ghc/dist/stable/dist/
        regex     = ghc-(__VER__)\.tar\.bz2
d104 1
a104 1
        ( cd ghc-%{V_boot}-boot
d107 1
d109 1
a109 1
        l_ghc="`pwd`/`echo ghc-%{V_boot}-boot/bin/*`/ghc-%{V_boot}"
d113 3
d118 1
d124 1
a129 3
    #   workaround build-time ~/.ghc/ storage
    export HOME=`pwd`

@


1.2
log
@upgrading package: ghc 6.4.20050304 -> 6.4.20050308
@
text
@d2 3
a4 4
##  ghc.spec -- OpenPKG RPM Specification
##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2005 Cable & Wireless <http://www.cw.com/>
d35 1
a35 1
Packager:     The OpenPKG Project
@


1.1
log
@new package: ghc 6.4.20050304 (Glasgow Haskell Compiler)
@
text
@d29 1
a29 1
%define       V_minor  20050304
d42 1
a42 1
Release:      20050306
@

