# link with shared libs # andersk: Disabled for 3x faster startup speed. #%%bcond_without dynamic # ghc does not emit debug information %global debug_package %{nil} Name: scripts-static-cat Version: 0.0 Release: 0.%{scriptsversion}%{?dist} Summary: static-cat for scripts.mit.edu Group: Applications/System License: GPL URL: http://scripts.mit.edu/ Source0: %{name}.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: ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel %description static-cat is a binary for serving static content on scripts.mit.edu. %prep %setup -q -n %{name} %build %ghc_bin_build %install rm -rf $RPM_BUILD_ROOT %ghc_bin_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %attr(755,root,root) %{_bindir}/static-cat %changelog * Thu Sep 9 2010 Anders Kaseorg - 0.0-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.1