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

Last change on this file since 1710 was 1693, checked in by ezyang, 14 years ago
Merge Fedora 13 development back to trunk.
File size: 1.2 KB
Line 
1# link with shared libs
2# andersk: Disabled for 3x faster startup speed.
3#%%bcond_without dynamic
4
5# ghc does not emit debug information
6%global debug_package %{nil}
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
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18# fedora ghc archs:
19ExclusiveArch:  %{ix86} x86_64 ppc alpha
20BuildRequires:  ghc
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
37rm -rf $RPM_BUILD_ROOT
38%ghc_bin_install
39
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44
45%files
46%defattr(-,root,root,-)
47%attr(755,root,root) %{_bindir}/static-cat
48
49
50%changelog
51* Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0-0
52- initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracBrowser for help on using the repository browser.