| Last change
                  on this file since 2296 was
                  2246,
                  checked in by ezyang, 13 years ago | 
        
          | Reintegrate Fedora 17 development branch into trunk. | 
        | 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 |  | 
|---|
| 11 | Name:           ghc-%{pkg_name} | 
|---|
| 12 | Version:        3001.1.8.2 | 
|---|
| 13 | Release:        0.%{scriptsversion}%{?dist} | 
|---|
| 14 | Summary:        %{common_summary} | 
|---|
| 15 |  | 
|---|
| 16 | Group:          System Environment/Libraries | 
|---|
| 17 | License:        BSD | 
|---|
| 18 | # BEGIN cabal2spec | 
|---|
| 19 | URL:            http://hackage.haskell.org/package/%{pkg_name} | 
|---|
| 20 | Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz | 
|---|
| 21 | ExclusiveArch:  %{ghc_arches} | 
|---|
| 22 | BuildRequires:  ghc-Cabal-devel | 
|---|
| 23 | BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour} | 
|---|
| 24 | # END cabal2spec | 
|---|
| 25 | BuildRequires:  ghc-network-prof | 
|---|
| 26 | BuildRequires:  ghc-parsec-prof | 
|---|
| 27 | BuildRequires:  ghc-mtl-prof | 
|---|
| 28 | BuildRequires:  ghc-MonadCatchIO-mtl-prof | 
|---|
| 29 | BuildRequires:  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.