# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name Diff %global common_summary A O(ND) diff algorithm in Haskell %global common_description This package provides basic implementation of the standard diff algorithm. Name: ghc-%{pkg_name} Version: 0.1.3 Release: 3%{?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-array-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 * Sat Nov 17 2012 Jens Petersen - 0.1.3-3 - update with cabal-rpm * Thu Jul 19 2012 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu May 31 2012 Lakshmi Narasimhan T V - 0.1.3-1 - spec file template generated by cabal2spec-0.25.5 * Sun Apr 3 2011 Lakshmi Narasimhan T V - 0.1.2-2 - Update to cabal2spec 0.22.5 * Sat Dec 18 2010 Lakshmi Narasimhan T V - 0.1.2-1 - Modified summary, description. License is BSD 3 clause variant. * Sat Dec 18 2010 Fedora Haskell SIG - 0.1.2-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.3