| [2246] | 1 | # cabal2spec-0.25 | 
|---|
|  | 2 | # https://fedoraproject.org/wiki/Packaging:Haskell | 
|---|
|  | 3 | # https://fedoraproject.org/wiki/PackagingDrafts/Haskell | 
|---|
| [1693] | 4 |  | 
|---|
| [2122] | 5 | # Link Haskell libs statically for 3x faster startup speed. | 
|---|
|  | 6 | %define ghc_without_dynamic 1 | 
|---|
|  | 7 |  | 
|---|
| [1590] | 8 | Name:           scripts-static-cat | 
|---|
|  | 9 | Version:        0.0 | 
|---|
|  | 10 | Release:        0.%{scriptsversion}%{?dist} | 
|---|
|  | 11 | Summary:        static-cat for scripts.mit.edu | 
|---|
|  | 12 |  | 
|---|
|  | 13 | Group:          Applications/System | 
|---|
|  | 14 | License:        GPL | 
|---|
| [2246] | 15 | # BEGIN cabal2spec | 
|---|
| [1590] | 16 | URL:            http://scripts.mit.edu/ | 
|---|
|  | 17 | Source0:        %{name}.tar.gz | 
|---|
| [2246] | 18 | ExclusiveArch:  %{ghc_arches} | 
|---|
|  | 19 | BuildRequires:  ghc-Cabal-devel | 
|---|
|  | 20 | BuildRequires:  ghc-rpm-macros | 
|---|
|  | 21 | # END cabal2spec | 
|---|
|  | 22 | BuildRequires:  ghc-bytestring-devel | 
|---|
|  | 23 | BuildRequires:  ghc-cgi-devel >= 3001.1.8 | 
|---|
|  | 24 | BuildRequires:  ghc-containers-devel | 
|---|
|  | 25 | BuildRequires:  ghc-filepath-devel | 
|---|
|  | 26 | BuildRequires:  ghc-MonadCatchIO-mtl-devel | 
|---|
|  | 27 | BuildRequires:  ghc-old-locale-devel | 
|---|
|  | 28 | BuildRequires:  ghc-time-devel | 
|---|
|  | 29 | BuildRequires:  ghc-unix-devel | 
|---|
|  | 30 | BuildRequires:  ghc-unix-handle-devel | 
|---|
| [1590] | 31 |  | 
|---|
|  | 32 | %description | 
|---|
|  | 33 | static-cat is a binary for serving static content on scripts.mit.edu. | 
|---|
|  | 34 |  | 
|---|
|  | 35 |  | 
|---|
|  | 36 | %prep | 
|---|
|  | 37 | %setup -q -n %{name} | 
|---|
|  | 38 |  | 
|---|
|  | 39 |  | 
|---|
|  | 40 | %build | 
|---|
| [1693] | 41 | %ghc_bin_build | 
|---|
| [1590] | 42 |  | 
|---|
|  | 43 |  | 
|---|
|  | 44 | %install | 
|---|
| [1693] | 45 | %ghc_bin_install | 
|---|
| [1590] | 46 |  | 
|---|
|  | 47 |  | 
|---|
|  | 48 | %files | 
|---|
|  | 49 | %attr(755,root,root) %{_bindir}/static-cat | 
|---|
|  | 50 |  | 
|---|
|  | 51 |  | 
|---|
|  | 52 | %changelog | 
|---|
| [2246] | 53 | * Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 0.0-0 | 
|---|
|  | 54 | - regenerated packaging with cabal2spec-0.25.5 | 
|---|
|  | 55 |  | 
|---|
| [2066] | 56 | * Mon May  2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0 | 
|---|
|  | 57 | - regenerated packaging with cabal2spec-0.22.5 | 
|---|
|  | 58 |  | 
|---|
| [1693] | 59 | * Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0-0 | 
|---|
|  | 60 | - initial packaging for Fedora automatically generated by cabal2spec-0.22.1 | 
|---|