# link with shared libs %bcond_without dynamic # ghc does not emit debug information %global debug_package %{nil} Name: hledger-web Version: 0.13 Release: 1%{?dist} Summary: A hledger add-on command providing a web interface Group: Applications/Productivity License: GPLv3 URL: http://hackage.haskell.org/package/%{name} Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc BuildRequires: ghc-rpm-macros >= 0.7.0 BuildRequires: hledger = %{version} BuildRequires: ghc-hledger-lib-devel = %{version} BuildRequires: ghc-failure-devel BuildRequires: ghc-file-embed-devel BuildRequires: ghc-hamlet-devel BuildRequires: ghc-io-storage-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-safe-devel BuildRequires: ghc-wai-extra-devel BuildRequires: ghc-yesod-devel %description %{summary}. %prep %setup -q %build %ghc_bin_build %install rm -rf %{buildroot} %ghc_bin_install %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE %attr(755,root,root) %{_bindir}/%{name} %changelog * Fri Dec 10 2010 Ben Boeckel - 0.13-1 - Update to 0.13 * Fri Dec 03 2010 Ben Boeckel - 0.12.98-1 - Initial package * Fri Dec 3 2010 Fedora Haskell SIG - 0.12.98-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.2