# ghc does not emit debug information %define debug_package %{nil} Name: happy Version: 1.18.2 Release: 1%{?dist} Summary: A Parser Generator for Haskell Group: Development/Languages License: BSD URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{name} Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: i386 x86_64 ppc BuildRequires: ghc %description Happy is a parser generator for Haskell. %prep %setup -q %build %cabal_configure %cabal build %install rm -rf $RPM_BUILD_ROOT %cabal_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE %{_bindir}/%{name} %{_datadir}/%{name}-%{version} %changelog * Mon Jan 12 2009 Conrad Meyer - 1.18.2-1 - initial packaging for Fedora created by cabal2spec