# cabal2spec-0.25.4 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name temporary %global common_summary Portable temporary file and directory support %global common_description The functions for creating temporary files and directories in the base library\ are quite limited. The unixutils package contains some good ones,\ but they aren't portable to Windows. This library repackages the\ Cabal implementations of its own temporary file and folder functions\ so that you can use them without linking against Cabal or depending on\ it being installed. Name: ghc-%{pkg_name} Version: 1.1.2.3 Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD # BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec BuildRequires: ghc-directory-devel %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install # devel subpackage %ghc_devel_package %ghc_devel_description %ghc_devel_post_postun %ghc_files %changelog * Tue Feb 7 2012 Jens Petersen - 1.1.2.3-1 - BSD license * Tue Feb 7 2012 Fedora Haskell SIG - spec file template generated by cabal2spec-0.25.4