From 10b9932c315dd0834b78fd935322035f7acbd285 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 6 Jun 2013 10:55:37 +0900 Subject: [PATCH] import (#919851) --- .gitignore | 1 + ghc-IfElse.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+) create mode 100644 ghc-IfElse.spec diff --git a/.gitignore b/.gitignore index e69de29..d499824 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/IfElse-0.85.tar.gz diff --git a/ghc-IfElse.spec b/ghc-IfElse.spec new file mode 100644 index 0000000..c69ae3f --- /dev/null +++ b/ghc-IfElse.spec @@ -0,0 +1,54 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name IfElse + +%global common_summary Anaphoric and miscellaneous useful control-flow + +%global common_description Anaphoric and miscellaneous useful control-flow. + +Name: ghc-%{pkg_name} +Version: 0.85 +Release: 1%{?dist} +Summary: %{common_summary} + +License: BSD +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-mtl-devel +# End cabal-rpm deps + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog +* Sun Mar 10 2013 Fedora Haskell SIG - 0.85-1 +- spec file generated by cabal-rpm-0.7.1 diff --git a/sources b/sources index e69de29..ae72dd6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9e904c4ade47b1eba17f47d682eb2ee9 IfElse-0.85.tar.gz