Last change
on this file since 1815 was
1590,
checked in by andersk, 14 years ago
|
Package new static-cat written in Haskell.
This adds support for Content-Encoding, If-Modified-Since, Range,
If-Range, and REQUEST_METHOD.
|
File size:
1.0 KB
|
Line | |
---|
1 | # ghc does not emit debug information |
---|
2 | %global debug_package %{nil} |
---|
3 | |
---|
4 | Name: scripts-static-cat |
---|
5 | Version: 0.0 |
---|
6 | Release: 0.%{scriptsversion}%{?dist} |
---|
7 | Summary: static-cat for scripts.mit.edu |
---|
8 | |
---|
9 | Group: Applications/System |
---|
10 | License: GPL |
---|
11 | URL: http://scripts.mit.edu/ |
---|
12 | Source0: %{name}.tar.gz |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
14 | # fedora ghc archs: |
---|
15 | ExclusiveArch: %{ix86} x86_64 ppc alpha |
---|
16 | BuildRequires: ghc, ghc-rpm-macros, ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel |
---|
17 | |
---|
18 | %description |
---|
19 | static-cat is a binary for serving static content on scripts.mit.edu. |
---|
20 | |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n %{name} |
---|
24 | |
---|
25 | |
---|
26 | %build |
---|
27 | %cabal_configure --ghc |
---|
28 | %cabal build |
---|
29 | |
---|
30 | |
---|
31 | %install |
---|
32 | rm -rf $RPM_BUILD_ROOT |
---|
33 | %cabal_install |
---|
34 | |
---|
35 | |
---|
36 | %clean |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | |
---|
39 | |
---|
40 | %files |
---|
41 | %defattr(-,root,root,-) |
---|
42 | %attr(755,root,root) %{_bindir}/static-cat |
---|
43 | |
---|
44 | |
---|
45 | %changelog |
---|
46 | * Sun Mar 14 2010 Anders Kaseorg <andersk@mit.edu> - 0.0-0 |
---|
47 | - initial packaging for Fedora automatically generated by cabal2spec |
---|
Note: See
TracBrowser
for help on using the repository browser.