# ghc does not emit debug information %global debug_package %{nil} Name: xmobar Version: 0.11.1 Release: 1%{?dist} Summary: A minimalistic text based status bar Group: User Interface/X 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) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc BuildRequires: ghc-rpm-macros BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-X11-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-stm-devel %description Inspired by the Ion3 status bar, it supports similar features, like dynamic color management, output templates, and extensibility through plugins. %prep %setup -q %build %cabal_configure --ghc %cabal build %install rm -rf $RPM_BUILD_ROOT %cabal_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE %attr(755,root,root) %{_bindir}/%{name} %{_datadir}/%{name}-%{version}/xmobar.config-sample %changelog * Fri May 28 2010 Brian C. Lane - 0.11.1-1 - Moving to new upstream - Incorporating changes from review bz#460974 - Added parsec and stm build dependencies * Fri Sep 11 2009 Zachary Oglesby - 0.9.2-3 - Added build requirements * Fri Jun 5 2009 Zachary Oglesby - 0.9.2-2 - updated with current cabal2spec * Fri May 29 2009 Zachary Oglesby - 0.9.2-1 - initial packaging for Fedora created by cabal2spec