%global pkg_name xml %global common_summary A simple XML library %global common_description A simple XML library. Name: ghc-%{pkg_name} Version: 1.3.8 Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries 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 # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour BuildRequires: ghc-base-prof, ghc-bytestring-prof %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %ghc_lib_package %changelog * Sat May 28 2011 Jens Petersen - 1.3.8-1 - update to 1.3.8 - update to cabal2spec-0.23: add ppc64 * Thu Mar 10 2011 Fabio M. Di Nitto - 1.3.7-3 - Enable build on sparcv9 * Tue Feb 08 2011 Fedora Release Engineering - 1.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Sep 05 2010 Ben Boeckel - 1.3.7-1 - Initial package * Sun Sep 5 2010 Fedora Haskell SIG - 1.3.7-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.2