|
|
|
@ -1,21 +1,11 @@
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name pandoc-types
|
|
|
|
|
|
|
|
|
|
%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\
|
|
|
|
|
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}
|
|
|
|
|
Version: 1.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Types for representing a structured document
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
@ -29,7 +19,23 @@ BuildRequires: ghc-syb-devel
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
@ -44,18 +50,25 @@ BuildRequires: ghc-syb-devel
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
|
|
%ghc_files COPYING
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jun 05 2013 Jens Petersen <petersen@redhat.com> - 1.10-2
|
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2013 Jens Petersen <petersen@redhat.com> - 1.10-1
|
|
|
|
|
- update to 1.10
|
|
|
|
|
|
|
|
|
|