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

Last change on this file since 2678 was 2591, checked in by achernya, 10 years ago
Reintegrate fc20-dev into trunk
File size: 1.5 KB
Line 
1# https://fedoraproject.org/wiki/Packaging:Haskell
2
3# Link Haskell libs statically for 3x faster startup speed.
4%define ghc_without_dynamic 1
5
6Name:           scripts-static-cat
7Version:        0.0
8Release:        0.%{scriptsversion}%{?dist}
9Summary:        static-cat for scripts.mit.edu
10
11License:        GPL+
12URL:            http://scripts.mit.edu/
13Source0:        %{name}.tar.gz
14
15BuildRequires:  ghc-Cabal-devel
16BuildRequires:  ghc-rpm-macros
17# Begin cabal-rpm deps:
18BuildRequires:  ghc-MonadCatchIO-mtl-devel
19BuildRequires:  ghc-bytestring-devel
20BuildRequires:  ghc-cgi-devel
21BuildRequires:  ghc-containers-devel
22BuildRequires:  ghc-filepath-devel
23BuildRequires:  ghc-old-locale-devel
24BuildRequires:  ghc-time-devel
25BuildRequires:  ghc-unix-devel
26BuildRequires:  ghc-unix-handle-devel
27# End cabal-rpm deps
28
29%description
30static-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
38%ghc_bin_build
39
40
41%install
42%ghc_bin_install
43
44
45%files
46%attr(755,root,root) %{_bindir}/static-cat
47
48
49%changelog
50* Mon May 26 2014 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0
51- Updated for F20 with cabal-rpm
52
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.