refresh to cabal-rpm-0.13
This commit is contained in:
parent
84d93427d6
commit
86faa0c76f
44
connection-0.2.8.cabal
Normal file
44
connection-0.2.8.cabal
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Name: connection
|
||||||
|
Version: 0.2.8
|
||||||
|
x-revision: 1
|
||||||
|
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.
|
||||||
|
License: BSD3
|
||||||
|
License-file: LICENSE
|
||||||
|
Copyright: Vincent Hanquez <vincent@snarc.org>
|
||||||
|
Author: Vincent Hanquez <vincent@snarc.org>
|
||||||
|
Maintainer: Vincent Hanquez <vincent@snarc.org>
|
||||||
|
Synopsis: Simple and easy network connections API
|
||||||
|
Build-Type: Simple
|
||||||
|
Category: Network
|
||||||
|
stability: experimental
|
||||||
|
Cabal-Version: >=1.6
|
||||||
|
Homepage: http://github.com/vincenthz/hs-connection
|
||||||
|
extra-source-files: README.md
|
||||||
|
CHANGELOG.md
|
||||||
|
|
||||||
|
Library
|
||||||
|
Build-Depends: base >= 3 && < 5
|
||||||
|
, bytestring
|
||||||
|
, byteable
|
||||||
|
, containers
|
||||||
|
, data-default-class
|
||||||
|
, network >= 2.3 && < 2.9
|
||||||
|
, tls >= 1.3
|
||||||
|
, socks >= 0.5.5
|
||||||
|
, x509 >= 1.5
|
||||||
|
, x509-store >= 1.5
|
||||||
|
, x509-system >= 1.5
|
||||||
|
, x509-validation >= 1.5
|
||||||
|
Exposed-modules: Network.Connection
|
||||||
|
Other-modules: Network.Connection.Types
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/vincenthz/hs-connection
|
@ -1,4 +1,4 @@
|
|||||||
# generated by cabal-rpm-0.12.5
|
# generated by cabal-rpm-0.13
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name connection
|
%global pkg_name connection
|
||||||
@ -6,16 +6,19 @@
|
|||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.2.8
|
Version: 0.2.8
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Simple and easy network connections API
|
Summary: Simple and easy network connections API
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
|
# End cabal-rpm sources
|
||||||
|
|
||||||
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: ghc-byteable-devel
|
BuildRequires: ghc-byteable-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
@ -54,15 +57,22 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
# Begin cabal-rpm install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
# End cabal-rpm install
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
@ -74,7 +84,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
@ -82,6 +94,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.2.8-8
|
||||||
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-7
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user