update to 0.6.1.1 and simplified Packaging Guidelines
This commit is contained in:
parent
69b0e118fb
commit
872eeca259
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user