|
|
|
@ -1,17 +1,18 @@
|
|
|
|
|
# generated by cabal-rpm-0.9.12
|
|
|
|
|
# generated by cabal-rpm-0.11.1
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name zlib
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
Version: 0.6.1.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.6.1.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Compression and decompression in the gzip and zlib formats
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
@ -19,7 +20,6 @@ BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
|
BuildRequires: zlib-devel%{?_isa}
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
|
BuildRequires: ghc-tasty-devel
|
|
|
|
|
BuildRequires: ghc-tasty-hunit-devel
|
|
|
|
@ -29,9 +29,9 @@ BuildRequires: ghc-tasty-quickcheck-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package provides a pure interface for compressing and decompressing
|
|
|
|
|
streams of data represented as lazy 'ByteString's. It uses the zlib C library
|
|
|
|
|
so it has high performance. It supports the "zlib", "gzip" and "raw"
|
|
|
|
|
compression formats.
|
|
|
|
|
streams of data represented as lazy 'ByteString's. It uses the
|
|
|
|
|
<https://en.wikipedia.org/wiki/Zlib zlib C library> so it has high performance.
|
|
|
|
|
It supports the "zlib", "gzip" and "raw" compression formats.
|
|
|
|
|
|
|
|
|
|
It provides a convenient high level API suitable for most tasks and for the few
|
|
|
|
|
cases where more control is needed it provides access to the full zlib feature
|
|
|
|
@ -54,7 +54,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
|
|
|
|
|
#remove the copy library
|
|
|
|
|
rm -r cbits
|
|
|
|
@ -89,6 +89,9 @@ rm -r cbits
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 0.6.1.2-1
|
|
|
|
|
- update to 0.6.1.2
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|