|
|
|
@ -1,10 +1,9 @@
|
|
|
|
|
# For Haskell Packaging Guidelines see:
|
|
|
|
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
# cabal2spec-0.25.2
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name blaze-html
|
|
|
|
|
|
|
|
|
|
# common part of summary for all the subpackages
|
|
|
|
|
%global common_summary Fast HTML combinator library for Haskell
|
|
|
|
|
|
|
|
|
|
# main description used for all the subpackages
|
|
|
|
@ -15,21 +14,21 @@ The project is aimed at those who seek to write web applications in Haskell\
|
|
|
|
|
— it integrates well with all Haskell web frameworks.
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.4.2.0
|
|
|
|
|
Release: 1%{?dist}.2
|
|
|
|
|
Version: 0.4.3.1
|
|
|
|
|
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
|
|
|
|
|
# fedora ghc archs:
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
|
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
# macros for building haskell packages
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
BuildRequires: ghc-blaze-builder-prof, ghc-text-prof
|
|
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
|
# END cabal2spec
|
|
|
|
|
BuildRequires: ghc-blaze-builder-prof
|
|
|
|
|
BuildRequires: ghc-text-prof
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
@ -47,12 +46,21 @@ BuildRequires: ghc-blaze-builder-prof, ghc-text-prof
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define the devel subpkg, post[un] scripts,
|
|
|
|
|
# and filelists ghc-blaze-html{,devel}.files
|
|
|
|
|
%ghc_lib_package
|
|
|
|
|
%ghc_devel_package
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 0.4.3.1-1
|
|
|
|
|
- update to 0.4.3.1 and cabal2spec-0.25.2
|
|
|
|
|
|
|
|
|
|
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.4.2.0-1.2
|
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
|
|
|
|
|