Last change
on this file since 2493 was
2246,
checked in by ezyang, 12 years ago
|
Reintegrate Fedora 17 development branch into trunk.
|
File size:
1.6 KB
|
Rev | Line | |
---|
[2246] | 1 | # cabal2spec-0.25 |
---|
| 2 | # https://fedoraproject.org/wiki/Packaging:Haskell |
---|
| 3 | # https://fedoraproject.org/wiki/PackagingDrafts/Haskell |
---|
[2066] | 4 | |
---|
[1590] | 5 | %global pkg_name cgi |
---|
| 6 | |
---|
[1693] | 7 | %global common_summary Haskell %{pkg_name} library |
---|
[1590] | 8 | |
---|
[1693] | 9 | %global common_description A %{pkg_name} library for Haskell. |
---|
| 10 | |
---|
[1590] | 11 | Name: ghc-%{pkg_name} |
---|
[2066] | 12 | Version: 3001.1.8.2 |
---|
[1590] | 13 | Release: 0.%{scriptsversion}%{?dist} |
---|
[1693] | 14 | Summary: %{common_summary} |
---|
[1590] | 15 | |
---|
[1693] | 16 | Group: System Environment/Libraries |
---|
[1590] | 17 | License: BSD |
---|
[2246] | 18 | # BEGIN cabal2spec |
---|
[2066] | 19 | URL: http://hackage.haskell.org/package/%{pkg_name} |
---|
[1590] | 20 | Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz |
---|
[2246] | 21 | ExclusiveArch: %{ghc_arches} |
---|
| 22 | BuildRequires: ghc-Cabal-devel |
---|
| 23 | BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} |
---|
| 24 | # END cabal2spec |
---|
| 25 | BuildRequires: ghc-network-prof |
---|
| 26 | BuildRequires: ghc-parsec-prof |
---|
| 27 | BuildRequires: ghc-mtl-prof |
---|
| 28 | BuildRequires: ghc-MonadCatchIO-mtl-prof |
---|
| 29 | BuildRequires: ghc-xhtml-prof |
---|
[1590] | 30 | |
---|
| 31 | %description |
---|
[1693] | 32 | %{common_description} |
---|
[1590] | 33 | |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q -n %{pkg_name}-%{version} |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
[1693] | 40 | %ghc_lib_build |
---|
[1590] | 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
[1693] | 44 | %ghc_lib_install |
---|
[1590] | 45 | |
---|
| 46 | |
---|
[2246] | 47 | # devel subpackage |
---|
| 48 | %ghc_devel_package |
---|
[1590] | 49 | |
---|
[2246] | 50 | %ghc_devel_description |
---|
[1590] | 51 | |
---|
[2246] | 52 | |
---|
| 53 | %ghc_devel_post_postun |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %ghc_files LICENSE |
---|
| 57 | |
---|
| 58 | |
---|
[1590] | 59 | %changelog |
---|
[2246] | 60 | * Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 3001.1.8.2-0 |
---|
| 61 | - regenerated packaging with cabal2spec-0.25.5 |
---|
| 62 | |
---|
[2066] | 63 | * Mon May 2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 3001.1.8.2-0 |
---|
| 64 | - regenerated packaging with cabal2spec-0.22.5 |
---|
| 65 | |
---|
[1693] | 66 | * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 3001.1.8.1-0 |
---|
| 67 | - initial packaging for Fedora automatically generated by cabal2spec-0.22.1 |
---|
Note: See
TracBrowser
for help on using the repository browser.