From 9191737c7699d427a9f9bd945ac30a1a949a7dcf4fe8778c07e697c2a0991641 Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Thu, 6 Nov 2014 19:18:59 +0000 Subject: [PATCH] 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 --- HTTP-4000.2.10.tar.gz | 3 +++ HTTP-4000.2.8.tar.gz | 3 --- ghc-HTTP.changes | 13 ++++++++++ ghc-HTTP.spec | 55 ++++++++++++++++++++++++++----------------- 4 files changed, 50 insertions(+), 24 deletions(-) create mode 100644 HTTP-4000.2.10.tar.gz delete mode 100644 HTTP-4000.2.8.tar.gz diff --git a/HTTP-4000.2.10.tar.gz b/HTTP-4000.2.10.tar.gz new file mode 100644 index 0000000..e903199 --- /dev/null +++ b/HTTP-4000.2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efde6d9f2e8cd7b72068579f0a75449703c0fa7aee76dfc0f3af175295a127d1 +size 67912 diff --git a/HTTP-4000.2.8.tar.gz b/HTTP-4000.2.8.tar.gz deleted file mode 100644 index 93e95cc..0000000 --- a/HTTP-4000.2.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:086a2aa771a31845b190e2f9651ab4d8e85116aa463de5bc5e0204c1e5e70c5c -size 67903 diff --git a/ghc-HTTP.changes b/ghc-HTTP.changes index a292e79..d1561dc 100644 --- a/ghc-HTTP.changes +++ b/ghc-HTTP.changes @@ -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 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 8e66e0a..250f8e6 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -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}