2011-05-11 08:35:41 +00:00
|
|
|
# For Haskell Packaging Guidelines see:
|
|
|
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
%global pkg_name pandoc-types
|
|
|
|
|
|
|
|
# common part of summary for all the subpackages
|
|
|
|
%global common_summary Pandoc data structure library
|
|
|
|
|
|
|
|
# main description used for all the subpackages
|
|
|
|
%global common_description This package contains definitions for the Pandoc data structure, which\
|
|
|
|
is used by pandoc to represent structured documents. These definitions\
|
|
|
|
used to live in the pandoc package, but they have been split off, so\
|
|
|
|
that other packages can use them without drawing in all of pandoc's\
|
|
|
|
dependencies, and pandoc itself can depend on packages (like\
|
|
|
|
citeproc-hs) that use them.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2011-05-13 08:36:00 +00:00
|
|
|
Version: 1.8.0.2
|
2011-06-22 09:12:19 +00:00
|
|
|
Release: 2%{?dist}
|
2011-05-11 08:35:41 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2011-06-22 09:12:19 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
2011-05-11 08:43:59 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2011-05-11 08:35:41 +00:00
|
|
|
# macros for building haskell packages
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: hscolour
|
2011-05-11 08:43:59 +00:00
|
|
|
BuildRequires: ghc-containers-prof, ghc-syb-prof
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
# define the devel and prof subpkgs, devel post[un] scripts, and filelists:
|
|
|
|
# ghc-%pkg_name{,devel,prof}.files
|
|
|
|
%ghc_lib_package
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2011-06-22 09:12:19 +00:00
|
|
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 1.8.0.2-2
|
|
|
|
- use ghc_arches (cabal2spec-0.23.2)
|
|
|
|
|
2011-05-13 08:36:00 +00:00
|
|
|
* Fri May 13 2011 Jens Petersen <petersen@redhat.com> - 1.8.0.2-1
|
|
|
|
- update to 1.8.0.2
|
|
|
|
|
2011-05-11 08:43:59 +00:00
|
|
|
* Wed May 11 2011 Jens Petersen <petersen@redhat.com> - 1.8-2
|
|
|
|
- drop ghc_package_deps
|
|
|
|
- add BR on ghc-Cabal-devel and ghc-containers-prof
|
|
|
|
|
2011-05-11 08:35:41 +00:00
|
|
|
* Tue May 3 2011 Jens Petersen <petersen@redhat.com> - 1.8-1
|
2011-05-11 08:43:59 +00:00
|
|
|
- GPLv2+ and depends on syb
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
* Tue May 3 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.8-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.6
|