update with cabal-rpm

This commit is contained in:
Jens Petersen 2012-11-18 00:36:35 +09:00
parent 31898caa76
commit afc5f78a77

View File

@ -1,10 +1,9 @@
# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name pandoc-types
%global common_summary Pandoc data structure library
%global common_summary Types for representing a structured document
%global common_description This package contains definitions for the Pandoc data structure, which\
is used by pandoc to represent structured documents. These definitions\
@ -15,20 +14,19 @@ citeproc-hs) that use them.
Name: ghc-%{pkg_name}
Version: 1.9.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: GPLv2+
# 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-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-containers-devel
BuildRequires: ghc-syb-devel
# End cabal-rpm deps
%description
%{common_description}
@ -58,6 +56,9 @@ BuildRequires: ghc-syb-devel
%changelog
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 1.9.1-6
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild