From e8fc0c7b7e5f36d1602e9c32d56540ec3a8e4f71d3b2230c8c4a2b6235dd76b3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 10 Dec 2024 11:25:55 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++ .gitignore | 1 + ghc-parallel.changes | 82 ++++++++++++++++++++++++++++++ ghc-parallel.spec | 107 ++++++++++++++++++++++++++++++++++++++++ parallel-3.2.2.0.tar.gz | 3 ++ parallel.cabal | 80 ++++++++++++++++++++++++++++++ 6 files changed, 296 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ghc-parallel.changes create mode 100644 ghc-parallel.spec create mode 100644 parallel-3.2.2.0.tar.gz create mode 100644 parallel.cabal diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ghc-parallel.changes b/ghc-parallel.changes new file mode 100644 index 0000000..11618a1 --- /dev/null +++ b/ghc-parallel.changes @@ -0,0 +1,82 @@ +------------------------------------------------------------------- +Fri Nov 8 16:23:30 UTC 2024 - Peter Simons + +- 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 + +- 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 + +- 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 + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Wed Mar 15 15:10:12 UTC 2023 - Peter Simons + +- 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 + +- 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 + +- 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 + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 16 11:14:27 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +------------------------------------------------------------------- +Thu May 7 08:08:23 UTC 2020 - Peter Simons + +- Update Cabal file to get more accurate dependency information. + +------------------------------------------------------------------- +Fri Nov 8 16:14:22 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +------------------------------------------------------------------- +Thu Aug 2 16:29:58 UTC 2018 - psimons@suse.com + +- Add parallel at version 3.2.2.0. diff --git a/ghc-parallel.spec b/ghc-parallel.spec new file mode 100644 index 0000000..56d94aa --- /dev/null +++ b/ghc-parallel.spec @@ -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 +. + +To understand the principles behind the library, see +. + +%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 diff --git a/parallel-3.2.2.0.tar.gz b/parallel-3.2.2.0.tar.gz new file mode 100644 index 0000000..f2bf15a --- /dev/null +++ b/parallel-3.2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:170453a71a2a8b31cca63125533f7771d7debeb639700bdabdd779c34d8a6ef6 +size 14681 diff --git a/parallel.cabal b/parallel.cabal new file mode 100644 index 0000000..ff5b09e --- /dev/null +++ b/parallel.cabal @@ -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 . + . + To understand the principles behind the library, see + . + + +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