Create Paste
Top Pastes
Recent Pastes
Settings
Account
New proposal spec
Anonymous
Views
1
Visibility
Private
Expires
Never
Created
March 2023
View Raw
Download
%ifarch %{ix86} %define longarch i386 %endif %ifarch aarch64 %define longarch aarch64 %endif %ifarch x86_64 %define longarch x86_64 %endif %ifarch x86_64 %define sysname deb8 %if else %define sysname deb9 %if else %define sysname fedora27 %if else %define sysname centos7 %if else %define sysname apple %endif %ifarch %{ix86} %define sysname deb9 %endif %ifarch aarch64 %define sysname deb9 %endif Name: ghc-bootstrap Version: 8.8.1 Release: %mkrel 1 URL: https://build.opensuse.org/package/view_file/devel:languages:haskell:bootstrap Summary: Binary distributions of The Glorious Glasgow Haskell Compiler License: BSD-3-Clause Group: Development/Other Source1: LICENSE Source2: ghc-8.8.1-i386-deb9-linux.tar.xz Source3: ghc-8.8.1-x86_64-apple-darwin.tar.xz Source4: ghc-8.8.1-x86_64-deb9-linux.tar.xz Source5: ghc-8.8.1-x86_64-deb9-linux-dwarf.tar.xz Source6: ghc-8.8.1-x86_64-deb8-linux.tar.xz Source7: ghc-8.8.1-x86_64-fedora27-linux.tar.xz Source8: ghc-8.8.1-x86_64-centos7-linux.tar.xz Source9: ghc-8.8.1-aarch64-deb9-linux.tar.xz BuildRequires: fdupes BuildRequires: libgmp-devel BuildRequires: libncurses5 %ifarch aarch64 %{arm} BuildRequires: binutils Requires: binutils Requires: llvm %endif Requires: libgmp-devel Requires: libncurses5 %ifarch aarch64 %{arm} Requires: lib64ncurses5 %endif ExclusiveArch: %{ix86} x86_64 aarch64 Provides: ghc-bootstrap-devel = %{version}-%{release} AutoReq: off %description This package contains a binary distribution of "The Glorious Glasgow Haskell Compilation System". Do not install this package! Install 'ghc' instead. %prep cp %SOURCE1 . cp %SOURCE2 . cp %SOURCE3 . cp %SOURCE4 . cp %SOURCE5 . cp %SOURCE6 . cp %SOURCE7 . cp %SOURCE8 . cp %SOURCE9 . %build tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz cd ghc-%{version} ./configure --prefix=/opt %install cd ghc-%{version} %make_install %fdupes -s %{buildroot} %post /opt/bin/ghc-pkg recache %files %doc LICENSE /opt