source: trunk/server/fedora/specs/scripts-static-cat.spec @ 2194

Last change on this file since 2194 was 2122, checked in by andersk, 11 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
8Name:           scripts-static-cat
9Version:        0.0
10Release:        0.%{scriptsversion}%{?dist}
11Summary:        static-cat for scripts.mit.edu
12
13Group:          Applications/System
14License:        GPL
15URL:            http://scripts.mit.edu/
16Source0:        %{name}.tar.gz
17# fedora ghc archs:
18ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
19BuildRequires:  ghc-devel
20# macros for building haskell packages
21BuildRequires:  ghc-rpm-macros >= 0.7.0
22BuildRequires:  ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel
23
24%description
25static-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.