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
RevLine 
[2591]1# Generated with cabal-rpm
[2246]2# https://fedoraproject.org/wiki/Packaging:Haskell
[2066]3
[1590]4%global pkg_name cgi
5
6Name:           ghc-%{pkg_name}
[2591]7Version:        3001.1.8.5
[1590]8Release:        0.%{scriptsversion}%{?dist}
[2591]9Summary:        A library for writing CGI programs
[1590]10
11License:        BSD
[2066]12URL:            http://hackage.haskell.org/package/%{pkg_name}
[1590]13Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
[2591]14
[2246]15BuildRequires:  ghc-Cabal-devel
16BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
[2591]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
[1590]27
28%description
[2591]29This is a Haskell library for writing CGI programs.
[1590]30
31
[2591]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
[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
[2591]56%post devel
57%ghc_pkg_recache
[1590]58
59
[2591]60%postun devel
61%ghc_pkg_recache
[2246]62
63
[2591]64%files -f %{name}.files
65%doc LICENSE
[2246]66
67
[2591]68%files devel -f %{name}-devel.files
[2246]69
[2591]70
[1590]71%changelog
[2591]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
Note: See TracBrowser for help on using the repository browser.