Last change
on this file since 1832 was
1831,
checked in by achernya, 13 years ago
|
Make static-cat compile on Fedora 15
Regenerated the static-cat .spec file to make it build on F15, and
copied back all of the customized chagned.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[1831] | 1 | # For Haskell Packaging Guidelines see: |
---|
| 2 | # - https://fedoraproject.org/wiki/Packaging:Haskell |
---|
| 3 | # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell |
---|
[1693] | 4 | |
---|
[1590] | 5 | Name: scripts-static-cat |
---|
| 6 | Version: 0.0 |
---|
| 7 | Release: 0.%{scriptsversion}%{?dist} |
---|
| 8 | Summary: static-cat for scripts.mit.edu |
---|
| 9 | |
---|
| 10 | Group: Applications/System |
---|
| 11 | License: GPL |
---|
[1831] | 12 | URL: http://scripts.mit.edu |
---|
[1590] | 13 | Source0: %{name}.tar.gz |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 15 | # fedora ghc archs: |
---|
[1831] | 16 | ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 |
---|
| 17 | BuildRequires: ghc-devel |
---|
| 18 | # macros for building haskell packages |
---|
[1693] | 19 | BuildRequires: ghc-rpm-macros >= 0.7.0 |
---|
| 20 | BuildRequires: ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel |
---|
[1590] | 21 | |
---|
| 22 | %description |
---|
| 23 | static-cat is a binary for serving static content on scripts.mit.edu. |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q -n %{name} |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %build |
---|
[1693] | 31 | %ghc_bin_build |
---|
[1590] | 32 | |
---|
| 33 | |
---|
| 34 | %install |
---|
[1693] | 35 | %ghc_bin_install |
---|
[1590] | 36 | |
---|
| 37 | |
---|
| 38 | %files |
---|
| 39 | %defattr(-,root,root,-) |
---|
| 40 | %attr(755,root,root) %{_bindir}/static-cat |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %changelog |
---|
[1831] | 44 | * Sat Apr 30 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0 |
---|
| 45 | - regenerated packaging for Fedora automatically generated by cabal2spec-0.22.5 |
---|
| 46 | |
---|
[1693] | 47 | * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0-0 |
---|
| 48 | - initial packaging for Fedora automatically generated by cabal2spec-0.22.1 |
---|
Note: See
TracBrowser
for help on using the repository browser.