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

Last change on this file since 2533 was 2246, checked in by ezyang, 10 years ago
Reintegrate Fedora 17 development branch into trunk.
File size: 1.5 KB
Line 
1# cabal2spec-0.25
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
15# BEGIN cabal2spec
16URL:            http://scripts.mit.edu/
17Source0:        %{name}.tar.gz
18ExclusiveArch:  %{ghc_arches}
19BuildRequires:  ghc-Cabal-devel
20BuildRequires:  ghc-rpm-macros
21# END cabal2spec
22BuildRequires:  ghc-bytestring-devel
23BuildRequires:  ghc-cgi-devel >= 3001.1.8
24BuildRequires:  ghc-containers-devel
25BuildRequires:  ghc-filepath-devel
26BuildRequires:  ghc-MonadCatchIO-mtl-devel
27BuildRequires:  ghc-old-locale-devel
28BuildRequires:  ghc-time-devel
29BuildRequires:  ghc-unix-devel
30BuildRequires:  ghc-unix-handle-devel
31
32%description
33static-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
41%ghc_bin_build
42
43
44%install
45%ghc_bin_install
46
47
48%files
49%attr(755,root,root) %{_bindir}/static-cat
50
51
52%changelog
53* Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 0.0-0
54- regenerated packaging with cabal2spec-0.25.5
55
56* Mon May  2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0
57- regenerated packaging with cabal2spec-0.22.5
58
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
Note: See TracBrowser for help on using the repository browser.