# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name dotgen %global common_summary Simple interface to build .dot graph files %global common_description %{pkg_name} provides interface to build .dot graph files for graphviz tools Name: ghc-%{pkg_name} Version: 0.4.1 Release: 5%{?dist} Summary: %{common_summary} 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-containers-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 * Wed Feb 13 2013 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Nov 17 2012 Jens Petersen - 0.4.1-4 - update with cabal-rpm * Thu Jul 19 2012 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Apr 16 2012 Jens Petersen - 0.4.1-2 - add LICENSE to ghc_files * Tue Feb 7 2012 Shakthi Kannan 0.4.1-1 - Updated license, description and summary. - Spec file template generated by cabal2spec-0.25.2.