2012-01-05 12:11:07 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
2011-06-18 07:19:50 +00:00
|
|
|
|
|
|
|
%global pkg_name blaze-html
|
|
|
|
|
|
|
|
%global common_summary Fast HTML combinator library for Haskell
|
|
|
|
|
|
|
|
%global common_description BlazeHtml 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}
|
2012-10-26 02:48:20 +00:00
|
|
|
Version: 0.5.1.0
|
|
|
|
Release: 1%{?dist}
|
2011-06-18 07:19:50 +00:00
|
|
|
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
|
2012-10-26 02:48:20 +00:00
|
|
|
|
2011-06-18 07:19:50 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-01-05 12:11:07 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
2012-10-26 02:48:20 +00:00
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-base-devel >= 4, ghc-base-devel < 5
|
|
|
|
BuildRequires: ghc-blaze-builder-devel >= 0.2, ghc-blaze-builder-devel < 0.4
|
|
|
|
BuildRequires: ghc-blaze-markup-devel >= 0.5.1, ghc-blaze-markup-devel < 0.6
|
|
|
|
BuildRequires: ghc-bytestring-devel >= 0.9, ghc-bytestring-devel < 0.11
|
|
|
|
BuildRequires: ghc-text-devel >= 0.10, ghc-text-devel < 0.12
|
|
|
|
# End cabal-rpm deps
|
2011-06-18 07:19:50 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-01-05 12:11:07 +00:00
|
|
|
%ghc_devel_package
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
2012-03-22 09:09:21 +00:00
|
|
|
%ghc_files LICENSE
|
2011-06-18 07:19:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-10-26 02:48:20 +00:00
|
|
|
* Fri Oct 26 2012 Jens Petersen <petersen@redhat.com> - 0.5.1.0-1
|
|
|
|
- update to 0.5.1.0
|
|
|
|
- refresh BRs etc with cabal-rpm
|
|
|
|
|
2012-07-19 05:23:16 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 02:07:50 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.4.3.4-2
|
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-06-13 08:37:17 +00:00
|
|
|
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.4.3.4-1
|
|
|
|
- update to 0.4.3.4
|
|
|
|
|
2012-03-22 09:09:21 +00:00
|
|
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.4.3.1-3
|
|
|
|
- rebuild
|
|
|
|
|
2012-03-01 04:20:12 +00:00
|
|
|
* Thu Mar 1 2012 Jens Petersen <petersen@redhat.com> - 0.4.3.1-2
|
|
|
|
- rebuild
|
|
|
|
|
2012-01-05 12:11:07 +00:00
|
|
|
* 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
|
|
|
|
|
2011-10-20 18:57:42 +00:00
|
|
|
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.4.2.0-1.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 08:49:32 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.4.2.0-1.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-10-03 10:15:53 +00:00
|
|
|
* Mon Oct 3 2011 Jens Petersen <petersen@redhat.com> - 0.4.2.0-1
|
|
|
|
- update to 0.4.2.0
|
|
|
|
|
2011-09-28 10:25:25 +00:00
|
|
|
* Wed Sep 28 2011 Jens Petersen <petersen@redhat.com> - 0.4.1.7-1
|
|
|
|
- update to 0.4.1.7
|
|
|
|
|
2011-08-04 03:15:10 +00:00
|
|
|
* Thu Aug 4 2011 Jens Petersen <petersen@redhat.com> - 0.4.1.6-1
|
|
|
|
- update to 0.4.1.6
|
|
|
|
|
2011-06-18 09:25:11 +00:00
|
|
|
* Sat Jun 18 2011 Jens Petersen <petersen@redhat.com> - 0.4.1.4-1
|
|
|
|
- update to 0.4.1.4
|
|
|
|
|
2011-06-18 07:19:50 +00:00
|
|
|
* Wed Jun 15 2011 Jens Petersen <petersen@redhat.com> - 0.4.1.3-1
|
|
|
|
- update to 0.4.1.3
|
|
|
|
- cabal2spec-0.23
|
|
|
|
|
|
|
|
* Tue May 3 2011 Jens Petersen <petersen@redhat.com> - 0.4.1.1-1
|
|
|
|
- update to 0.4.1.1
|
|
|
|
- cabal2spec-0.22.6
|
|
|
|
|
|
|
|
* Sat Mar 26 2011 Jens Petersen <petersen@redhat.com> - 0.4.1.0-1
|
|
|
|
- BSD license
|
|
|
|
- depends on ghc-text and ghc-blaze-builder
|
|
|
|
|
|
|
|
* Sat Mar 26 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.4.1.0-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.5
|