[2246] | 1 | # https://fedoraproject.org/wiki/Packaging:Haskell |
---|
[1693] | 2 | |
---|
[2122] | 3 | # Link Haskell libs statically for 3x faster startup speed. |
---|
| 4 | %define ghc_without_dynamic 1 |
---|
| 5 | |
---|
[1590] | 6 | Name: scripts-static-cat |
---|
| 7 | Version: 0.0 |
---|
| 8 | Release: 0.%{scriptsversion}%{?dist} |
---|
| 9 | Summary: static-cat for scripts.mit.edu |
---|
| 10 | |
---|
[2591] | 11 | License: GPL+ |
---|
[1590] | 12 | URL: http://scripts.mit.edu/ |
---|
| 13 | Source0: %{name}.tar.gz |
---|
[2591] | 14 | |
---|
[2246] | 15 | BuildRequires: ghc-Cabal-devel |
---|
| 16 | BuildRequires: ghc-rpm-macros |
---|
[2591] | 17 | # Begin cabal-rpm deps: |
---|
| 18 | BuildRequires: ghc-MonadCatchIO-mtl-devel |
---|
[2246] | 19 | BuildRequires: ghc-bytestring-devel |
---|
[2591] | 20 | BuildRequires: ghc-cgi-devel |
---|
[2246] | 21 | BuildRequires: ghc-containers-devel |
---|
| 22 | BuildRequires: ghc-filepath-devel |
---|
| 23 | BuildRequires: ghc-old-locale-devel |
---|
| 24 | BuildRequires: ghc-time-devel |
---|
| 25 | BuildRequires: ghc-unix-devel |
---|
| 26 | BuildRequires: ghc-unix-handle-devel |
---|
[2591] | 27 | # End cabal-rpm deps |
---|
[1590] | 28 | |
---|
| 29 | %description |
---|
| 30 | static-cat is a binary for serving static content on scripts.mit.edu. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n %{name} |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %build |
---|
[1693] | 38 | %ghc_bin_build |
---|
[1590] | 39 | |
---|
| 40 | |
---|
| 41 | %install |
---|
[1693] | 42 | %ghc_bin_install |
---|
[1590] | 43 | |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %attr(755,root,root) %{_bindir}/static-cat |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %changelog |
---|
[2591] | 50 | * Mon May 26 2014 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0 |
---|
| 51 | - Updated for F20 with cabal-rpm |
---|
| 52 | |
---|
[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 |
---|