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

Last change on this file since 1590 was 1590, checked in by andersk, 12 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
4Name:           scripts-static-cat
5Version:        0.0
6Release:        0.%{scriptsversion}%{?dist}
7Summary:        static-cat for scripts.mit.edu
8
9Group:          Applications/System
10License:        GPL
11URL:            http://scripts.mit.edu/
12Source0:        %{name}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14# fedora ghc archs:
15ExclusiveArch:  %{ix86} x86_64 ppc alpha
16BuildRequires:  ghc, ghc-rpm-macros, ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel
17
18%description
19static-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
32rm -rf $RPM_BUILD_ROOT
33%cabal_install
34
35
36%clean
37rm -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.