source: branches/fc17-dev/server/fedora/specs/ghc-cgi.spec @ 2226

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