SHA256
1
0
forked from pool/ghc-HTTP

Accepting request 123902 from home:ptrommler:haskell-platform

Haskell Platform 2012.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/123902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=3
This commit is contained in:
Peter Trommler 2012-06-06 17:50:37 +00:00 committed by Git OBS Bridge
parent ab5df059fb
commit d631cd2220
4 changed files with 35 additions and 56 deletions

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jun 3 17:00:22 UTC 2012 - peter.trommler@ohm-hochschule.de
- update to 4000.2.3 from upstream
* support mtl 2.1
- required by Haskell Platform 2012.2.0.0
-------------------------------------------------------------------
Wed Dec 28 20:10:08 UTC 2011 - peter.trommler@ohm-hochschule.de

View File

@ -1,6 +1,6 @@
# For Haskell Packaging Guidelines see:
# - https://fedoraproject.org/wiki/Packaging:Haskell
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
#
# spec file for ghc-HTTP
#
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
#
@ -16,67 +16,46 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# cabal2spec-0.25
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name HTTP
# common part of summary for all the subpackages
%global common_summary Haskell %{pkg_name} library
%global common_summary Haskell library for client-side HTTP
# main description used for all the subpackages
%global common_description A %{pkg_name} library for Haskell.
%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.1.2
Name: ghc-%{pkg_name}
Version: 4000.2.3
Release: 1
Summary: %{common_summary}
Group: Development/Libraries/Other
Group: System/Libraries
License: BSD-3-Clause
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
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
%if %{undefined without_hscolour}
BuildRequires: hscolour
%endif
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
# END cabal2spec
# BR any C devel dependency here
# list ghc-*-prof dependencies:
BuildRequires: ghc-array-devel ghc-mtl-devel ghc-network-devel
BuildRequires: ghc-old-time-devel ghc-parsec-devel
%if %{defined sles_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif
%description
%{common_description}
%package -n ghc-%{pkg_name}-devel
Summary: Development files for %{common_summary}
Group: Development/Libraries/Other
# BEGIN cabal2spec
%{?ghc_devel_requires}
Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release}
Provides: ghc-%{pkg_name}-prof = %{version}-%{release}
# END cabal2spec
# remember to require any C devel dependency here
# Haskell devel dependencies are autogenerated by ghc-deps.sh
%description -n ghc-%{pkg_name}-devel
%{common_description}
This package contains the development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
#%%define cabal_configure_options -f "opt1 -opt2 ..."
%ghc_lib_build
@ -84,23 +63,16 @@ This package contains the development files.
%ghc_lib_install
%post -n ghc-%{pkg_name}-devel
%ghc_pkg_recache
# devel subpackage
%ghc_devel_package
%ghc_devel_description
%postun -n ghc-%{pkg_name}-devel
%ghc_pkg_recache
%ghc_devel_post_postun
%if %{undefined ghc_without_shared}
%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
%defattr(-,root,root,-)
%endif
%ghc_files LICENSE
%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
%defattr(-,root,root,-)
%changelog
* Thu Dec 8 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 4000.2.1-0
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1