SPDX migration
This commit is contained in:
parent
b5cf727954
commit
407afb0113
62
ghc.spec
62
ghc.spec
@ -96,7 +96,7 @@ Version: 9.2.6
|
|||||||
Release: 130%{?dist}
|
Release: 130%{?dist}
|
||||||
Summary: Glasgow Haskell Compiler
|
Summary: Glasgow Haskell Compiler
|
||||||
|
|
||||||
License: BSD and HaskellReport
|
License: BSD-3-clause and HaskellReport
|
||||||
URL: https://haskell.org/ghc/
|
URL: https://haskell.org/ghc/
|
||||||
Source0: https://downloads.haskell.org/ghc/%{ghc_release}/ghc-%{version}-src.tar.xz
|
Source0: https://downloads.haskell.org/ghc/%{ghc_release}/ghc-%{version}-src.tar.xz
|
||||||
%if %{with testsuite}
|
%if %{with testsuite}
|
||||||
@ -270,7 +270,7 @@ for the functional language Haskell. Highlights:
|
|||||||
|
|
||||||
%package compiler
|
%package compiler
|
||||||
Summary: GHC compiler and utilities
|
Summary: GHC compiler and utilities
|
||||||
License: BSD
|
License: BSD-3-clause
|
||||||
Requires: gcc%{?_isa}
|
Requires: gcc%{?_isa}
|
||||||
Requires: %{name}-base-devel%{?_isa} = %{base_ver}-%{release}
|
Requires: %{name}-base-devel%{?_isa} = %{base_ver}-%{release}
|
||||||
%if %{with haddock}
|
%if %{with haddock}
|
||||||
@ -302,7 +302,7 @@ install the main ghc package.
|
|||||||
%if %{with haddock} || (%{with hadrian} && %{with manual})
|
%if %{with haddock} || (%{with hadrian} && %{with manual})
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Haskell library documentation meta package
|
Summary: Haskell library documentation meta package
|
||||||
License: BSD
|
License: BSD-3-clause
|
||||||
%obsoletes_ghcXY doc
|
%obsoletes_ghcXY doc
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
@ -312,7 +312,7 @@ Installing this package causes %{name}-*-doc packages corresponding to
|
|||||||
|
|
||||||
%package doc-index
|
%package doc-index
|
||||||
Summary: GHC library documentation indexing
|
Summary: GHC library documentation indexing
|
||||||
License: BSD
|
License: BSD-3-clause
|
||||||
Obsoletes: ghc-doc-cron < %{version}-%{release}
|
Obsoletes: ghc-doc-cron < %{version}-%{release}
|
||||||
Requires: %{name}-compiler = %{version}-%{release}
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
# due to disabled haddock archs
|
# due to disabled haddock archs
|
||||||
@ -339,7 +339,7 @@ Haskell libraries documentation.
|
|||||||
%if %{with manual}
|
%if %{with manual}
|
||||||
%package manual
|
%package manual
|
||||||
Summary: GHC manual
|
Summary: GHC manual
|
||||||
License: BSD
|
License: BSD-3-clause
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name}-filesystem = %{version}-%{release}
|
Requires: %{name}-filesystem = %{version}-%{release}
|
||||||
%obsoletes_ghcXY manual
|
%obsoletes_ghcXY manual
|
||||||
@ -362,46 +362,46 @@ Version: 0.1.0.0
|
|||||||
This provides the hadrian tool which can be used to build ghc.
|
This provides the hadrian tool which can be used to build ghc.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global BSDHaskellReport %{quote:BSD and HaskellReport}
|
%global BSDHaskellReport %{quote:BSD-3-clause and HaskellReport}
|
||||||
|
|
||||||
# use "./libraries-versions.sh" to check versions
|
# use "./libraries-versions.sh" to check versions
|
||||||
%if %{defined ghclibdir}
|
%if %{defined ghclibdir}
|
||||||
%ghc_lib_subpackage -d -l BSD Cabal-3.6.3.0
|
%ghc_lib_subpackage -d -l BSD-3-clause Cabal-3.6.3.0
|
||||||
%ghc_lib_subpackage -d -l %BSDHaskellReport array-0.5.4.0
|
%ghc_lib_subpackage -d -l %BSDHaskellReport array-0.5.4.0
|
||||||
%ghc_lib_subpackage -d -l %BSDHaskellReport -c gmp-devel%{?_isa},libffi-devel%{?_isa} base-%{base_ver}
|
%ghc_lib_subpackage -d -l %BSDHaskellReport -c gmp-devel%{?_isa},libffi-devel%{?_isa} base-%{base_ver}
|
||||||
%ghc_lib_subpackage -d -l BSD binary-0.8.9.0
|
%ghc_lib_subpackage -d -l BSD-3-clause binary-0.8.9.0
|
||||||
%ghc_lib_subpackage -d -l BSD bytestring-0.11.4.0
|
%ghc_lib_subpackage -d -l BSD-3-clause bytestring-0.11.4.0
|
||||||
%ghc_lib_subpackage -d -l %BSDHaskellReport containers-0.6.5.1
|
%ghc_lib_subpackage -d -l %BSDHaskellReport containers-0.6.5.1
|
||||||
%ghc_lib_subpackage -d -l %BSDHaskellReport deepseq-1.4.6.1
|
%ghc_lib_subpackage -d -l %BSDHaskellReport deepseq-1.4.6.1
|
||||||
%ghc_lib_subpackage -d -l %BSDHaskellReport directory-1.3.6.2
|
%ghc_lib_subpackage -d -l %BSDHaskellReport directory-1.3.6.2
|
||||||
%ghc_lib_subpackage -d -l %BSDHaskellReport exceptions-0.10.4
|
%ghc_lib_subpackage -d -l %BSDHaskellReport exceptions-0.10.4
|
||||||
%ghc_lib_subpackage -d -l BSD filepath-1.4.2.2
|
%ghc_lib_subpackage -d -l BSD-3-clause filepath-1.4.2.2
|
||||||
# in ghc not ghc-libraries:
|
# in ghc not ghc-libraries:
|
||||||
%ghc_lib_subpackage -d -x ghc-%{ghc_version_override}
|
%ghc_lib_subpackage -d -x ghc-%{ghc_version_override}
|
||||||
%ghc_lib_subpackage -d -x -l BSD ghc-bignum-%{ghc_bignum_ver}
|
%ghc_lib_subpackage -d -x -l BSD-3-clause ghc-bignum-%{ghc_bignum_ver}
|
||||||
%ghc_lib_subpackage -d -x -l BSD ghc-boot-%{ghc_version_override}
|
%ghc_lib_subpackage -d -x -l BSD-3-clause ghc-boot-%{ghc_version_override}
|
||||||
%ghc_lib_subpackage -d -l BSD ghc-boot-th-%{ghc_version_override}
|
%ghc_lib_subpackage -d -l BSD-3-clause ghc-boot-th-%{ghc_version_override}
|
||||||
%ghc_lib_subpackage -d -x -l BSD ghc-compact-%{ghc_compact_ver}
|
%ghc_lib_subpackage -d -x -l BSD-3-clause ghc-compact-%{ghc_compact_ver}
|
||||||
%ghc_lib_subpackage -d -x -l BSD ghc-heap-%{ghc_version_override}
|
%ghc_lib_subpackage -d -x -l BSD-3-clause ghc-heap-%{ghc_version_override}
|
||||||
# see below for ghc-prim
|
# see below for ghc-prim
|
||||||
%ghc_lib_subpackage -d -x -l BSD ghci-%{ghc_version_override}
|
%ghc_lib_subpackage -d -x -l BSD-3-clause ghci-%{ghc_version_override}
|
||||||
%ghc_lib_subpackage -d -l BSD haskeline-0.8.2
|
%ghc_lib_subpackage -d -l BSD-3-clause haskeline-0.8.2
|
||||||
%ghc_lib_subpackage -d -x -l BSD hpc-%{hpc_ver}
|
%ghc_lib_subpackage -d -x -l BSD-3-clause hpc-%{hpc_ver}
|
||||||
# see below for integer-gmp
|
# see below for integer-gmp
|
||||||
%ghc_lib_subpackage -d -x -l %BSDHaskellReport libiserv-%{ghc_version_override}
|
%ghc_lib_subpackage -d -x -l %BSDHaskellReport libiserv-%{ghc_version_override}
|
||||||
%ghc_lib_subpackage -d -l BSD mtl-2.2.2
|
%ghc_lib_subpackage -d -l BSD-3-clause mtl-2.2.2
|
||||||
%ghc_lib_subpackage -d -l BSD parsec-3.1.15.0
|
%ghc_lib_subpackage -d -l BSD-3-clause parsec-3.1.15.0
|
||||||
%ghc_lib_subpackage -d -l BSD pretty-1.1.3.6
|
%ghc_lib_subpackage -d -l BSD-3-clause pretty-1.1.3.6
|
||||||
%ghc_lib_subpackage -d -l %BSDHaskellReport process-1.6.16.0
|
%ghc_lib_subpackage -d -l %BSDHaskellReport process-1.6.16.0
|
||||||
%ghc_lib_subpackage -d -l BSD stm-2.5.0.2
|
%ghc_lib_subpackage -d -l BSD-3-clause stm-2.5.0.2
|
||||||
%ghc_lib_subpackage -d -l BSD template-haskell-2.18.0.0
|
%ghc_lib_subpackage -d -l BSD-3-clause template-haskell-2.18.0.0
|
||||||
%ghc_lib_subpackage -d -l BSD -c ncurses-devel%{?_isa} terminfo-0.4.1.5
|
%ghc_lib_subpackage -d -l BSD-3-clause -c ncurses-devel%{?_isa} terminfo-0.4.1.5
|
||||||
%ghc_lib_subpackage -d -l BSD text-1.2.5.0
|
%ghc_lib_subpackage -d -l BSD-3-clause text-1.2.5.0
|
||||||
%ghc_lib_subpackage -d -l BSD time-1.11.1.1
|
%ghc_lib_subpackage -d -l BSD-3-clause time-1.11.1.1
|
||||||
%ghc_lib_subpackage -d -l BSD transformers-0.5.6.2
|
%ghc_lib_subpackage -d -l BSD-3-clause transformers-0.5.6.2
|
||||||
%ghc_lib_subpackage -d -l BSD unix-2.7.2.2
|
%ghc_lib_subpackage -d -l BSD-3-clause unix-2.7.2.2
|
||||||
%if %{with haddock} || %{with hadrian}
|
%if %{with haddock} || %{with hadrian}
|
||||||
%ghc_lib_subpackage -d -l BSD xhtml-%{xhtml_ver}
|
%ghc_lib_subpackage -d -l BSD-3-clause xhtml-%{xhtml_ver}
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -409,7 +409,7 @@ This provides the hadrian tool which can be used to build ghc.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: GHC development libraries meta package
|
Summary: GHC development libraries meta package
|
||||||
License: BSD and HaskellReport
|
License: BSD-3-clause and HaskellReport
|
||||||
Requires: %{name}-compiler = %{version}-%{release}
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
Obsoletes: %{name}-libraries < %{version}-%{release}
|
Obsoletes: %{name}-libraries < %{version}-%{release}
|
||||||
Provides: %{name}-libraries = %{version}-%{release}
|
Provides: %{name}-libraries = %{version}-%{release}
|
||||||
@ -424,7 +424,7 @@ except the ghc library, which is installed by the toplevel ghc metapackage.
|
|||||||
%if %{with ghc_prof}
|
%if %{with ghc_prof}
|
||||||
%package prof
|
%package prof
|
||||||
Summary: GHC profiling libraries meta package
|
Summary: GHC profiling libraries meta package
|
||||||
License: BSD
|
License: BSD-3-clause
|
||||||
Requires: %{name}-compiler = %{version}-%{release}
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
%obsoletes_ghcXY prof
|
%obsoletes_ghcXY prof
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user