Initial import (#1495476).

This commit is contained in:
Elliott Sales de Andrade 2017-09-26 17:40:00 -04:00
parent 41fc51632f
commit 59c3c6a2f9
4 changed files with 102 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/connection-0.2.8.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-connection
The ghc-connection package

100
ghc-connection.spec Normal file
View File

@ -0,0 +1,100 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name connection
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.2.8
Release: 1.git.0.4b72954%{?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}
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
%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
* Tue Sep 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.8-1
- Update to latest spec template.
- Update to latest version.
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.5-5
- Bump for Fedora 26.
* Sat Dec 17 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 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 <quantum.analyst@gmail.com> - 0.2.5-3
- Bump to rebuild against new dependencies
* Mon Apr 25 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.5-2
- Bump to rebuild with new dependencies
* Sun Aug 23 2015 Ben Boeckel <mathstuf@gmail.com> - 0.2.5-1
- initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (connection-0.2.8.tar.gz) = 59202159d8d9233d1786c75470892da1a577d7a82a8bb8f5c75d52ade7be227c5619fd6fdebf7f60d4e240b31e3b791df266c97787e3fe7814da380147f9c9c5