Ignore:
Timestamp:
Jun 27, 2012, 10:29:47 PM (12 years ago)
Author:
ezyang
Message:
Reintegrate Fedora 17 development branch into trunk.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/server/fedora/specs/ghc-cgi.spec

    r2066 r2246  
    1 # For Haskell Packaging Guidelines see:
    2 # - https://fedoraproject.org/wiki/Packaging:Haskell
    3 # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
     1# cabal2spec-0.25
     2# https://fedoraproject.org/wiki/Packaging:Haskell
     3# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
    44
    55%global pkg_name cgi
    66
    7 # common part of summary for all the subpackages
    87%global common_summary Haskell %{pkg_name} library
    98
    10 # main description used for all the subpackages
    119%global common_description A %{pkg_name} library for Haskell.
    12 
    13 # Haskell library dependencies (used for buildrequires and devel/prof subpkg requires)
    14 %global ghc_pkg_deps ghc-network-devel, ghc-parsec-devel, ghc-mtl-devel, ghc-MonadCatchIO-mtl-devel, ghc-xhtml-devel
    15 
    16 # foreign library dependencies (used for buildrequires and devel subpkg requires)
    17 #%%global ghc_pkg_c_deps @CDEP1@-devel
    1810
    1911Name:           ghc-%{pkg_name}
     
    2416Group:          System Environment/Libraries
    2517License:        BSD
     18# BEGIN cabal2spec
    2619URL:            http://hackage.haskell.org/package/%{pkg_name}
    2720Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
    28 # fedora ghc archs:
    29 ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
    30 BuildRequires:  ghc, ghc-doc, ghc-prof
    31 # macros for building haskell packages
    32 BuildRequires:  ghc-rpm-macros >= 0.7.3
    33 BuildRequires:  hscolour
    34 %{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
    35 %{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
     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
    3630
    3731%description
     
    5145
    5246
    53 # define the devel and prof subpkgs, devel post[un] scripts, and filelists:
    54 # ghc-%pkg_name{,devel,prof}.files
    55 %ghc_lib_package
     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
    5657
    5758
    5859%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
    5963* Mon May  2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 3001.1.8.2-0
    6064- regenerated packaging with cabal2spec-0.22.5
Note: See TracChangeset for help on using the changeset viewer.