# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tls %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 1.4.1 Release: 4%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-asn1-encoding-devel BuildRequires: ghc-asn1-types-devel BuildRequires: ghc-async-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cereal-devel BuildRequires: ghc-cryptonite-devel BuildRequires: ghc-data-default-class-devel BuildRequires: ghc-memory-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-x509-devel BuildRequires: ghc-x509-store-devel BuildRequires: ghc-x509-validation-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hourglass-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-quickcheck-devel %endif # End cabal-rpm deps %description Native Haskell TLS and SSL protocol implementation for server and client. This provides a high-level implementation of a sensitive security protocol, eliminating a common set of security issues through the use of the advanced type system, high level constructions and common Haskell features. Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many extensions. Some debug tools linked with tls, are available through the . %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} %endif 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 %{name}.files %license LICENSE %files devel -f %{name}-devel.files %doc CHANGELOG.md %changelog * Sat Jul 28 2018 Jens Petersen - 1.4.1-4 - rebuild * Mon Jul 23 2018 Miro HronĨok - 1.4.1-3 - Rebuilt for #1607054 * Fri Jul 13 2018 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 09 2018 Elliott Sales de Andrade - 1.4.1-1 - update to 1.4.1 * Wed Feb 07 2018 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 26 2018 Jens Petersen - 1.4.0-2 - rebuild * Sun Sep 24 2017 Elliott Sales de Andrade 1.4.0-1 - Update to latest version. - Update to latest spec template. * Sun Jul 23 2017 Elliott Sales de Andrade 1.3.10-2 - Update to almost-latest version. - Add patch enabling newer ghc-x509. * Fri Jul 21 2017 Elliott Sales de Andrade 1.3.5-5 - Bump for Fedora 26. * Fri Dec 16 2016 Elliott Sales de Andrade - 1.3.5-4 - spec file generated by cabal-rpm-0.10.0 - Update release to be newer than previous builds * Sun May 01 2016 Elliott Sales de Andrade - 1.3.5-3 - Bump to rebuild against new dependencies * Fri Apr 29 2016 Elliott Sales de Andrade - 1.3.5-2 - Bump to rebuild against dependencies * Sun Apr 24 2016 Elliott Sales de Andrade - 1.3.5-1 - update to 1.3.5 * Sun Aug 23 2015 Ben Boeckel - 1.3.1-1 - initial package