2012-01-05 12:11:07 +00:00
|
|
|
# cabal2spec-0.25.2
|
|
|
|
# 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-01-05 12:11:07 +00:00
|
|
|
Version: 0.4.3.1
|
2012-03-22 09:09:21 +00:00
|
|
|
Release: 3%{?dist}
|
2011-06-18 07:19:50 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
2012-01-05 12:11:07 +00:00
|
|
|
# BEGIN cabal2spec
|
2011-06-18 07:19:50 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2012-01-05 12:11:07 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
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}
|
|
|
|
# END cabal2spec
|
|
|
|
BuildRequires: ghc-blaze-builder-prof
|
|
|
|
BuildRequires: ghc-text-prof
|
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-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
|