Last change
on this file since 1632 was
1632,
checked in by andersk, 14 years ago
|
Update Haskell specs for F13 with cabal2spec-0.22.1
|
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 | |
---|
8 | Name: scripts-static-cat |
---|
9 | Version: 0.0 |
---|
10 | Release: 0.%{scriptsversion}%{?dist} |
---|
11 | Summary: static-cat for scripts.mit.edu |
---|
12 | |
---|
13 | Group: Applications/System |
---|
14 | License: GPL |
---|
15 | URL: http://scripts.mit.edu/ |
---|
16 | Source0: %{name}.tar.gz |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
18 | # fedora ghc archs: |
---|
19 | ExclusiveArch: %{ix86} x86_64 ppc alpha |
---|
20 | BuildRequires: ghc |
---|
21 | BuildRequires: ghc-rpm-macros >= 0.7.0 |
---|
22 | BuildRequires: ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel |
---|
23 | |
---|
24 | %description |
---|
25 | static-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 |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | %ghc_bin_install |
---|
39 | |
---|
40 | |
---|
41 | %clean |
---|
42 | rm -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.