[2525] | 1 | # Generated with cabal-rpm |
---|
[2246] | 2 | # https://fedoraproject.org/wiki/Packaging:Haskell |
---|
[2066] | 3 | |
---|
[1590] | 4 | %global pkg_name cgi |
---|
| 5 | |
---|
| 6 | Name: ghc-%{pkg_name} |
---|
[2525] | 7 | Version: 3001.1.8.5 |
---|
[1590] | 8 | Release: 0.%{scriptsversion}%{?dist} |
---|
[2525] | 9 | Summary: A library for writing CGI programs |
---|
[1590] | 10 | |
---|
| 11 | License: BSD |
---|
[2066] | 12 | URL: http://hackage.haskell.org/package/%{pkg_name} |
---|
[1590] | 13 | Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz |
---|
[2525] | 14 | |
---|
[2246] | 15 | BuildRequires: ghc-Cabal-devel |
---|
| 16 | BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} |
---|
[2525] | 17 | # Begin cabal-rpm deps: |
---|
| 18 | BuildRequires: ghc-MonadCatchIO-mtl-devel |
---|
| 19 | BuildRequires: ghc-containers-devel |
---|
| 20 | BuildRequires: ghc-mtl-devel |
---|
| 21 | BuildRequires: ghc-network-devel |
---|
| 22 | BuildRequires: ghc-old-locale-devel |
---|
| 23 | BuildRequires: ghc-old-time-devel |
---|
| 24 | BuildRequires: ghc-parsec-devel |
---|
| 25 | BuildRequires: ghc-xhtml-devel |
---|
| 26 | # End cabal-rpm deps |
---|
[1590] | 27 | |
---|
| 28 | %description |
---|
[2525] | 29 | This is a Haskell library for writing CGI programs. |
---|
[1590] | 30 | |
---|
| 31 | |
---|
[2525] | 32 | %package devel |
---|
| 33 | Summary: Haskell %{pkg_name} library development files |
---|
| 34 | Provides: %{name}-static = %{version}-%{release} |
---|
| 35 | Requires: ghc-compiler = %{ghc_version} |
---|
| 36 | Requires(post): ghc-compiler = %{ghc_version} |
---|
| 37 | Requires(postun): ghc-compiler = %{ghc_version} |
---|
| 38 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | This package provides the Haskell %{pkg_name} library development files. |
---|
| 42 | |
---|
| 43 | |
---|
[1590] | 44 | %prep |
---|
| 45 | %setup -q -n %{pkg_name}-%{version} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %build |
---|
[1693] | 49 | %ghc_lib_build |
---|
[1590] | 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
[1693] | 53 | %ghc_lib_install |
---|
[1590] | 54 | |
---|
| 55 | |
---|
[2525] | 56 | %post devel |
---|
| 57 | %ghc_pkg_recache |
---|
[1590] | 58 | |
---|
| 59 | |
---|
[2525] | 60 | %postun devel |
---|
| 61 | %ghc_pkg_recache |
---|
[2246] | 62 | |
---|
| 63 | |
---|
[2525] | 64 | %files -f %{name}.files |
---|
| 65 | %doc LICENSE |
---|
[2246] | 66 | |
---|
| 67 | |
---|
[2525] | 68 | %files devel -f %{name}-devel.files |
---|
[2246] | 69 | |
---|
[2525] | 70 | |
---|
[1590] | 71 | %changelog |
---|
[2525] | 72 | * Mon May 26 2014 Alexander Chernyakhovsky <achernya@mit.edu> - 3001.1.8.5-0 |
---|
| 73 | - Updated packaging for F20, with cabal-rpm |
---|
| 74 | |
---|
[2246] | 75 | * Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 3001.1.8.2-0 |
---|
| 76 | - regenerated packaging with cabal2spec-0.25.5 |
---|
| 77 | |
---|
[2066] | 78 | * Mon May 2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 3001.1.8.2-0 |
---|
| 79 | - regenerated packaging with cabal2spec-0.22.5 |
---|
| 80 | |
---|
[1693] | 81 | * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 3001.1.8.1-0 |
---|
| 82 | - initial packaging for Fedora automatically generated by cabal2spec-0.22.1 |
---|