SHA256
1
0
forked from pool/ghc-zlib

28 Commits

Author SHA256 Message Date
6618644aeb Accepting request 1231494 from devel:languages:haskell
version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=31
2024-12-20 22:11:17 +00:00
785e5e2d2b osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-zlib revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=85
2024-12-10 11:25:59 +00:00
7da0f17dec Accepting request 1184206 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1184206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=30
2024-07-02 16:16:30 +00:00
231c648c3b Accepting request 1121514 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1121514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=29
2023-11-01 21:10:06 +00:00
9e776148a4 Accepting request 1104491 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1104491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=28
2023-08-18 17:28:43 +00:00
b226fd9915 Accepting request 1098738 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1098738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=27
2023-07-18 19:53:56 +00:00
c9ce6a906e Accepting request 1076147 from devel:languages:haskell
update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1076147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=26
2023-04-04 19:25:12 +00:00
ade9adae13 Accepting request 987119 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/987119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=25
2022-08-01 19:30:59 +00:00
7c21caa459 Accepting request 917509 from devel:languages:haskell
automated update of haskell stack

OBS-URL: https://build.opensuse.org/request/show/917509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=24
2021-09-10 21:41:19 +00:00
af26aad0db Accepting request 877690 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/877690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=23
2021-03-10 07:56:02 +00:00
7c874bec49 Accepting request 857682 from devel:languages:haskell
update haskell stack in openSUS

OBS-URL: https://build.opensuse.org/request/show/857682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=22
2020-12-22 10:49:48 +00:00
8a908a9ffb Accepting request 829515 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/829515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=21
2020-08-28 19:42:03 +00:00
101bc9365e Accepting request 824317 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/824317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=20
2020-08-10 12:56:02 +00:00
0bf2129f72 Accepting request 815228 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/815228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=19
2020-06-19 15:21:58 +00:00
074f8f3ebd Accepting request 801068 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/801068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=18
2020-05-11 11:37:04 +00:00
58964444c9 Accepting request 759570 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/759570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=17
2019-12-27 12:59:27 +00:00
8b0427e785 Accepting request 726820 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/726820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=16
2019-08-29 15:23:51 +00:00
0057dd4003 Accepting request 643497 from devel:languages:haskell
trivial cosmetic change in comments

OBS-URL: https://build.opensuse.org/request/show/643497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=15
2018-10-25 07:07:56 +00:00
6180b8a55e Accepting request 623902 from devel:languages:haskell
- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- update copyright notice (year) in spec file
- more transparent packaging (fewer macros)
- make service localonly for Factory submission
- required by Haskell Platform 2012.4.0.0
- required by Haskell Platform 2012.2.0.0
- Added BuildRoot for sle11-sp1
- Added requires zlib-devel
- Add arches for OBS.
- Initial packaging.

OBS-URL: https://build.opensuse.org/request/show/623902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=14
2018-07-21 08:24:35 +00:00
8cdcb89846 Accepting request 607960 from devel:languages:haskell
Update ghc-zlib to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=13
2018-05-30 10:16:15 +00:00
aafba721a2 Accepting request 525762 from devel:languages:haskell
re-format spec file with latest spec-cleaner and cabal2obs

OBS-URL: https://build.opensuse.org/request/show/525762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=12
2017-09-15 20:28:39 +00:00
5a5e2031b2 Accepting request 438564 from devel:languages:haskell
- Update to version 0.6.1.2 with cabal2obs.

OBS-URL: https://build.opensuse.org/request/show/438564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=11
2016-11-05 20:27:22 +00:00
ff5ff9af04 Accepting request 411790 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/411790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=10
2016-07-20 07:22:47 +00:00
ad5033b78f Accepting request 352163 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/352163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=9
2016-01-06 23:24:52 +00:00
Stephan Kulow
00dbc33594 Accepting request 306436 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/306436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=8
2015-05-13 05:12:44 +00:00
229f7fc541 Accepting request 260177 from devel:languages:haskell
1

OBS-URL: https://build.opensuse.org/request/show/260177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=7
2014-11-26 19:55:13 +00:00
Stephan Kulow
4889aa2710 Accepting request 246021 from devel:languages:haskell
enable PowerPC builds

OBS-URL: https://build.opensuse.org/request/show/246021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=5
2014-08-25 09:04:55 +00:00
Stephan Kulow
ca0e2ecbcc 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
2013-08-01 13:35:10 +00:00
5 changed files with 71 additions and 61 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Nov 24 20:39:41 UTC 2024 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.7.1.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed Jun 26 20:42:43 UTC 2024 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.7.1.0 revision 1.
Upstream has renamed and modified the change log file(s) in this
release. Unfortunately, the automatic updater cannot reliable
determine relevant entries for this release.
-------------------------------------------------------------------
Sun Jun 23 13:09:06 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -20,20 +20,21 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.6.3.0
Version: 0.7.1.0
Release: 0
Summary: Compression and decompression in the gzip and zlib formats
License: BSD-2-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal#/%{pkg_name}.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-rpm-macros
BuildRequires: zlib-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(zlib)
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
@@ -58,7 +59,8 @@ set.
Summary: Haskell %{pkg_name} library development files
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires: zlib-devel
Requires: pkgconfig
Requires: pkgconfig(zlib)
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
@@ -104,7 +106,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%license LICENSE
%files devel -f %{name}-devel.files
%doc README.md changelog examples
%doc README.md changelog.md examples
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE

BIN
zlib-0.6.3.0.tar.gz (Stored with Git LFS)

Binary file not shown.

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

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

View File

@@ -1,7 +1,7 @@
cabal-version: >= 1.10
name: zlib
version: 0.6.3.0
x-revision: 5
version: 0.7.1.0
x-revision: 2
copyright: (c) 2006-2016 Duncan Coutts
license: BSD3
@@ -23,13 +23,7 @@ description: This package provides a pure interface for compressing and
provides access to the full zlib feature set.
build-type: Simple
tested-with: GHC == 7.0.4
, GHC == 7.2.2
, GHC == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
@@ -37,16 +31,15 @@ tested-with: GHC == 7.0.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.7
, GHC == 9.6.3
, GHC == 9.8.1
, GHC == 9.4.8
, GHC == 9.6.5
, GHC == 9.8.2
, GHC == 9.10.1
extra-source-files: changelog
extra-source-files: changelog.md
README.md
-- zlib C sources (for Windows)
cbits/crc32.h cbits/inffast.h cbits/inflate.h
cbits/trees.h cbits/deflate.h cbits/inffixed.h
cbits/inftrees.h cbits/zutil.h cbits/gzguts.h
-- extra headers
cbits-extra/hs-zlib.h
-- test data files
test/data/bad-crc.gz test/data/custom-dict.zlib
test/data/custom-dict.zlib-dict test/data/hello.gz
@@ -59,23 +52,23 @@ source-repository head
location: https://github.com/haskell/zlib.git
flag non-blocking-ffi
default: False
default: True
manual: True
description: The (de)compression calls can sometimes take a long time, which
prevents other Haskell threads running. Enabling this flag
avoids this unfairness, but with greater overall cost.
flag pkg-config
default: False
manual: True
description: Use @pkg-config(1)@ to locate foreign @zlib@ library.
default: True
manual: False
description: Use @pkg-config@ executable to locate foreign @zlib@ library.
flag bundled-c-zlib
default: False
manual: True
description: Use the bundled zlib C sources. Requires pkg-config to be False.
For windows, this is the default.
description: Use @zlib-clib@ package with C sources instead of a system library.
C sources are used for GHCJS and WASM unconditionally
and on Windows unless @pkg-config@ flag is on.
library
exposed-modules: Codec.Compression.GZip,
@@ -85,45 +78,46 @@ library
other-modules: Codec.Compression.Zlib.Stream,
Codec.Compression.Zlib.ByteStringCompat
if impl(ghc < 7)
default-language: Haskell98
default-extensions: PatternGuards
else
default-language: Haskell2010
default-language: Haskell2010
other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns,
DeriveDataTypeable
if impl(ghc >= 7.2)
other-extensions: DeriveGeneric
if impl(ghc >= 7.6)
other-extensions: CApiFFI
other-extensions: DeriveGeneric
other-extensions: CApiFFI
build-depends: base >= 4 && < 4.21,
build-depends: base >= 4.9 && < 4.22,
bytestring >= 0.9 && < 0.13
if impl(ghc >= 7.0 && < 8.0.3)
build-depends: ghc-prim
includes: zlib.h
build-tools: hsc2hs >= 0.67 && < 0.69
if os(windows) && impl(ghc < 8.4)
build-tools: hsc2hs < 0.68.5
-- GHC 7 ships hsc2hs-0.67
-- use `includes:` to include them when compiling
includes: zlib.h hs-zlib.h
include-dirs: cbits-extra
c-sources: cbits-extra/hs-zlib.c
ghc-options: -Wall -fwarn-tabs
if flag(non-blocking-ffi)
cpp-options: -DNON_BLOCKING_FFI
if flag(pkg-config) && !impl(ghcjs) && !os(ghcjs)
-- NB: pkg-config is available on windows as well when using msys2
pkgconfig-depends: zlib
-- Cross-platform builds (such as JS and WASM) must have access
-- to C sources, so using zlib-clib unconditionally.
--
-- On Windows, zlib is shipped as part of GHC's mingw/lib directory,
-- which GHC always includes in its linker search path. However,
-- there is no guarantee that zlib1.dll (the corresponding shared library)
-- will be available on the user's PATH at runtime, making it risky to depend upon
-- (see https://github.com/haskell/zlib/issues/65 for what can go wrong).
-- Thus, we resort to zlib-clib unless pkg-config is available.
if flag(bundled-c-zlib) || impl(ghcjs) || os(ghcjs) || arch(wasm32) || (!flag(pkg-config) && os(windows))
build-depends: zlib-clib < 2
else
-- don't use pkg-config
if !os(windows) && !flag(bundled-c-zlib) && !impl(ghcjs) && !os(ghcjs)
-- Normally we use the the standard system zlib.
extra-libraries: z
if flag(pkg-config)
-- NB: pkg-config is available on windows as well when using msys2
pkgconfig-depends: zlib
else
-- However for the benefit of users of Windows (which does not have zlib
-- by default) we bundle a complete copy of the C sources of zlib-1.2.11
c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c
cbits/deflate.c cbits/infback.c
cbits/inffast.c cbits/inflate.c cbits/inftrees.c
cbits/trees.c cbits/uncompr.c cbits/zutil.c
include-dirs: cbits
install-includes: zlib.h zconf.h
extra-libraries: z
test-suite tests
type: exitcode-stdio-1.0
@@ -136,5 +130,5 @@ test-suite tests
build-depends: base, bytestring, zlib,
QuickCheck == 2.*,
tasty >= 0.8 && < 1.6,
tasty-quickcheck >= 0.8 && < 0.12
tasty-quickcheck >= 0.8 && < 1
ghc-options: -Wall