source: branches/fc15-dev/server/fedora/specs/scripts-static-cat.spec @ 1843

Last change on this file since 1843 was 1843, checked in by achernya, 13 years ago
Correct, sane scripts-static-cat Update scripts-static-cat to a cabal2spec-0.22.5-generated file, re-importing the Scripts changes. Also had to change BuildRequires from ghc to ghc-devel in order to get it to build.
File size: 1.2 KB
RevLine 
[1839]1# link with shared libs
2# andersk: Disabled for 3x faster startup speed.
3#%%bcond_without dynamic
[1693]4
[1839]5# ghc does not emit debug information
6%global debug_package %{nil}
7
[1590]8Name:           scripts-static-cat
9Version:        0.0
10Release:        0.%{scriptsversion}%{?dist}
11Summary:        static-cat for scripts.mit.edu
12
13Group:          Applications/System
14License:        GPL
[1839]15URL:            http://scripts.mit.edu/
[1590]16Source0:        %{name}.tar.gz
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18# fedora ghc archs:
[1839]19ExclusiveArch:  %{ix86} x86_64 ppc alpha
[1843]20BuildRequires:  ghc-devel
[1693]21BuildRequires:  ghc-rpm-macros >= 0.7.0
22BuildRequires:  ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel
[1590]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
[1693]33%ghc_bin_build
[1590]34
35
36%install
[1839]37rm -rf $RPM_BUILD_ROOT
[1693]38%ghc_bin_install
[1590]39
40
[1839]41%clean
42rm -rf $RPM_BUILD_ROOT
43
44
[1590]45%files
46%defattr(-,root,root,-)
47%attr(755,root,root) %{_bindir}/static-cat
48
49
50%changelog
[1693]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.