source: trunk/server/fedora/specs/ghc-cgi.spec

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