osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-base64 revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-base64?expand=0&rev=1
This commit is contained in:
commit
5cc6ac815c
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
base64-0.4.2.2.tar.gz
Normal file
3
base64-0.4.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d11494eba734a8ee2e82afa13ff5c421227951efee40f3dd232d981222d03616
|
||||||
|
size 22071
|
110
base64.cabal
Normal file
110
base64.cabal
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
cabal-version: 2.0
|
||||||
|
name: base64
|
||||||
|
version: 0.4.2.2
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: Fast RFC 4648-compliant Base64 encoding
|
||||||
|
description:
|
||||||
|
RFC 4648-compliant padded and unpadded base64 and base64url encoding and decoding. This library provides
|
||||||
|
performant encoding and decoding primitives, as well as support for textual values.
|
||||||
|
|
||||||
|
homepage: https://github.com/emilypi/base64
|
||||||
|
bug-reports: https://github.com/emilypi/base64/issues
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Emily Pillmore
|
||||||
|
maintainer: emilypi@cohomolo.gy
|
||||||
|
copyright: (c) 2019-2020 Emily Pillmore
|
||||||
|
category: Data
|
||||||
|
build-type: Simple
|
||||||
|
extra-doc-files:
|
||||||
|
CHANGELOG.md
|
||||||
|
README.md
|
||||||
|
|
||||||
|
tested-with:
|
||||||
|
GHC ==8.2.2
|
||||||
|
|| ==8.4.3
|
||||||
|
|| ==8.4.4
|
||||||
|
|| ==8.6.3
|
||||||
|
|| ==8.6.5
|
||||||
|
|| ==8.8.1
|
||||||
|
|| ==8.10.1
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/emilypi/base64.git
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules:
|
||||||
|
Data.ByteString.Base64
|
||||||
|
Data.ByteString.Base64.URL
|
||||||
|
Data.ByteString.Lazy.Base64
|
||||||
|
Data.ByteString.Lazy.Base64.URL
|
||||||
|
Data.ByteString.Short.Base64
|
||||||
|
Data.ByteString.Short.Base64.URL
|
||||||
|
Data.Text.Encoding.Base64
|
||||||
|
Data.Text.Encoding.Base64.Error
|
||||||
|
Data.Text.Encoding.Base64.URL
|
||||||
|
Data.Text.Lazy.Encoding.Base64
|
||||||
|
Data.Text.Lazy.Encoding.Base64.URL
|
||||||
|
Data.Text.Short.Encoding.Base64
|
||||||
|
Data.Text.Short.Encoding.Base64.URL
|
||||||
|
|
||||||
|
other-modules:
|
||||||
|
Data.ByteString.Base64.Internal
|
||||||
|
Data.ByteString.Base64.Internal.Head
|
||||||
|
Data.ByteString.Base64.Internal.Tables
|
||||||
|
Data.ByteString.Base64.Internal.Tail
|
||||||
|
Data.ByteString.Base64.Internal.Utils
|
||||||
|
Data.ByteString.Base64.Internal.W16.Loop
|
||||||
|
Data.ByteString.Base64.Internal.W32.Loop
|
||||||
|
Data.ByteString.Base64.Internal.W64.Loop
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
base >=4.10 && <5
|
||||||
|
, bytestring >=0.10 && <0.12
|
||||||
|
, deepseq >=1.4.3.0 && <1.4.5.0
|
||||||
|
, ghc-byteorder ^>=4.11.0.0
|
||||||
|
, text ^>=1.2
|
||||||
|
, text-short ^>=0.1
|
||||||
|
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
test-suite tasty
|
||||||
|
default-language: Haskell2010
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: test
|
||||||
|
other-modules: Internal
|
||||||
|
main-is: Main.hs
|
||||||
|
build-depends:
|
||||||
|
base >=4.10 && <5
|
||||||
|
, base64
|
||||||
|
, base64-bytestring
|
||||||
|
, bytestring
|
||||||
|
, QuickCheck
|
||||||
|
, random-bytestring
|
||||||
|
, tasty
|
||||||
|
, tasty-hunit
|
||||||
|
, tasty-quickcheck
|
||||||
|
, text
|
||||||
|
, text-short
|
||||||
|
|
||||||
|
ghc-options: -Wall -threaded -with-rtsopts=-N
|
||||||
|
|
||||||
|
benchmark bench
|
||||||
|
default-language: Haskell2010
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: benchmarks
|
||||||
|
main-is: Base64Bench.hs
|
||||||
|
build-depends:
|
||||||
|
base >=4.10 && <5
|
||||||
|
, base64
|
||||||
|
, base64-bytestring
|
||||||
|
, bytestring
|
||||||
|
, criterion
|
||||||
|
, deepseq
|
||||||
|
, random-bytestring
|
||||||
|
, text
|
||||||
|
|
||||||
|
ghc-options: -Wall -rtsopts
|
5
ghc-base64.changes
Normal file
5
ghc-base64.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 8 12:52:45 UTC 2020 - psimons@suse.com
|
||||||
|
|
||||||
|
- Add base64 at version 0.4.2.2 revision 1.
|
||||||
|
|
85
ghc-base64.spec
Normal file
85
ghc-base64.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ghc-base64
|
||||||
|
#
|
||||||
|
# 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 base64
|
||||||
|
%bcond_with tests
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 0.4.2.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Fast RFC 4648-compliant Base64 encoding
|
||||||
|
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-deepseq-devel
|
||||||
|
BuildRequires: ghc-ghc-byteorder-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-text-short-devel
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
|
BuildRequires: ghc-base64-bytestring-devel
|
||||||
|
BuildRequires: ghc-random-bytestring-devel
|
||||||
|
BuildRequires: ghc-tasty-devel
|
||||||
|
BuildRequires: ghc-tasty-hunit-devel
|
||||||
|
BuildRequires: ghc-tasty-quickcheck-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
RFC 4648-compliant padded and unpadded base64 and base64url encoding and
|
||||||
|
decoding. This library provides performant encoding and decoding primitives, as
|
||||||
|
well as support for textual values.
|
||||||
|
|
||||||
|
%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
|
||||||
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
|
%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.md README.md
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user