osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-parallel revision:2, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-parallel?expand=0&rev=40
This commit is contained in:
Peter Simons 2024-12-10 11:25:55 +00:00 committed by Git OBS Bridge
commit e8fc0c7b7e
6 changed files with 296 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

82
ghc-parallel.changes Normal file
View File

@ -0,0 +1,82 @@
-------------------------------------------------------------------
Fri Nov 8 16:23:30 UTC 2024 - Peter Simons <psimons@suse.com>
- Update parallel to version 3.2.2.0 revision 9.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Apr 4 06:37:28 UTC 2024 - Peter Simons <psimons@suse.com>
- Update parallel to version 3.2.2.0 revision 8.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Sep 28 12:00:30 UTC 2023 - Peter Simons <psimons@suse.com>
- Update parallel to version 3.2.2.0 revision 7.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:07:50 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Wed Mar 15 15:10:12 UTC 2023 - Peter Simons <psimons@suse.com>
- Update parallel to version 3.2.2.0 revision 6.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Aug 11 06:55:10 UTC 2022 - Peter Simons <psimons@suse.com>
- Update parallel to version 3.2.2.0 revision 5.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Nov 1 08:29:11 UTC 2021 - psimons@suse.com
- Update parallel to version 3.2.2.0 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Feb 19 23:02:56 UTC 2021 - psimons@suse.com
- Update parallel to version 3.2.2.0 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Mon Aug 31 09:34:38 UTC 2020 - psimons@suse.com
- Update parallel to version 3.2.2.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 18 10:45:38 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:14:27 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu May 7 08:08:23 UTC 2020 - Peter Simons <psimons@suse.com>
- Update Cabal file to get more accurate dependency information.
-------------------------------------------------------------------
Fri Nov 8 16:14:22 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
Thu Aug 2 16:29:58 UTC 2018 - psimons@suse.com
- Add parallel at version 3.2.2.0.

107
ghc-parallel.spec Normal file
View File

@ -0,0 +1,107 @@
#
# spec file for package ghc-parallel
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global pkg_name parallel
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 3.2.2.0
Release: 0
Summary: Parallel programming library
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/9.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-rpm-macros
ExcludeArch: %{ix86}
%description
This package provides a library for parallel programming.
For documentation, start from the "Control.Parallel.Strategies" module below.
For more tutorial documentation, see the book
<https://simonmar.github.io/pages/pcph.html Parallel and Concurrent Programming
in Haskell>.
To understand the principles behind the library, see
<https://simonmar.github.io/bib/papers/strategies.pdf Seq no more: Better
Strategies for Parallel Haskell>.
%package devel
Summary: Haskell %{pkg_name} library development files
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc changelog.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog

3
parallel-3.2.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:170453a71a2a8b31cca63125533f7771d7debeb639700bdabdd779c34d8a6ef6
size 14681

80
parallel.cabal Normal file
View File

@ -0,0 +1,80 @@
cabal-version: >=1.10
name: parallel
version: 3.2.2.0
x-revision: 9
-- NOTE: Don't forget to update ./changelog.md
license: BSD3
license-file: LICENSE
maintainer: libraries@haskell.org
bug-reports: https://github.com/haskell/parallel/issues
synopsis: Parallel programming library
category: Control, Parallelism
build-type: Simple
tested-with:
GHC == 9.12.0
GHC == 9.10.1
GHC == 9.8.2
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
-- Drop these old GHCs from CI:
-- GHC == 7.10.3
-- GHC == 7.8.4
-- GHC == 7.6.3
-- GHC == 7.4.2
-- GHC == 7.2.2
-- GHC == 7.0.4
description:
This package provides a library for parallel programming.
.
For documentation, start from the "Control.Parallel.Strategies"
module below.
.
For more tutorial documentation, see the book <https://simonmar.github.io/pages/pcph.html Parallel and Concurrent Programming in Haskell>.
.
To understand the principles behind the library, see
<https://simonmar.github.io/bib/papers/strategies.pdf Seq no more: Better Strategies for Parallel Haskell>.
extra-source-files: changelog.md
source-repository head
type: git
location: https://github.com/haskell/parallel.git
library
default-language: Haskell2010
other-extensions:
BangPatterns
CPP
MagicHash
UnboxedTuples
exposed-modules:
Control.Seq
Control.Parallel
Control.Parallel.Strategies
build-depends:
array >= 0.3 && < 0.6,
base >= 4.3 && < 4.22,
containers >= 0.4 && < 0.8,
deepseq >= 1.1 && < 1.6
ghc-options: -Wall
if impl(ghc >= 6.11)
-- To improve parallel performance:
ghc-options: -feager-blackholing
if impl(ghc >= 7.2.1)
build-depends: ghc-prim