# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name lambdabot-utils %global common_summary Utility libraries for the IRC bot Lambdabot %global common_description Lambdabot is an IRC bot written over several \ years by those on the haskell IRC channel. The package provides custom \ libraries for various plugin functions. Name: ghc-%{pkg_name} Version: 4.2.2 Release: 1%{?dist} Summary: %{common_summary} License: GPLv2 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-binary-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-haskell-src-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-process-devel BuildRequires: ghc-random-devel BuildRequires: ghc-regex-compat-devel BuildRequires: ghc-regex-posix-devel BuildRequires: ghc-syb-devel BuildRequires: ghc-tagsoup-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-zlib-devel # End cabal-rpm deps %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %ghc_devel_package %ghc_devel_description %ghc_devel_post_postun %ghc_files LICENSE %changelog * Mon Mar 18 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 4.2.2-1 - new upstream version 4.2.2 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 4.2.1-3 - update with cabal-rpm * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 4.2.1-1 - Added BuildRequires. - Spec file template generated by cabal2spec-0.25.5.