代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/ghc-bootstrap 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global ghc_ver 9.2.3
%ifarch x86_64 aarch64
%define sysname deb10
%endif
Name: ghc-bootstrap
Version: %{ghc_ver}
Release: 1
Summary: Binary distributions of The Glorious Glasgow Haskell Compiler
License: BSD-3-Clause
URL: https://downloads.haskell.org/~ghc/%{ghc_ver}
Source0: LICENSE
# This is GHC-signing-key.asc, for checking the integrity of the tarballs.
Source1: https://keys.openpgp.org/vks/v1/by-fingerprint/88B57FCF7DB53B4DB3BFA4B1588764FBE22D19C4#/GHC-signing-key.asc
Source2: https://downloads.haskell.org/~ghc/%{ghc_ver}/ghc-%{ghc_ver}-x86_64-%{sysname}-linux.tar.xz
Source3: https://downloads.haskell.org/~ghc/%{ghc_ver}/ghc-%{ghc_ver}-x86_64-%{sysname}-linux.tar.xz.sig
Source4: https://downloads.haskell.org/~ghc/%{ghc_ver}/ghc-%{ghc_ver}-aarch64-%{sysname}-linux.tar.xz
Source5: https://downloads.haskell.org/~ghc/%{ghc_ver}/ghc-%{ghc_ver}-aarch64-%{sysname}-linux.tar.xz.sig
Source6: ghc-%{ghc_ver}-x86_64-%{sysname}-linux.tar.xz.aa
Source7: ghc-%{ghc_ver}-x86_64-%{sysname}-linux.tar.xz.ab
Source8: ghc-%{ghc_ver}-x86_64-%{sysname}-linux.tar.xz.ac
Source9: ghc-%{ghc_ver}-aarch64-%{sysname}-linux.tar.xz.aa
Source10: ghc-%{ghc_ver}-aarch64-%{sysname}-linux.tar.xz.ab
Source11: ghc-%{ghc_ver}-aarch64-%{sysname}-linux.tar.xz.ac
BuildRequires: chrpath
BuildRequires: fdupes
BuildRequires: gmp-devel
BuildRequires: libffi
BuildRequires: libatomic
BuildRequires: ncurses-libs
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libffi)
BuildRequires: numactl-devel
BuildRequires: gnupg2
BuildRequires: tar
BuildRequires: xz
Requires: gmp-devel
Requires: libffi
Requires: libatomic
Requires: ncurses-libs
Requires: pkgconfig(libffi)
Requires: numactl-devel
Requires: libffi-devel
Conflicts: ghc-base
Provides: ghc-bootstrap-devel
ExclusiveArch: x86_64 aarch64
AutoReq: off
%description
This package contains a binary distribution of The Glorious Glasgow
Haskell Compilation System.
The tarballs come from the ghc download page.
This package is only used for bootstraping ghc.
Do not install this package! Install 'ghc' instead.
%prep
cd ../SOURCES
cat %{SOURCE6} %{SOURCE7} %{SOURCE8} > %{SOURCE2}
cat %{SOURCE9} %{SOURCE10} %{SOURCE11} > %{SOURCE4}
cd ../BUILD
cp %{SOURCE0} .
cp %{SOURCE1} .
cp %{SOURCE2} .
cp %{SOURCE3} .
cp %{SOURCE4} .
cp %{SOURCE5} .
# To avoid malicious tampering, checking the integrity of the upstream tarballs.
gpg --import %{SOURCE1}
gpg --verify ghc-%{version}-%{_arch}-%{sysname}-linux.tar.xz.sig ghc-%{version}-%{_arch}-%{sysname}-linux.tar.xz
tar Jxf ghc-%{version}-%{_arch}-%{sysname}-linux.tar.xz
%build
%install
cd ghc-%{version}
./configure --prefix=/opt
%make_install
%post
/opt/bin/ghc-pkg recache
%files
%license LICENSE
/opt/bin/ghc
/opt/bin/ghc-%{version}
/opt/bin/ghci
/opt/bin/ghci-%{version}
/opt/bin/ghc-pkg
/opt/bin/ghc-pkg-%{version}
/opt/bin/haddock
/opt/bin/haddock-ghc-%{version}
/opt/bin/hp2ps
/opt/bin/hpc
/opt/bin/hsc2hs
/opt/bin/runghc
/opt/bin/runghc-%{version}
/opt/bin/runhaskell
/opt/lib/ghc-%{version}/*
/opt/share/doc/ghc-%{version}/*
/opt/share/man/man1/ghc.1
%changelog
* Tue Nov 14 2023 Lin Runze <lrzlin@163.com> - 9.2.3-1
- Initial packaging.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。