Last change
on this file was
2211,
checked in by andersk, 13 years ago
|
Update ghc-cgi, ghc-unix-handle; punt ghc-MonadCatchIO-mtl
|
File size:
1.4 KB
|
Rev | Line | |
---|
[2211] | 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 unix-handle |
---|
| 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} |
---|
| 12 | Version: 0.0.0 |
---|
| 13 | Release: 0.%{scriptsversion}%{?dist} |
---|
[1693] | 14 | Summary: %{common_summary} |
---|
[1590] | 15 | |
---|
[1693] | 16 | Group: System Environment/Libraries |
---|
[1590] | 17 | License: BSD |
---|
[2211] | 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 |
---|
[2211] | 21 | ExclusiveArch: %{ghc_arches} |
---|
| 22 | BuildRequires: ghc-Cabal-devel |
---|
| 23 | BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} |
---|
| 24 | # END cabal2spec |
---|
[1590] | 25 | |
---|
| 26 | %description |
---|
[1693] | 27 | %{common_description} |
---|
[1590] | 28 | |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -n %{pkg_name}-%{version} |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %build |
---|
[1693] | 35 | %ghc_lib_build |
---|
[1590] | 36 | |
---|
| 37 | |
---|
| 38 | %install |
---|
[1693] | 39 | %ghc_lib_install |
---|
[1590] | 40 | |
---|
| 41 | |
---|
[2211] | 42 | # devel subpackage |
---|
| 43 | %ghc_devel_package |
---|
[1590] | 44 | |
---|
[2211] | 45 | %ghc_devel_description |
---|
[1590] | 46 | |
---|
[2211] | 47 | |
---|
| 48 | %ghc_devel_post_postun |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %ghc_files LICENSE |
---|
| 52 | |
---|
| 53 | |
---|
[1590] | 54 | %changelog |
---|
[2211] | 55 | * Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0 |
---|
| 56 | - regenerated packaging with cabal2spec-0.25.5 |
---|
| 57 | |
---|
[2066] | 58 | * Mon May 2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0.0-0 |
---|
| 59 | - regenerated packaging with cabal2spec-0.22.5 |
---|
| 60 | |
---|
[1693] | 61 | * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0 |
---|
| 62 | - initial packaging for Fedora automatically generated by cabal2spec-0.22.1 |
---|
Note: See
TracBrowser
for help on using the repository browser.