Ignore:
Timestamp:
Aug 27, 2014, 10:06:17 PM (8 years ago)
Author:
achernya
Message:
Reintegrate fc20-dev into trunk
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

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

    r2246 r2591  
    1 # cabal2spec-0.25
     1# Generated with cabal-rpm
    22# https://fedoraproject.org/wiki/Packaging:Haskell
    3 # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
    43
    54%global pkg_name cgi
    65
    7 %global common_summary Haskell %{pkg_name} library
     6Name:           ghc-%{pkg_name}
     7Version:        3001.1.8.5
     8Release:        0.%{scriptsversion}%{?dist}
     9Summary:        A library for writing CGI programs
    810
    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
    1711License:        BSD
    18 # BEGIN cabal2spec
    1912URL:            http://hackage.haskell.org/package/%{pkg_name}
    2013Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
    21 ExclusiveArch:  %{ghc_arches}
     14
    2215BuildRequires:  ghc-Cabal-devel
    2316BuildRequires:  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
     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
    3027
    3128%description
    32 %{common_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.
    3342
    3443
     
    4554
    4655
    47 # devel subpackage
    48 %ghc_devel_package
    49 
    50 %ghc_devel_description
     56%post devel
     57%ghc_pkg_recache
    5158
    5259
    53 %ghc_devel_post_postun
     60%postun devel
     61%ghc_pkg_recache
    5462
    5563
    56 %ghc_files LICENSE
     64%files -f %{name}.files
     65%doc LICENSE
     66
     67
     68%files devel -f %{name}-devel.files
    5769
    5870
    5971%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
    6075* Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 3001.1.8.2-0
    6176- regenerated packaging with cabal2spec-0.25.5
Note: See TracChangeset for help on using the changeset viewer.