Accepting request 259841 from devel:languages:haskell:platform

Haskell Platform 2014.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/259841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=11
This commit is contained in:
Peter Trommler 2014-11-06 19:18:59 +00:00 committed by Git OBS Bridge
parent e39464eb5b
commit 9191737c76
4 changed files with 50 additions and 24 deletions

3
HTTP-4000.2.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efde6d9f2e8cd7b72068579f0a75449703c0fa7aee76dfc0f3af175295a127d1
size 67912

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:086a2aa771a31845b190e2f9651ab4d8e85116aa463de5bc5e0204c1e5e70c5c
size 67903

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Sep 9 20:09:24 UTC 2014 - peter.trommler@ohm-hochschule.de
- update to 4000.2.10
* no changelog
* for Haskell Platform 2014.2.0.0
-------------------------------------------------------------------
Mon Sep 1 17:20:24 UTC 2014 - peter.trommler@ohm-hochschule.de
- regenerate spec file with cabal-rpm 0.8.6
* require exact version of ghc-compiler
-------------------------------------------------------------------
Fri Aug 22 23:55:17 UTC 2014 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for package ghc-HTTP
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Peter Trommler peter.trommler@ohm-hochschule.de
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,45 +18,59 @@
%global pkg_name HTTP
%global common_summary Haskell library for client-side HTTP
%global common_description The HTTP package supports client-side web programming in Haskell. It lets you set up HTTP connections, transmitting requests and processing the responses coming back, all from within the comforts of Haskell. It is dependent on the network package to operate, but other than that, the implementation is all written in Haskell.
Name: ghc-HTTP
Version: 4000.2.8
Version: 4000.2.10
Release: 0
Summary: %{common_summary}
Summary: A library for client-side HTTP
License: BSD-3-Clause
Group: System/Libraries
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: %{!?without_hscolour:hscolour}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-rpm-macros
# END cabal2spec
# End cabal-rpm deps
%description
%{common_description}
The HTTP package supports client-side web programming in Haskell. It lets you
set up HTTP connections, transmitting requests and processing the responses
coming back, all from within the comforts of Haskell. It's dependent on the
network package to operate, but other than that, the implementation is all
written in Haskell.
A basic API for issuing single HTTP requests + receiving responses is provided.
On top of that, a session-level abstraction is also on offer (the
BrowserAction monad); it taking care of handling the management of persistent
connections, proxies, state (cookies) and authentication credentials required
to handle multi-step interactions with a web server.
The representation of the bytes flowing across is extensible via the use of a
type class, letting you pick the representation of requests and responses that
best fits your use. Some pre-packaged, common instances are provided for you
(ByteString, String.)
# ' Help EMACS syntax highlighting
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Languages/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Group: Development/Libraries/Other
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
%{common_description}
This package contains the development files.
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}