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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=34
This commit is contained in:
Peter Simons 2019-09-03 01:01:51 +00:00 committed by Git OBS Bridge
parent b334e0dcb0
commit 8e7d4d0e0c
2 changed files with 38 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-basement-devel
BuildRequires: ghc-bytestring-devel
@ -48,6 +49,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

36
socks.cabal Normal file
View File

@ -0,0 +1,36 @@
Name: socks
Version: 0.6.0
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 && < 4.13
, bytestring < 0.11
, cereal >= 0.3.1
, network >= 2.6
, basement
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