# Generated with cabal-rpm # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name cgi Name: ghc-%{pkg_name} Version: 3001.1.8.5 Release: 0.%{scriptsversion}%{?dist} Summary: A library for writing CGI programs 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 %{!?without_hscolour:hscolour} # Begin cabal-rpm deps: BuildRequires: ghc-MonadCatchIO-mtl-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel BuildRequires: ghc-old-locale-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-xhtml-devel # End cabal-rpm deps %description This is a Haskell library for writing CGI programs. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} 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 * Mon May 26 2014 Alexander Chernyakhovsky - 3001.1.8.5-0 - Updated packaging for F20, with cabal-rpm * Fri May 25 2012 Anders Kaseorg - 3001.1.8.2-0 - regenerated packaging with cabal2spec-0.25.5 * Mon May 2 2011 Alexander Chernyakhovsky - 3001.1.8.2-0 - regenerated packaging with cabal2spec-0.22.5 * Thu Sep 9 2010 Anders Kaseorg - 3001.1.8.1-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.1