- Timestamp:
- May 25, 2012, 4:09:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc17-dev/server/fedora/specs/ghc-unix-handle.spec
r2066 r2211 1 # For Haskell Packaging Guidelines see:2 # -https://fedoraproject.org/wiki/Packaging:Haskell3 # -https://fedoraproject.org/wiki/PackagingDrafts/Haskell1 # cabal2spec-0.25 2 # https://fedoraproject.org/wiki/Packaging:Haskell 3 # https://fedoraproject.org/wiki/PackagingDrafts/Haskell 4 4 5 5 %global pkg_name unix-handle 6 6 7 # common part of summary for all the subpackages8 7 %global common_summary Haskell %{pkg_name} library 9 8 10 # main description used for all the subpackages11 9 %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-@DEP1@-devel, ghc-@DEP2@-devel15 16 # foreign library dependencies (used for buildrequires and devel subpkg requires)17 #%%global ghc_pkg_c_deps @CDEP1@-devel18 10 19 11 Name: ghc-%{pkg_name} … … 24 16 Group: System Environment/Libraries 25 17 License: BSD 18 # BEGIN cabal2spec 26 19 URL: http://hackage.haskell.org/package/%{pkg_name} 27 20 Source0: 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}} 21 ExclusiveArch: %{ghc_arches} 22 BuildRequires: ghc-Cabal-devel 23 BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} 24 # END cabal2spec 36 25 37 26 %description … … 51 40 52 41 53 # define the devel and prof subpkgs, devel post[un] scripts, and filelists: 54 # ghc-%pkg_name{,devel,prof}.files 55 %ghc_lib_package 42 # devel subpackage 43 %ghc_devel_package 44 45 %ghc_devel_description 46 47 48 %ghc_devel_post_postun 49 50 51 %ghc_files LICENSE 56 52 57 53 58 54 %changelog 55 * Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0 56 - regenerated packaging with cabal2spec-0.25.5 57 59 58 * Mon May 2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0.0-0 60 59 - regenerated packaging with cabal2spec-0.22.5
Note: See TracChangeset
for help on using the changeset viewer.