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
This commit is contained in:
commit
ad5033b78f
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 30 11:25:25 UTC 2015 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
- update to 0.6.1.1
|
||||||
|
- regenerated spec file with cabal-rpm
|
||||||
|
* Support for concatenated gzip files (multiple back-to-back streams)
|
||||||
|
* Fixed warnings with new GHC
|
||||||
|
* Fixed testsuite
|
||||||
|
* New incremental interface for compression and decompression
|
||||||
|
* Provide access to unconsumed trailing data
|
||||||
|
* Simplified structured error type, and instance of Exception
|
||||||
|
* Fixed memory leak of zlib z_stream C structure
|
||||||
|
* More derivied instances (Eq, Show, Typeable, Generic)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 11 09:09:18 UTC 2015 - mimi.vx@gmail.com
|
Sat Apr 11 09:09:18 UTC 2015 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -15,66 +15,95 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global pkg_name zlib
|
%global pkg_name zlib
|
||||||
|
|
||||||
%global common_summary Haskell gzip and zlib formats library
|
%bcond_with tests
|
||||||
|
|
||||||
%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
|
Name: ghc-zlib
|
||||||
Version: 0.5.4.2
|
Version: 0.6.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: %{common_summary}
|
Summary: Compression and decompression in the gzip and zlib formats
|
||||||
License: BSD-2-Clause
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
|
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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
# END cabal2spec
|
%if %{with tests}
|
||||||
|
BuildRequires: ghc-HUnit-devel
|
||||||
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
|
BuildRequires: ghc-tasty-devel
|
||||||
|
BuildRequires: ghc-tasty-hunit-devel
|
||||||
|
BuildRequires: ghc-tasty-quickcheck-devel
|
||||||
|
%endif
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_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.
|
||||||
|
|
||||||
|
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
|
||||||
|
set.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Languages/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: ghc-compiler
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires: zlib-devel
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
Requires(postun): ghc-compiler
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
# Begin cabal-rpm deps:
|
||||||
|
Requires: zlib-devel
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
%{common_description}
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
This package contains the development files.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with tests}
|
||||||
|
%cabal test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
%postun devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc examples
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:75d617d8a77d85ba5a0d69e42c2cd5371b56140b5fb028be3e75bff1cfd41096
|
|
||||||
size 127818
|
|
3
zlib-0.6.1.1.tar.gz
Normal file
3
zlib-0.6.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c5f5b4285473657a7997d74f7642f3e7bda40f92c3c5d49471a899e27a4ba735
|
||||||
|
size 142902
|
Loading…
Reference in New Issue
Block a user