update with cabal-rpm

This commit is contained in:
Jens Petersen 2012-11-17 22:01:38 +09:00
parent 5aa322c02b
commit 4a3fa22310
1 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,3 @@
# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
@ -6,26 +5,23 @@
%global common_summary A model for human color perception
%global common_description This package provides a data type for colors and \
transparency. Colors can be blended and composed. Various \
color spaces are supported. A module of color names \
("Data.Colour.Names") is provided.
%global common_description This package provides a data type for colors and transparency.\
Colors can be blended and composed. Various color spaces are supported.\
A module of color names ("Data.Colour.Names") is provided.
Name: ghc-%{pkg_name}
Version: 2.3.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: MIT
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
BuildRequires: ghc-base-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
# End cabal-rpm deps
%description
%{common_description}
@ -58,6 +54,9 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,CHANGELOG}
%changelog
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 2.3.3-4
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild