forked from pool/ghc-HTTP
Accepting request 185242 from devel:languages:haskell:platform
Update for Haskell Platform 2013.2.0.0 OBS-URL: https://build.opensuse.org/request/show/185242 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=7
This commit is contained in:
parent
b497bca006
commit
dfde6b4a31
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:67dd0e6b5b97657dcef8d906d329f73243b75b33ffeb90454783b0e9e70f320e
|
||||
size 66587
|
3
HTTP-4000.2.8.tar.gz
Normal file
3
HTTP-4000.2.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:086a2aa771a31845b190e2f9651ab4d8e85116aa463de5bc5e0204c1e5e70c5c
|
||||
size 67903
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 12:02:19 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- update to 4000.2.8 from upstream
|
||||
* fix resource leaks in getHostAddr
|
||||
* correct cookie format
|
||||
- part of Haskell Platform 2013.2
|
||||
- more transparent packaging (fewer macros)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 17:11:55 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#
|
||||
# spec file for ghc-HTTP
|
||||
# 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
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -15,6 +16,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name HTTP
|
||||
|
||||
%global common_summary Haskell library for client-side HTTP
|
||||
@ -22,52 +24,62 @@
|
||||
%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.5
|
||||
Release: 1
|
||||
Version: 4000.2.8
|
||||
Release: 0
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System/Libraries
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# BEGIN cabal2spec
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Url: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
||||
BuildRequires: %{!?without_hscolour:hscolour}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-old-time-devel
|
||||
BuildRequires: ghc-parsec-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# END cabal2spec
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Group: Development/Languages/Other
|
||||
Requires: ghc-compiler
|
||||
Requires(post): ghc-compiler
|
||||
Requires(postun): ghc-compiler
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{common_description}
|
||||
This package contains the development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
# devel subpackage
|
||||
%ghc_devel_package
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user