Ignore:
Timestamp:
Aug 27, 2014, 10:06:17 PM (10 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-unix-handle.spec

    r2246 r2591  
    1 # cabal2spec-0.25
    21# https://fedoraproject.org/wiki/Packaging:Haskell
    3 # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
    42
    53%global pkg_name unix-handle
    6 
    7 %global common_summary Haskell %{pkg_name} library
    8 
    9 %global common_description A %{pkg_name} library for Haskell.
    104
    115Name:           ghc-%{pkg_name}
    126Version:        0.0.0
    137Release:        0.%{scriptsversion}%{?dist}
    14 Summary:        %{common_summary}
     8Summary:        POSIX operations on Handles
    159
    16 Group:          System Environment/Libraries
    1710License:        BSD
    18 # BEGIN cabal2spec
    1911URL:            http://hackage.haskell.org/package/%{pkg_name}
    2012Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
    21 ExclusiveArch:  %{ghc_arches}
     13
    2214BuildRequires:  ghc-Cabal-devel
    2315BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
    24 # END cabal2spec
     16# Begin cabal-rpm deps:
     17BuildRequires:  ghc-unix-devel
     18# End cabal-rpm deps
    2519
    2620%description
    27 %{common_description}
     21This package provides versions of functions from "System.Posix.Files" that
     22operate on 'System.IO.Handle' instead of 'System.IO.FilePath' or
     23'System.Posix.Fd'. This is useful to prevent race conditions that may arise
     24from looking up the same path twice.
     25
     26
     27%package devel
     28Summary:        Haskell %{pkg_name} library development files
     29Provides:       %{name}-static = %{version}-%{release}
     30Requires:       ghc-compiler = %{ghc_version}
     31Requires(post): ghc-compiler = %{ghc_version}
     32Requires(postun): ghc-compiler = %{ghc_version}
     33Requires:       %{name}%{?_isa} = %{version}-%{release}
     34
     35%description devel
     36This package provides the Haskell %{pkg_name} library development files.
    2837
    2938
     
    4049
    4150
    42 # devel subpackage
    43 %ghc_devel_package
    44 
    45 %ghc_devel_description
     51%post devel
     52%ghc_pkg_recache
    4653
    4754
    48 %ghc_devel_post_postun
     55%postun devel
     56%ghc_pkg_recache
    4957
    5058
    51 %ghc_files LICENSE
     59%files -f %{name}.files
     60%doc LICENSE
     61
     62
     63%files devel -f %{name}-devel.files
    5264
    5365
    5466%changelog
     67* Mon May 26 2014 Alex Chernyakhovsky <achernya@mit.edu> - 0.0.0-0
     68- Updated packaging for F20 with cabal-rpm
     69
    5570* Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0
    5671- regenerated packaging with cabal2spec-0.25.5
Note: See TracChangeset for help on using the changeset viewer.