Blame SPECS/ghc-cryptonite.spec

381386
# generated by cabal-rpm-0.12.1
381386
# https://fedoraproject.org/wiki/Packaging:Haskell
381386
381386
%global pkg_name cryptonite
381386
%global pkgver %{pkg_name}-%{version}
381386
381386
%bcond_with tests
381386
381386
Name:           ghc-%{pkg_name}
381386
Version:        0.24
381386
Release:        4%{?dist}
381386
Summary:        Cryptography Primitives sink
381386
381386
#               Main -   Argon2 C code    -   Blake2 C code
381386
License:        BSD and (CC0 or ASL 2.0) and (CC0 or ASL 2.0 or OpenSSL)
381386
Url:            https://hackage.haskell.org/package/%{pkg_name}
381386
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
381386
381386
BuildRequires:  ghc-Cabal-devel
381386
BuildRequires:  ghc-rpm-macros
381386
# Begin cabal-rpm deps:
381386
BuildRequires:  ghc-bytestring-devel
381386
BuildRequires:  ghc-deepseq-devel
381386
BuildRequires:  ghc-foundation-devel
381386
BuildRequires:  ghc-memory-devel
381386
%if %{with tests}
381386
BuildRequires:  ghc-tasty-devel
381386
BuildRequires:  ghc-tasty-hunit-devel
381386
BuildRequires:  ghc-tasty-kat-devel
381386
BuildRequires:  ghc-tasty-quickcheck-devel
381386
%endif
381386
# End cabal-rpm deps
381386
381386
%description
381386
A repository of cryptographic primitives.
381386
381386
* Symmetric ciphers: AES, DES, 3DES, Blowfish, Camellia, RC4, Salsa, XSalsa,
381386
ChaCha.
381386
381386
* Hash: SHA1, SHA2, SHA3, SHAKE, MD2, MD4, MD5, Keccak, Skein, Ripemd, Tiger,
381386
Whirlpool, Blake2
381386
381386
* MAC: HMAC, Poly1305
381386
381386
* Asymmetric crypto: DSA, RSA, DH, ECDH, ECDSA, ECC, Curve25519, Curve448,
381386
Ed25519, Ed448
381386
381386
* Key Derivation Function: PBKDF2, Scrypt, HKDF, Argon2
381386
381386
* Cryptographic Random generation: System Entropy, Deterministic Random
381386
Generator
381386
381386
* Data related: Anti-Forensic Information Splitter (AFIS)
381386
381386
If anything cryptographic related is missing from here, submit a pull request
381386
to have it added. This package strive to be a cryptographic kitchen sink that
381386
provides cryptography for everyone.
381386
381386
Evaluate the security related to your requirements before using.
381386
381386
Read "Crypto.Tutorial" for a quick start guide.
381386
381386
381386
%package devel
381386
Summary:        Haskell %{pkg_name} library development files
381386
Provides:       %{name}-static = %{version}-%{release}
381386
Provides:       %{name}-doc = %{version}-%{release}
381386
%if %{defined ghc_version}
381386
Requires:       ghc-compiler = %{ghc_version}
381386
Requires(post): ghc-compiler = %{ghc_version}
381386
Requires(postun): ghc-compiler = %{ghc_version}
381386
%endif
381386
Requires:       %{name}%{?_isa} = %{version}-%{release}
381386
381386
%description devel
381386
This package provides the Haskell %{pkg_name} library development files.
381386
381386
381386
%package devel-doc
381386
Summary:        Haskell %{pkg_name} library development documentation
381386
381386
%description devel-doc
381386
This package provides the Haskell %{pkg_name} library development
381386
documentation.
381386
381386
381386
%prep
381386
%setup -q -n %{pkgver}
381386
381386
381386
%build
381386
%ghc_lib_build
381386
381386
381386
%install
381386
%ghc_lib_install
381386
grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files
381386
grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files
381386
381386
381386
%check
381386
%cabal_test
381386
381386
381386
%post devel
381386
%ghc_pkg_recache
381386
381386
381386
%postun devel
381386
%ghc_pkg_recache
381386
381386
381386
%files -f %{name}.files
381386
%license LICENSE
381386
381386
381386
%files devel -f %{name}-devel-nodoc.files
381386
%doc CHANGELOG.md README.md
381386
381386
381386
%files devel-doc -f %{name}-devel-doc.files
381386
%doc CHANGELOG.md README.md
381386
381386
381386
%changelog
381386
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-4
381386
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
381386
381386
* Wed Jan 31 2018 Jens Petersen <petersen@redhat.com> - 0.24-3
381386
- docs package is arch dependent
381386
381386
* Tue Sep 05 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.24-2
381386
- Split documentation into separate subpackage.
381386
- Correct licensing information.
381386
381386
* Tue Sep 05 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.24-1
381386
- Update to latest version.
381386
- Update to latest spec template.
381386
381386
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.22-1
381386
- update to 0.22
381386
381386
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.15-3
381386
- Bump for Fedora 26.
381386
381386
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.15-2
381386
- Update release to be newer than previous builds
381386
381386
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.15-1
381386
- spec file generated by cabal-rpm-0.10.0