# For Haskell Packaging Guidelines see: # - https://fedoraproject.org/wiki/Packaging:Haskell # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell Name: @PACKAGE@ Version: @VERSION@ Release: 0%{?dist} Summary: @SUMMARY@ Group: @GROUP@ License: @LICENSE@ # BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{name} Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # END cabal2spec # list ghc-*-devel dependencies: BuildRequires: @DEPENDENCIES@ %description @DESCRIPTION@ %prep %setup -q %build #%define cabal_configure_options -f "opt1 -opt2 ..." %ghc_bin_build %install %ghc_bin_install %files %doc LICENSE %attr(755,root,root) %{_bindir}/%{name} %changelog * @DATE@ Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - @VERSION@-0 - initial packaging for Fedora automatically generated by cabal2spec-0.24.1