From 0131b6d821d0979323c16ad70e9d60af9b249a3bc4a947a949c3792efaa03af6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 26 Oct 2024 13:48:27 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-fgl revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fgl?expand=0&rev=25 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + fgl-5.8.2.0.tar.gz | 3 ++ fgl-5.8.3.0.tar.gz | 3 ++ ghc-fgl.changes | 91 +++++++++++++++++++++++++++++++++++++ ghc-fgl.spec | 110 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 231 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 fgl-5.8.2.0.tar.gz create mode 100644 fgl-5.8.3.0.tar.gz create mode 100644 ghc-fgl.changes create mode 100644 ghc-fgl.spec 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/fgl-5.8.2.0.tar.gz b/fgl-5.8.2.0.tar.gz new file mode 100644 index 0000000..f788396 --- /dev/null +++ b/fgl-5.8.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44cf0cf720f1d3fb31689cab219adf9b1a5367b3fbf4bd6678f4d156f3e8c3b6 +size 57401 diff --git a/fgl-5.8.3.0.tar.gz b/fgl-5.8.3.0.tar.gz new file mode 100644 index 0000000..d94bc9c --- /dev/null +++ b/fgl-5.8.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4ca15b162068a6cd8fd8685e2c1231ace4a24d56b2424b8e3f8988ff1ab63c1 +size 57723 diff --git a/ghc-fgl.changes b/ghc-fgl.changes new file mode 100644 index 0000000..97aa88e --- /dev/null +++ b/ghc-fgl.changes @@ -0,0 +1,91 @@ +------------------------------------------------------------------- +Mon Sep 30 06:53:01 UTC 2024 - Peter Simons + +- Update fgl to version 5.8.3.0. + 5.8.3.0 + ------- + + * Data.Graph.Inductive.NodeMap now has functions mkLookupNode, + insMapLookupNode, memberNode, and lookupNode for detecting whether a + graph already contains a node (issue #72, PR #77). + +------------------------------------------------------------------- +Wed Oct 18 08:42:49 UTC 2023 - Peter Simons + +- Update fgl to version 5.8.2.0. + 5.8.2.0 + ------- + + * Data.Graph.Inductive.Graph now only requires Graph, not DynGraph + (issue #100). + + * Documented that some functions are partial (issue #98). + + * Add `insert` function as synonym for `&` (issue #90). + + 5.8.1.1 + ------- + + * Data.Graph.Inductive.Query.Dominators.{dom,iDom} could fail for some + graphs (issue #109, regression in 5.8.1.0). + + 5.8.1.0 + ------- + + * Data.Graph.Inductive.PatriciaTree.Gr and + Data.Graph.Inductive.Tree.Gr now have Functor instances. + + * 'Gr a' is now an instance of Functor. + +------------------------------------------------------------------- +Thu Jun 22 19:46:07 UTC 2023 - Peter Simons + +- Update fgl to version 5.8.0.0 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Mar 30 17:06:46 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Sat Sep 24 07:24:12 UTC 2022 - Peter Simons + +- Update fgl to version 5.8.0.0. + 5.8.0.0 + ------- + + * Breaking change: MonadFail is no longer a superclass of GraphM. + This is to support GHC 9.4. This has no effect on the IO and ST + instances of GraphM, but may affect users. + +------------------------------------------------------------------- +Thu Aug 25 22:05:53 UTC 2022 - Peter Simons + +- Update fgl to version 5.7.0.3 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Tue Aug 18 10:44:50 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Aug 4 09:04:45 UTC 2020 - psimons@suse.com + +- Update fgl to version 5.7.0.3. + 5.7.0.3 + ------- + + * Bump QuickCheck dependency + +------------------------------------------------------------------- +Tue Jun 9 09:26:19 UTC 2020 - psimons@suse.com + +- Add fgl at version 5.7.0.2. + diff --git a/ghc-fgl.spec b/ghc-fgl.spec new file mode 100644 index 0000000..5f2dfb2 --- /dev/null +++ b/ghc-fgl.spec @@ -0,0 +1,110 @@ +# +# spec file for package ghc-fgl +# +# 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 fgl +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 5.8.3.0 +Release: 0 +Summary: Martin Erwig's Functional Graph 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 +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 +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof +ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof +%endif + +%description +An inductive representation of manipulating graph data structures. + +Original website can be found at +. + +%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} + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%check +%cabal_test + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files +%doc ChangeLog + +%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