Last change
on this file since 2157 was
2122,
checked in by andersk, 13 years ago
|
scripts-static-cat: Link Haskell libs statically for 3x faster startup speed
|
File size:
1.3 KB
|
Line | |
---|
1 | # For Haskell Packaging Guidelines see: |
---|
2 | # - https://fedoraproject.org/wiki/Packaging:Haskell |
---|
3 | # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell |
---|
4 | |
---|
5 | # Link Haskell libs statically for 3x faster startup speed. |
---|
6 | %define ghc_without_dynamic 1 |
---|
7 | |
---|
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 |
---|
15 | URL: http://scripts.mit.edu/ |
---|
16 | Source0: %{name}.tar.gz |
---|
17 | # fedora ghc archs: |
---|
18 | ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 |
---|
19 | BuildRequires: ghc-devel |
---|
20 | # macros for building haskell packages |
---|
21 | BuildRequires: ghc-rpm-macros >= 0.7.0 |
---|
22 | BuildRequires: ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel |
---|
23 | |
---|
24 | %description |
---|
25 | static-cat is a binary for serving static content on scripts.mit.edu. |
---|
26 | |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -n %{name} |
---|
30 | |
---|
31 | |
---|
32 | %build |
---|
33 | %ghc_bin_build |
---|
34 | |
---|
35 | |
---|
36 | %install |
---|
37 | %ghc_bin_install |
---|
38 | |
---|
39 | |
---|
40 | %files |
---|
41 | %defattr(-,root,root,-) |
---|
42 | %attr(755,root,root) %{_bindir}/static-cat |
---|
43 | |
---|
44 | |
---|
45 | %changelog |
---|
46 | * Mon May 2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0 |
---|
47 | - regenerated packaging with cabal2spec-0.22.5 |
---|
48 | |
---|
49 | * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0-0 |
---|
50 | - initial packaging for Fedora automatically generated by cabal2spec-0.22.1 |
---|
Note: See
TracBrowser
for help on using the repository browser.