|
|
|
@ -1,20 +1,11 @@
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name blaze-html
|
|
|
|
|
|
|
|
|
|
%global common_summary A blazingly fast HTML combinator library for Haskell
|
|
|
|
|
|
|
|
|
|
%global common_description Blaze Html is a blazingly fast HTML combinator library for\
|
|
|
|
|
the Haskell programming language. It embeds HTML templates in Haskell code\
|
|
|
|
|
for optimal efficiency and composability.\
|
|
|
|
|
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.6.0.0
|
|
|
|
|
Version: 0.6.1.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
Summary: A blazingly fast HTML combinator library for Haskell
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
@ -30,7 +21,21 @@ BuildRequires: ghc-text-devel
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
|
A blazingly fast HTML combinator library for the Haskell programming language.
|
|
|
|
|
It embeds HTML templates in Haskell code for optimal efficiency and
|
|
|
|
|
composability. The project is aimed at those who seek to write
|
|
|
|
|
web applications in Haskell — it integrates well with Haskell web frameworks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -45,18 +50,26 @@ BuildRequires: ghc-text-devel
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
%postun devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files LICENSE
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 10 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.1-1
|
|
|
|
|
- update to 0.6.1.1
|
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
|
|
|
|
|
* Mon Mar 11 2013 Jens Petersen <petersen@redhat.com> - 0.6.0.0-1
|
|
|
|
|
- update to 0.6.0.0
|
|
|
|
|
|
|
|
|
|