This commit is contained in:
Jens Petersen 2013-06-06 10:55:37 +09:00
parent 017daac35e
commit 10b9932c31
3 changed files with 56 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/IfElse-0.85.tar.gz

54
ghc-IfElse.spec Normal file
View File

@ -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 <haskell@lists.fedoraproject.org> - 0.85-1
- spec file generated by cabal-rpm-0.7.1

View File

@ -0,0 +1 @@
9e904c4ade47b1eba17f47d682eb2ee9 IfElse-0.85.tar.gz