update to 0.6.1.1 and simplified Packaging Guidelines

This commit is contained in:
Jens Petersen 2013-06-07 12:48:15 +09:00
parent 69b0e118fb
commit 872eeca259
3 changed files with 32 additions and 18 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/blaze-html-0.4.3.4.tar.gz
/blaze-html-0.5.1.0.tar.gz
/blaze-html-0.6.0.0.tar.gz
/blaze-html-0.6.1.1.tar.gz

View File

@ -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
%ghc_devel_description
%post devel
%ghc_pkg_recache
%ghc_devel_post_postun
%postun devel
%ghc_pkg_recache
%ghc_files LICENSE
%files -f %{name}.files
%doc 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

View File

@ -1 +1 @@
2c49dac5c648dd9674164e3aa3762ee9 blaze-html-0.6.0.0.tar.gz
f9eda0a990cda190538b9e6ff73b05f3 blaze-html-0.6.1.1.tar.gz