refresh to cabal-rpm-0.13
This commit is contained in:
parent
b4681bde09
commit
a6adb4d553
@ -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 socks
|
%global pkg_name socks
|
||||||
@ -6,16 +6,19 @@
|
|||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.5.6
|
Version: 0.5.6
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Socks proxy (ver 5)
|
Summary: Socks proxy (ver 5)
|
||||||
|
|
||||||
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-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-cereal-devel
|
BuildRequires: ghc-cereal-devel
|
||||||
BuildRequires: ghc-network-devel
|
BuildRequires: ghc-network-devel
|
||||||
@ -41,15 +44,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
|
||||||
@ -61,7 +71,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
|
||||||
@ -69,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.5.6-6
|
||||||
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-5
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
35
socks-0.5.6.cabal
Normal file
35
socks-0.5.6.cabal
Normal 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
|
Loading…
Reference in New Issue
Block a user