# https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name zlib-bindings Name: ghc-%{pkg_name} Version: 0.1.1.3 Release: 5%{?dist} Summary: Low-level bindings to the zlib package License: BSD 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-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-zlib-devel # End cabal-rpm deps %description Provides necessary functions for producing a streaming interface. This is used for example by zlib-conduit and zlib-enum. %package devel Summary: Haskell %{pkg_name} library development files Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell zlib-bindings library development files. %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %doc LICENSE %files devel -f %{name}-devel.files %changelog * 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