Compare commits

...

82 Commits

Author SHA1 Message Date
Fedora Release Engineering
140f5756f3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 12:59:30 +00:00
Fedora Release Engineering
8ede64133f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 20:43:53 +00:00
Jens Petersen
271417239a revised .cabal file 2023-07-24 00:23:22 +08:00
Fedora Release Engineering
d324dc3754 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 21:16:00 +00:00
Jens Petersen
cf6ed10618 Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:08:30 +08:00
Jens Petersen
65b4fa29c3 update to 4000.4.1 2023-01-25 00:11:58 +08:00
Fedora Release Engineering
1bcd51714e Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 04:34:40 +00:00
Jens Petersen
109b2e6ccc bump release 2022-06-18 00:27:24 +08:00
Jens Petersen
20bab1fff7 revise .cabal 2022-06-18 00:21:40 +08:00
Fedora Release Engineering
0617278352 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 04:24:09 +00:00
Jens Petersen
2b62707e7e update to 4000.3.16 2021-08-05 01:35:37 +08:00
Jens Petersen
926ef72c34 refresh to cabal-rpm-2.0.9 2021-08-05 01:34:53 +08:00
Jens Petersen
addd0bc06c update to 4000.3.15 2021-08-05 01:34:47 +08:00
Fedora Release Engineering
dbfa6584c6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 00:12:04 +00:00
Fedora Release Engineering
5a36028afe - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 06:45:54 +00:00
Fedora Release Engineering
d1ab728acd - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 01:11:46 +00:00
Fedora Release Engineering
754723860c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 18:42:07 +00:00
Jens Petersen
d7a3c646d5 bump release 2020-07-17 17:46:42 +08:00
Jens Petersen
ebb302e680 add revision 2020-07-17 16:38:01 +08:00
Jens Petersen
30241e10e8 refresh to cabal-rpm-2.0.6 2020-06-19 16:53:31 +08:00
Jens Petersen
9dab2461cd refresh to cabal-rpm-2.0.5 2020-06-04 19:24:54 +08:00
Jens Petersen
a1ee36458e refresh to cabal-rpm-2.0.2 2020-02-20 01:59:00 +08:00
Fedora Release Engineering
4a436b71e6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 20:09:31 +00:00
Jens Petersen
53d0efe4ad BR prof for lib and static for executable 2019-08-05 18:27:01 +08:00
Jens Petersen
ef877c389f update to 4000.3.14 2019-07-25 15:03:30 +00:00
Jens Petersen
22e4395245 refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs 2019-07-25 06:18:42 +00:00
Fedora Release Engineering
4300f1f3f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 02:00:05 +00:00
Jens Petersen
2edd4c2f56 revised .cabal file 2019-02-27 00:32:26 +08:00
Jens Petersen
71c3cd4478 refresh to cabal-rpm-0.13 2019-02-17 22:43:09 +08:00
Fedora Release Engineering
534c2efec8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 21:04:45 +00:00
Jens Petersen
d5675faf39 update to 4000.3.12 2018-07-28 08:27:56 +09:00
Jens Petersen
3e02820570 remove part of haskell-platform comment 2018-07-22 00:24:22 +09:00
Fedora Release Engineering
4f24651eda - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:29:26 +00:00
Fedora Release Engineering
3ff7cf284c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 11:12:38 +00:00
Jens Petersen
d584f582a8 drop ldconfig scriptlets 2018-02-04 01:01:45 +09:00
Jens Petersen
90059cef52 update to 4000.3.9 2018-01-24 15:16:42 +01:00
Jens Petersen
8279d694d8 refresh to cabal-rpm-0.12.1 2018-01-24 14:10:23 +01:00
Fedora Release Engineering
c70ca2499b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:09:51 +00:00
Fedora Release Engineering
35bc358871 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 09:31:32 +00:00
Jens Petersen
4a15ca5611 update to 4000.3.5 2017-02-24 00:19:13 +09:00
Fedora Release Engineering
016ad403be - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:30:55 +00:00
Jens Petersen
ab4c4bfb05 no longer remove license; use cabal_test 2016-09-27 19:15:23 +09:00
Jens Petersen
75568adfc9 update to 4000.3.3 2016-06-27 12:57:54 +09:00
Jens Petersen
fee3f687a0 update to 4000.2.20
This reverts commit f445037ff1.
2016-06-07 10:46:23 +09:00
Dennis Gilmore
4a417535cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 21:22:36 +00:00
Jens Petersen
f445037ff1 Reverting "update to 4000.2.20"
This reverts commit 8f47e0aa39.
2016-02-02 00:02:39 +09:00
Jens Petersen
8f47e0aa39 update to 4000.2.20 2015-09-17 17:35:07 +09:00
Dennis Gilmore
44f508feef - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 07:27:38 +00:00
Jens Petersen
bf3e7f02c9 cblrpm-0.9 2015-01-26 15:44:23 +09:00
Peter Robinson
bfaba4c0cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 14:29:44 +00:00
Jens Petersen
0e7087b827 update to 4000.2.10 2014-08-07 17:11:21 +02:00
Jens Petersen
a6b0deb1b7 revert to 4000.2.8 until we have ghc-7.8 2014-07-08 14:19:38 +09:00
Jens Petersen
2404c08803 opt out of f21 mass rebuild due to changes staged for ghc78 2014-06-06 02:13:56 +09:00
Jens Petersen
e00e879b8e update to 4000.2.10 for ghc-7.8 2014-05-31 00:20:54 +09:00
Jens Petersen
7cd5bd7f5c bump over haskell-platform 2014-03-26 13:47:05 +09:00
Jens Petersen
68764e07bf separate out from haskell-platform (#1066346) 2014-03-26 13:45:23 +09:00
Jens Petersen
28764fe853 Revert "obsoleted by haskell-platform subpackage"
This reverts commit 7d7e6ba6dc.
2014-02-18 18:08:40 +09:00
Jens Petersen
7d7e6ba6dc obsoleted by haskell-platform subpackage 2012-07-16 09:33:40 +09:00
Jens Petersen
ee80f9d781 update to 4000.2.2 2012-03-20 16:02:47 +09:00
Jens Petersen
003b203649 update url 2012-01-23 16:10:15 +09:00
Dennis Gilmore
ef62d9146e - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 21:19:33 -06:00
Jens Petersen
1bd7f219c9 update to 4000.1.2 for haskell-platform-2011.4.0.0
- update to cabal2spec-0.25.1
2011-12-28 16:37:18 +09:00
Marcela Mašláňová
6319e09219 rebuild with new gmp without compat lib 2011-10-24 15:28:37 +02:00
Marcela Mašláňová
125ab48d9a rebuild with new gmp without compat lib 2011-10-21 01:20:07 +02:00
Marcela Mašláňová
9a8b697c14 rebuild with new gmp 2011-10-11 16:06:26 +02:00
Jens Petersen
617cc089d4 ghc_arches replaces ghc_excluded_archs (cabal2spec-0.23.2) 2011-06-21 16:55:25 +09:00
Jens Petersen
336269516e BR ghc-Cabal-devel and use ghc_excluded_archs 2011-06-20 11:42:52 +09:00
Jens Petersen
f15480dbdf update to cabal2spec-0.23: add ppc64 2011-05-27 18:22:17 +09:00
Fabio M. Di Nitto
3857406ba9 Enable build on sparcv9
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-03-10 09:15:38 +01:00
Jens Petersen
555f7ba7ab rebuild 2011-02-15 19:45:34 +10:00
Dennis Gilmore
2923f35134 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 18:54:01 -06:00
Jens Petersen
3de5171d29 update to cabal2spec-0.22.4 2011-01-15 22:23:02 +09:00
Jens Petersen
2256af7f38 update to 4000.1.1 for HP 2011.1 alpha 2010-12-05 19:42:44 +10:00
Jens Petersen
52ef0ba845 update to 4000.1.0 2010-11-25 14:10:50 +10:00
Jens Petersen
c5a750dd97 drop -o obsoletes 2010-11-25 13:53:52 +10:00
Jens Petersen
8902f23801 - ghc-rpm-macros-0.8.1 for doc obsoletes
- part of haskell-platform-2010.2.0.0
    - add hscolour
2010-07-31 22:24:09 +10:00
Fedora Release Engineering
c5eefde965 dist-git conversion 2010-07-28 15:34:02 +00:00
Jens Petersen
0d16475ca7 sync cabal2spec-0.22 2010-06-26 13:07:55 +00:00
Jens Petersen
6ec78b0203 rebuild against ghc-6.12.2 2010-04-27 02:36:29 +00:00
Jens Petersen
0bbf015368 clean away old sources 2010-03-24 07:52:56 +00:00
Jens Petersen
e2b21080e6 bump to rebuild against network-2.2.1.7 2010-03-24 07:46:25 +00:00
Jens Petersen
4d9a931561 update to 4000.0.9 for haskell-platform-2010.1.0.0 2010-03-23 00:45:18 +00:00
8 changed files with 563 additions and 133 deletions

View File

@ -1 +0,0 @@
HTTP-4000.0.8.tar.gz

16
.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
HTTP-4000.0.9.tar.gz
/HTTP-4000.1.0.tar.gz
/HTTP-4000.1.1.tar.gz
/HTTP-4000.1.2.tar.gz
/HTTP-4000.2.2.tar.gz
/HTTP-4000.2.8.tar.gz
/HTTP-4000.2.10.tar.gz
/HTTP-4000.2.20.tar.gz
/HTTP-4000.3.3.tar.gz
/HTTP-4000.3.5.tar.gz
/HTTP-4000.3.9.tar.gz
/HTTP-4000.3.12.tar.gz
/HTTP-4000.3.14.tar.gz
/HTTP-4000.3.15.tar.gz
/HTTP-4000.3.16.tar.gz
/HTTP-4000.4.1.tar.gz

185
HTTP-4000.4.1.cabal Normal file
View File

@ -0,0 +1,185 @@
Cabal-Version: >= 1.10
Name: HTTP
Version: 4000.4.1
x-revision: 2
Build-type: Simple
License: BSD3
License-file: LICENSE
Author: Warrick Gray <warrick.gray@hotmail.com>
Maintainer: Ganesh Sittampalam <ganesh@earth.li>
Homepage: https://github.com/haskell/HTTP
Category: Network
Synopsis: A library for client-side HTTP
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@).
.
Here's an example use:
.
>
> do
> rsp <- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/")
> -- fetch document and return it (as a 'String'.)
> fmap (take 100) (getResponseBody rsp)
>
> do
> (_, rsp)
> <- Network.Browser.browse $ do
> setAllowRedirects True -- handle HTTP redirects
> request $ getRequest "http://www.haskell.org/"
> return (take 100 (rspBody rsp))
.
__Note:__ This package does not support HTTPS connections.
If you need HTTPS, take a look at the following packages:
.
* <http://hackage.haskell.org/package/http-streams http-streams>
.
* <http://hackage.haskell.org/package/http-client http-client> (in combination with
<http://hackage.haskell.org/package/http-client-tls http-client-tls>)
.
* <http://hackage.haskell.org/package/req req>
.
* <http://hackage.haskell.org/package/wreq wreq>
.
Extra-Source-Files: CHANGES
tested-with:
GHC==9.2.1, GHC==9.0.1,
GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2,
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3
Source-Repository head
type: git
location: https://github.com/haskell/HTTP.git
Flag warn-as-error
default: False
description: Build with warnings-as-errors
manual: True
Flag conduit10
description: Use version 1.0.x or below of the conduit package (for the test suite)
default: False
Flag warp-tests
description: Test against warp
default: False
manual: True
flag network-uri
description: Get Network.URI from the network-uri package
default: True
Library
Exposed-modules:
Network.BufferType,
Network.Stream,
Network.StreamDebugger,
Network.StreamSocket,
Network.TCP,
Network.HTTP,
Network.HTTP.Headers,
Network.HTTP.Base,
Network.HTTP.Stream,
Network.HTTP.Auth,
Network.HTTP.Cookie,
Network.HTTP.Proxy,
Network.HTTP.HandleStream,
Network.Browser
Other-modules:
Network.HTTP.Base64,
Network.HTTP.MD5Aux,
Network.HTTP.Utils
Paths_HTTP
GHC-options: -fwarn-missing-signatures -Wall
-- note the test harness constraints should be kept in sync with these
-- where dependencies are shared
build-depends:
base >= 4.6.0.0 && < 4.19
, array >= 0.3.0.2 && < 0.6
, bytestring >= 0.9.1.5 && < 0.12
, parsec >= 2.0 && < 3.2
, time >= 1.1.2.3 && < 1.13
, transformers >= 0.2.0.0 && < 0.7
-- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class
-- The following dependencies are refined by flags, but they should
-- still be mentioned here on the top-level.
, mtl >= 2.0.0.0 && < 2.4
, network >= 2.4 && < 3.2
default-language: Haskell98
default-extensions: FlexibleInstances
if flag(network-uri)
Build-depends: network-uri == 2.6.*, network >= 2.6
else
Build-depends: network < 2.6
if flag(warn-as-error)
ghc-options: -Werror
if os(windows)
Build-depends: Win32 >= 2.2.0.0 && < 2.14
Test-Suite test
type: exitcode-stdio-1.0
default-language: Haskell98
hs-source-dirs: test
main-is: httpTests.hs
other-modules:
Httpd
UnitTests
ghc-options: -Wall
build-depends:
HTTP
-- constraints inherited from HTTP
, base
, bytestring
, mtl
, network
-- extra dependencies
, deepseq >= 1.3.0.0 && < 1.5
, httpd-shed >= 0.4 && < 0.5
, HUnit >= 1.2.0.1 && < 1.7
, pureMD5 >= 0.2.4 && < 2.2
, split >= 0.1.3 && < 0.3
, test-framework >= 0.2.0 && < 0.9
, test-framework-hunit >= 0.3.0 && < 0.4
if flag(network-uri)
Build-depends: network-uri == 2.6.*, network >= 2.6
else
Build-depends: network < 2.6
if flag(warp-tests)
CPP-Options: -DWARP_TESTS
build-depends:
case-insensitive >= 0.4.0.1 && < 1.3
, conduit >= 1.0.8 && < 1.4
, http-types >= 0.8.0 && < 1.0
, wai >= 2.1.0 && < 3.3
, warp >= 2.1.0 && < 3.4
if flag(conduit10)
build-depends: conduit < 1.1
else
build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: ghc-HTTP
# $Id: Makefile,v 1.1 2009/01/07 01:25:14 kevin Exp $
NAME := ghc-HTTP
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

244
changelog Normal file
View File

@ -0,0 +1,244 @@
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 4000.4.1-1
- https://hackage.haskell.org/package/HTTP-4000.4.1/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 4000.3.16-3
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 4000.3.16-1
- update to 4000.3.16
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 4000.3.15-1
- update to 4000.3.15
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.14-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.14-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.14-6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 4000.3.14-4
- refresh to cabal-rpm-2.0.6
* Wed Feb 19 2020 Jens Petersen <petersen@redhat.com> - 4000.3.14-3
- refresh to cabal-rpm-2.0.2
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 4000.3.14-1
- update to 4000.3.14
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 4000.3.12-3
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 4000.3.12-1
- update to 4000.3.12
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 4000.3.9-1
- update to 4000.3.9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 4000.3.5-1
- update to 4000.3.5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Jun 27 2016 Jens Petersen <petersen@redhat.com> - 4000.3.3-1
- update to 4000.3.3
* Tue Jun 7 2016 Jens Petersen <petersen@redhat.com> - 4000.2.20-1
- update to 4000.2.20
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4000.2.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.2.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Aug 7 2014 Jens Petersen <petersen@redhat.com> - 4000.2.10-1
- update to 4000.2.10
* Tue Jul 8 2014 Jens Petersen <petersen@redhat.com> - 4000.2.8-33
- f21 rebuild
* Wed Mar 26 2014 Jens Petersen <petersen@redhat.com> - 4000.2.8-32
- bump over haskell-platform
* Tue Feb 18 2014 Jens Petersen <petersen@redhat.com> - 4000.2.8-31
- update to 4000.2.8
- bump release over haskell-platform
- revive package with cblrpm-0.8.9
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 4000.2.2-1
- update to 4000.2.2
* Mon Jan 23 2012 Jens Petersen <petersen@redhat.com> - 4000.1.2-3
- update url
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Dec 28 2011 Jens Petersen <petersen@redhat.com> - 4000.1.2-1
- update to 4000.1.2 for haskell-platform-2011.4.0.0
- update to cabal2spec-0.25.1
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4000.1.1-8.3
- rebuild with new gmp without compat lib
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4000.1.1-8.2
- rebuild with new gmp without compat lib
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 4000.1.1-8.1
- rebuild with new gmp
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-8
- ghc_arches replaces ghc_excluded_archs
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-7
- BR ghc-Cabal-devel and use ghc_excluded_archs
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-6
- update to cabal2spec-0.23: add ppc64
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 4000.1.1-5
- Enable build on sparcv9
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-4
- rebuild for haskell-platform-2011.1 updates
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jan 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-2
- update to cabal2spec-0.22.4
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 4000.1.1-1
- update to 4000.1.1
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.1.0-1
- update to 4000.1.0
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-6
- drop -o obsoletes
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-5
- ghc-rpm-macros-0.8.1 for doc obsoletes
- part of haskell-platform-2010.2.0.0
- add hscolour
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-4
- sync cabal2spec-0.22
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-3
- rebuild against ghc-6.12.2
* Wed Mar 24 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-2
- rebuild against network-2.2.1.7
* Tue Mar 23 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-1
- update to 4000.0.9 for haskell-platform-2010.1.0.0
* Tue Jan 12 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-2
- rebuild against ghc-mtl package
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-1
- update to 4000.0.8 (haskell-platform-2009.3.1)
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
- drop doc and prof bcond
- use common_summary and common_description
- use ghc_lib_package and ghc_pkg_deps
- build shared library
- drop redundant buildroot and its install cleaning
- buildrequires mtl
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-6
- use %%ghc_pkg_ver for requires
* Mon Sep 28 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-5
- buildrequire the new ghc-network library
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat May 30 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-3
- ppc workaround no longer needed with ghc-6.10.3
- provide ghc-HTTP (cabal2spec-0.17)
* Wed May 13 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-2
- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16)
* Sat Apr 25 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-1
- update to 4000.0.6
- sync with cabal2spec-0.14
- compile Setup on ppc to workaround runghc failure
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-3
- update url
- update to cabal2spec-0.12:
- use ix86 in archs and add alpha
- add devel subpackage
- use global rather than define
- devel owns docdir
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 23 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-1
- update to 4000.0.4
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 3001.1.5-2
- sync with latest template and add a doc subpackage
* Tue Dec 23 2008 Jens Petersen <petersen@redhat.com> - 3001.1.5-1
- update to 3001.1.5
- use bcond for doc and prof
- minor tweaks for latest packaging guidelines
* Fri Nov 28 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-4
- drop LICENSE from -prof subpackage
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-3
- add build_doc and build_prof switches
- provide -devel
- drop redundant pre script
- only regenerate doc index in postun if uninstalling
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-2
- only build on ghc archs
- version install script requires
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-1
- initial packaging for fedora

View File

@ -1,133 +1,141 @@
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name HTTP
%global pkgver %{pkg_name}-%{version}
%global common_summary Haskell HTTP client library
%global common_description A Haskell library for client-side HTTP.
%global ghc_pkg_deps ghc-network-devel ghc-mtl-devel
%bcond_without shared
# debuginfo is not useful for ghc
%global debug_package %{nil}
# testsuite missing deps: httpd-shed test-framework test-framework-hunit
Name: ghc-%{pkg_name}
# part of haskell-platform-2009.3.1
Version: 4000.0.8
Release: 2%{?dist}
Summary: %{common_summary}
Version: 4000.4.1
Release: %autorelease
Summary: A library for client-side HTTP
Group: System Environment/Libraries
License: BSD
URL: http://projects.haskell.org/http/
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-rpm-macros >= 0.5.1
BuildRequires: ghc-doc
BuildRequires: ghc-prof
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
License: BSD-3-Clause
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
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-rpm-macros
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
%if %{with ghc_prof}
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
%endif
# End cabal-rpm deps
%description
%{common_description}
%if %{with shared}
This package provides the shared library.
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
'ByteString' and 'String'.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%description doc
This package provides the Haskell %{pkg_name} library documentation.
%endif
%ghc_lib_package
%if %{with ghc_prof}
%package prof
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package provides the Haskell %{pkg_name} profiling library.
%endif
%prep
%setup -q -n %{pkg_name}-%{version}
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
%build
%cabal_configure --ghc -p
%cabal build
%cabal haddock
# Begin cabal-rpm build:
%ghc_lib_build
# End cabal-rpm build
%install
%cabal_install
%cabal_pkg_conf
%ghc_gen_filelists
# Begin cabal-rpm install
%ghc_lib_install
# End cabal-rpm install
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
%doc CHANGES
%if %{with haddock}
%files doc -f %{name}-doc.files
%license LICENSE
%endif
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%endif
%changelog
* Tue Jan 12 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-2
- rebuild against ghc-mtl package
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-1
- update to 4000.0.8 (haskell-platform-2009.3.1)
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
- drop doc and prof bcond
- use common_summary and common_description
- use ghc_lib_package and ghc_pkg_deps
- build shared library
- drop redundant buildroot and its install cleaning
- buildrequires mtl
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-6
- use %%ghc_pkg_ver for requires
* Mon Sep 28 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-5
- buildrequire the new ghc-network library
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat May 30 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-3
- ppc workaround no longer needed with ghc-6.10.3
- provide ghc-HTTP (cabal2spec-0.17)
* Wed May 13 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-2
- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16)
* Sat Apr 25 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-1
- update to 4000.0.6
- sync with cabal2spec-0.14
- compile Setup on ppc to workaround runghc failure
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-3
- update url
- update to cabal2spec-0.12:
- use ix86 in archs and add alpha
- add devel subpackage
- use global rather than define
- devel owns docdir
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 23 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-1
- update to 4000.0.4
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 3001.1.5-2
- sync with latest template and add a doc subpackage
* Tue Dec 23 2008 Jens Petersen <petersen@redhat.com> - 3001.1.5-1
- update to 3001.1.5
- use bcond for doc and prof
- minor tweaks for latest packaging guidelines
* Fri Nov 28 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-4
- drop LICENSE from -prof subpackage
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-3
- add build_doc and build_prof switches
- provide -devel
- drop redundant pre script
- only regenerate doc index in postun if uninstalling
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-2
- only build on ghc archs
- version install script requires
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-1
- initial packaging for fedora
%autochangelog

View File

@ -1 +0,0 @@
ghc-HTTP-3001_1_5-1_fc10:HEAD:ghc-HTTP-3001.1.5-1.fc10.src.rpm:1231302667

View File

@ -1 +1 @@
72a1669cd538d945fe80395db312277e HTTP-4000.0.8.tar.gz
SHA512 (HTTP-4000.4.1.tar.gz) = c1edc529032013391263bcc0f8abd9534fc53a617b5033dfdc478318465cd988732b2644c7144979156c62bd1a08b1ace507b4fb4e2806f22ec7696cbdfd0147