From 61b846a7b63bbb34f75af0137b6ed96651338b6e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 08:25:53 -0400 Subject: [PATCH] import ghc-connection-0.2.8-3.el8 --- .ghc-connection.metadata | 1 + .gitignore | 1 + SPECS/ghc-connection.spec | 109 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 .ghc-connection.metadata create mode 100644 .gitignore create mode 100644 SPECS/ghc-connection.spec diff --git a/.ghc-connection.metadata b/.ghc-connection.metadata new file mode 100644 index 0000000..3f57ebb --- /dev/null +++ b/.ghc-connection.metadata @@ -0,0 +1 @@ +cf0ce2394880721dbe9a46654eecb176e498ce39 SOURCES/connection-0.2.8.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b34899 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/connection-0.2.8.tar.gz diff --git a/SPECS/ghc-connection.spec b/SPECS/ghc-connection.spec new file mode 100644 index 0000000..16bdca0 --- /dev/null +++ b/SPECS/ghc-connection.spec @@ -0,0 +1,109 @@ +# generated by cabal-rpm-0.12.1 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name connection +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.2.8 +Release: 3%{?dist} +Summary: Simple and easy network connections API + +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-byteable-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-data-default-class-devel +BuildRequires: ghc-network-devel +BuildRequires: ghc-socks-devel +BuildRequires: ghc-tls-devel +BuildRequires: ghc-x509-devel +BuildRequires: ghc-x509-store-devel +BuildRequires: ghc-x509-system-devel +BuildRequires: ghc-x509-validation-devel +# End cabal-rpm deps + +%description +Simple network library for all your connection need. + +Features: Really simple to use, SSL/TLS, SOCKS. + +This library provides a very simple api to create sockets to a destination with +the choice of SSL/TLS, and SOCKS. + + +%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 + + +%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 +* Wed Feb 07 2018 Fedora Release Engineering - 0.2.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Jens Petersen - 0.2.8-2 +- rebuild + +* Tue Sep 26 2017 Elliott Sales de Andrade 0.2.8-1 +- Update to latest spec template. +- Update to latest version. + +* Fri Jul 21 2017 Elliott Sales de Andrade 0.2.5-5 +- Bump for Fedora 26. + +* Sat Dec 17 2016 Elliott Sales de Andrade - 0.2.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 - 0.2.5-3 +- Bump to rebuild against new dependencies + +* Mon Apr 25 2016 Elliott Sales de Andrade - 0.2.5-2 +- Bump to rebuild with new dependencies + +* Sun Aug 23 2015 Ben Boeckel - 0.2.5-1 +- initial package