# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name zlib-bindings %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 0.1.1.5 Release: 9%{?dist} Summary: Low-level bindings to the zlib package License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-zlib-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel %endif # End cabal-rpm deps %description Deprecated in favor of streaming-commons. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} %endif Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} %build %ghc_lib_build %install %ghc_lib_install %check %cabal_test %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %license LICENSE %files devel -f %{name}-devel.files %changelog * Wed Feb 07 2018 Fedora Release Engineering - 0.1.1.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 26 2018 Jens Petersen - 0.1.1.5-8 - rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.1.1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.1.1.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 24 2017 Jens Petersen - 0.1.1.5-5 - refresh to cabal-rpm-0.11.1 * Fri Feb 10 2017 Fedora Release Engineering - 0.1.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.1.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.1.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jan 23 2015 Jens Petersen - 0.1.1.3-1 - update to 0.1.1.5 * Sat Aug 16 2014 Fedora Release Engineering - 0.1.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.1.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jun 3 2013 Jens Petersen - 0.1.1.3-2 - update to simplified Haskell Packaging Guidelines * Tue Mar 12 2013 Jens Petersen - 0.1.1.3-1 - update to 0.1.1.3 * Wed Feb 13 2013 Fedora Release Engineering - 0.1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 08 2012 Jens Petersen - 0.1.1.1-1 - update to 0.1.1.1 * Thu Jul 19 2012 Fedora Release Engineering - 0.1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jul 16 2012 Jens Petersen - 0.1.0.1-2 - change prof BRs to devel * Sat Apr 28 2012 Jens Petersen - 0.1.0.1-1 - update to 0.1.0.1 * Sun Mar 18 2012 Jens Petersen - 0.0.3.2-2 - update to cabal2spec-0.25 * Tue Feb 28 2012 Ben Boeckel - 0.0.3.2-1 - Update to 0.0.3.2 * Fri Jan 13 2012 Fedora Release Engineering - 0.0.1-2.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Oct 24 2011 Marcela Mašláňová - 0.0.1-1.2 - rebuild with new gmp without compat lib * Fri Oct 21 2011 Marcela Mašláňová - 0.0.1-1.1 - rebuild with new gmp without compat lib * Mon Oct 17 2011 Jens Petersen - 0.0.1-1 - update to 0.0.1 - BR prof not devel * Tue Oct 11 2011 Peter Schiffer - 0.0.0-6.1 - rebuild with new gmp * Sat Jul 09 2011 Ben Boeckel - 0.0.0-6 - Update to cabal2spec-0.24 * Fri Jun 24 2011 Jens Petersen - 0.0.0-5 - BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2) * Thu Mar 10 2011 Fabio M. Di Nitto - 0.0.0-4 - Enable build on sparcv9 * Thu Feb 17 2011 Ben Boeckel - 0.0.0-3 - Rebuild for broken dependencies * Tue Feb 08 2011 Fedora Release Engineering - 0.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Oct 30 2010 Ben Boeckel - 0.0.0-1 - Initial package * Sat Oct 30 2010 Fedora Haskell SIG - 0.0.0-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.2