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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-vault?expand=0&rev=30
This commit is contained in:
Peter Simons 2024-12-23 22:00:49 +00:00 committed by Git OBS Bridge
commit 3fd9b058e1
6 changed files with 294 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

84
ghc-vault.changes Normal file
View File

@ -0,0 +1,84 @@
-------------------------------------------------------------------
Sun Dec 22 20:08:58 UTC 2024 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 9.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Aug 31 11:37:47 UTC 2024 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 8.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon May 27 12:47:25 UTC 2024 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 7.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Feb 8 13:20:07 UTC 2024 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 6.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Oct 24 09:45:46 UTC 2023 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 5.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Oct 7 10:43:07 UTC 2023 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:08:53 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Tue Mar 14 20:56:20 UTC 2023 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 9 16:56:57 UTC 2022 - Peter Simons <psimons@suse.com>
- Update vault to version 0.3.1.5 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed Nov 3 15:45:02 UTC 2021 - psimons@suse.com
- Update vault to version 0.3.1.5 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Feb 20 00:08:04 UTC 2021 - psimons@suse.com
- Update vault to version 0.3.1.5.
**0.3.1.5**
* Compatibility with GHC-9.0
* Bump dependencies to allow `base >= 4.5 && < 4.16`
* Depend on `semigroups` only with `GHC < 8.0`
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Tue Aug 18 10:46:31 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 9 09:26:16 UTC 2020 - psimons@suse.com
- Add vault at version 0.3.1.4.

103
ghc-vault.spec Normal file
View File

@ -0,0 +1,103 @@
#
# spec file for package ghc-vault
#
# 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 vault
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.3.1.5
Release: 0
Summary: A persistent store for values of arbitrary types
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-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-unordered-containers-prof
ExcludeArch: %{ix86}
%description
A /vault/ is a persistent store for values of arbitrary types. It's like having
first-class access to the storage space behind IORefs.
The data structure is analogous to a bank vault, where you can access different
bank boxes with different keys; hence the name.
Also provided is a /locker/ type, representing a store for a single element.
%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 README.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
vault-0.3.1.5.tar.gz Normal file
View File

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

80
vault.cabal Normal file
View File

@ -0,0 +1,80 @@
cabal-version: >= 1.10
name: vault
version: 0.3.1.5
x-revision: 9
synopsis: a persistent store for values of arbitrary types
description:
A /vault/ is a persistent store for values of arbitrary types.
It's like having first-class access to the storage space behind IORefs.
.
The data structure is analogous to a bank vault,
where you can access different bank boxes with different keys;
hence the name.
.
Also provided is a /locker/ type, representing a store for a single element.
category: Data
license: BSD3
license-file: LICENSE
author: Heinrich Apfelmus, Elliott Hird
maintainer: Heinrich Apfelmus <apfelmus at quantentunnel de>
homepage: https://github.com/HeinrichApfelmus/vault
copyright: (c) Heinrich Apfelmus 2011-2013
build-type: Simple
tested-with:
GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
, GHC == 9.6.6
, GHC == 9.8.4
, GHC == 9.10.1
, GHC == 9.12.1
extra-source-files:
CHANGELOG.md
README.md
src/Data/Vault/IO.h
src/Data/Vault/ST/ST.h
src/Data/Vault/ST/backends/GHC.h
source-repository head
type: git
location: https://github.com/HeinrichApfelmus/vault.git
flag UseGHC
description: Use GHC-specific packages and extensions.
default: True
library
hs-source-dirs: src
build-depends:
base >= 4.5 && < 4.22
, containers >= 0.4 && < 0.8
, unordered-containers >= 0.2.3.0 && < 0.3
, hashable >= 1.1.2.5 && < 1.6
if impl(ghc < 8.0)
build-depends: semigroups >= 0.1 && < 1.0
default-language: Haskell2010
default-extensions: CPP
ghc-options: -Wall -fno-warn-missing-signatures
exposed-modules:
Data.Vault.Lazy
Data.Vault.Strict
Data.Vault.ST.Lazy
Data.Vault.ST.Strict
Data.Unique.Really
if impl(ghc) && flag(UseGHC)
CPP-options: -DUseGHC