Accepting request 185377 from devel:languages:haskell

Update to Haskell Platform 2013.2.0.0 (forwarded request 185279 from ptrommler)

OBS-URL: https://build.opensuse.org/request/show/185377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-08-01 13:35:10 +00:00 committed by Git OBS Bridge
commit ca0e2ecbcc
4 changed files with 41 additions and 24 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 6 10:45:21 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 0.5.4.1
* no changelog
- part of Haskell Platform 2013.2 update
- more transparent packaging (fewer macros)
-------------------------------------------------------------------
Thu Dec 27 12:28:22 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for ghc-zlib
# spec file for package ghc-zlib
#
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
# Copyright (c) 2013 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
@ -16,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name zlib
%global common_summary Haskell gzip and zlib formats library
@ -23,50 +23,59 @@
%global common_description This package provides a pure interface for compressing and decompressing streams of data represented as lazy ByteStrings. It uses the zlib C library so it has high performance. It supports the "zlib", "gzip" and "raw" compression formats.
Name: ghc-zlib
Version: 0.5.4.0
Release: 1
Version: 0.5.4.1
Release: 0
Summary: %{common_summary}
Group: System/Libraries
License: BSD-2-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: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-rpm-macros
BuildRequires: zlib-devel
# END cabal2spec
%description
%{common_description}
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Languages/Other
Requires: ghc-compiler
Requires: zlib-devel
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
Requires: zlib-devel
%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

View File

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

3
zlib-0.5.4.1.tar.gz Normal file
View File

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