osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-crypto-random revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-crypto-random?expand=0&rev=1
This commit is contained in:
commit
ca21cdbdb2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
crypto-random-0.0.9.tar.gz
Normal file
3
crypto-random-0.0.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:170a7a18441379c2d1c19b502ee5919026a19adc6e78641cd4fb40b1d69a6904
|
||||||
|
size 9256
|
50
crypto-random.cabal
Normal file
50
crypto-random.cabal
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
Name: crypto-random
|
||||||
|
Version: 0.0.9
|
||||||
|
x-revision: 1
|
||||||
|
Description: Simple cryptographic random related types
|
||||||
|
License: BSD3
|
||||||
|
License-file: LICENSE
|
||||||
|
Copyright: Vincent Hanquez <vincent@snarc.org>
|
||||||
|
Author: Vincent Hanquez <vincent@snarc.org>
|
||||||
|
Maintainer: Vincent Hanquez <vincent@snarc.org>
|
||||||
|
Synopsis: Simple cryptographic random related types
|
||||||
|
Category: Cryptography
|
||||||
|
Build-Type: Simple
|
||||||
|
Homepage: http://github.com/vincenthz/hs-crypto-random
|
||||||
|
Cabal-Version: >=1.6
|
||||||
|
|
||||||
|
Library
|
||||||
|
Build-depends: base >= 4 && < 5
|
||||||
|
, bytestring
|
||||||
|
, securemem
|
||||||
|
, vector >= 0.7
|
||||||
|
Exposed-modules: Crypto.Random
|
||||||
|
, Crypto.Random.Test
|
||||||
|
, Crypto.Random.API
|
||||||
|
Other-modules: Crypto.Random.Generator
|
||||||
|
, Crypto.Random.Entropy
|
||||||
|
, Crypto.Random.Entropy.Source
|
||||||
|
ghc-options: -Wall
|
||||||
|
if os(windows)
|
||||||
|
cpp-options: -DWINDOWS
|
||||||
|
Build-Depends: Win32
|
||||||
|
Other-modules: Crypto.Random.Entropy.Windows
|
||||||
|
extra-libraries: advapi32
|
||||||
|
else
|
||||||
|
Build-Depends: unix
|
||||||
|
Other-modules: Crypto.Random.Entropy.Unix
|
||||||
|
|
||||||
|
if arch(i386)
|
||||||
|
cpp-options: -DARCH_X86
|
||||||
|
if arch(x86_64)
|
||||||
|
cpp-options: -DARCH_X86_64
|
||||||
|
|
||||||
|
if arch(x86_64)
|
||||||
|
cpp-options: -DSUPPORT_RDRAND
|
||||||
|
Other-modules: Crypto.Random.Entropy.RDRand
|
||||||
|
c-sources: cbits/rdrand.c
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/vincenthz/hs-crypto-random
|
||||||
|
subdir: types
|
5
ghc-crypto-random.changes
Normal file
5
ghc-crypto-random.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 9 09:26:17 UTC 2020 - psimons@suse.com
|
||||||
|
|
||||||
|
- Add crypto-random at version 0.0.9.
|
||||||
|
|
69
ghc-crypto-random.spec
Normal file
69
ghc-crypto-random.spec
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ghc-crypto-random
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 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 crypto-random
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 0.0.9
|
||||||
|
Release: 0
|
||||||
|
Summary: Simple cryptographic random related 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/1.cabal#/%{pkg_name}.cabal
|
||||||
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-securemem-devel
|
||||||
|
BuildRequires: ghc-unix-devel
|
||||||
|
BuildRequires: ghc-vector-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
Simple cryptographic random related types.
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -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
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user