SHA256
1
0
forked from pool/ghc-socks

osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-socks revision:4, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=31
This commit is contained in:
Peter Simons 2019-01-24 10:02:40 +00:00 committed by Git OBS Bridge
parent 6b8b643b5c
commit cb78abacf3
2 changed files with 37 additions and 0 deletions

View File

@ -25,6 +25,7 @@ License: BSD-3-Clause
Group: Development/Libraries/Haskell
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cereal-devel
@ -47,6 +48,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

35
socks.cabal Normal file
View File

@ -0,0 +1,35 @@
Name: socks
Version: 0.5.6
x-revision: 1
Synopsis: Socks proxy (ver 5)
Description: Socks proxy (version 5) implementation.
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <vincent@snarc.org>
Author: Vincent Hanquez <vincent@snarc.org>
Maintainer: Vincent Hanquez <vincent@snarc.org>
Build-Type: Simple
Category: Network
stability: experimental
Cabal-Version: >=1.18
Homepage: http://github.com/vincenthz/hs-socks
extra-doc-files: README.md, Example.hs
Library
Build-Depends: base >= 3 && < 5
, bytestring
, cereal >= 0.3.1
, network >= 2.4 && < 2.9
Exposed-modules: Network.Socks5
Network.Socks5.Lowlevel
Network.Socks5.Types
Other-modules: Network.Socks5.Wire
Network.Socks5.Conf
Network.Socks5.Command
Network.Socks5.Parse
ghc-options: -Wall -fno-warn-missing-signatures -fwarn-tabs
default-language: Haskell2010
source-repository head
type: git
location: git://github.com/vincenthz/hs-socks