-
Notifications
You must be signed in to change notification settings - Fork 3
/
ghc-cryptonite-weldr.spec
116 lines (78 loc) · 2.84 KB
/
ghc-cryptonite-weldr.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# generated by cabal-rpm-0.11.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name cryptonite
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}-weldr
Version: 0.24
Release: 2%{?dist}
Summary: Cryptography Primitives sink
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Provides: ghc-cryptonite = %{version}-%{release}
Provides: ghc-cryptonite%{_isa} = %{version}-%{release}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-foundation-devel
BuildRequires: ghc-memory-devel
%if %{with tests}
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-kat-devel
BuildRequires: ghc-tasty-quickcheck-devel
%endif
# End cabal-rpm deps
%description
A repository of cryptographic primitives.
* Symmetric ciphers: AES, DES, 3DES, Blowfish, Camellia, RC4, Salsa, XSalsa,
ChaCha.
* Hash: SHA1, SHA2, SHA3, SHAKE, MD2, MD4, MD5, Keccak, Skein, Ripemd, Tiger,
Whirlpool, Blake2
* MAC: HMAC, Poly1305
* Asymmetric crypto: DSA, RSA, DH, ECDH, ECDSA, ECC, Curve25519, Curve448,
Ed25519, Ed448
* Key Derivation Function: PBKDF2, Scrypt, HKDF, Argon2
* Cryptographic Random generation: System Entropy, Deterministic Random
Generator
* Data related: Anti-Forensic Information Splitter (AFIS)
If anything cryptographic related is missing from here, submit a pull request
to have it added. This package strive to be a cryptographic kitchen sink that
provides cryptography for everyone.
Evaluate the security related to your requirements before using.
Read "Crypto.Tutorial" for a quick start guide.
%package devel
Provides: ghc-cryptonite-devel = %{version}-%{release}
Provides: ghc-cryptonite-devel%{_isa} = %{version}-%{release}
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkgver}
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f ghc-cryptonite.files
%license LICENSE
%files devel -f ghc-cryptonite-devel.files
%doc CHANGELOG.md README.md
%changelog
* Tue Sep 12 2017 David Shea <dshea@redhat.com> - 0.24-2
- Rebuild against memory-0.14.7
* Thu Aug 3 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.24-1
- spec file generated by cabal-rpm-0.11.1