# cabal2spec-0.25 # 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: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD # BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install # devel subpackage %ghc_devel_package %ghc_devel_description %ghc_devel_post_postun %ghc_files LICENSE %changelog * 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