|
|
|
@ -1,102 +1,144 @@
|
|
|
|
|
# generated by cabal-rpm-0.12.1
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# generated by cabal-rpm-2.0.10 --subpackage
|
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
|
|
%global pkg_name pandoc
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
# link statically to Haskell libs for module portability
|
|
|
|
|
%global ghc_without_dynamic 1
|
|
|
|
|
%global hsluamodulesystem hslua-module-system-0.2.2.1
|
|
|
|
|
%global ipynb ipynb-0.1.0.1
|
|
|
|
|
%global emojis emojis-0.1
|
|
|
|
|
%global jirawikimarkup jira-wiki-markup-1.4.0
|
|
|
|
|
%global citeproc citeproc-0.4.0.1
|
|
|
|
|
%global commonmark commonmark-0.2.1
|
|
|
|
|
%global commonmarkextensions commonmark-extensions-0.2.1.2
|
|
|
|
|
%global commonmarkpandoc commonmark-pandoc-0.2.1.1
|
|
|
|
|
%global hsluamodulepath hslua-module-path-0.1.0.1
|
|
|
|
|
%global unicodecollation unicode-collation-0.1.3
|
|
|
|
|
%global subpkgs %{hsluamodulesystem} %{ipynb} %{emojis} %{jirawikimarkup} %{unicodecollation} %{citeproc} %{commonmark} %{commonmarkextensions} %{commonmarkpandoc} %{hsluamodulepath}
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
# testsuite missing deps: tasty-golden tasty-lua
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
|
Version: 2.0.6
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 2.14.0.3
|
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
|
|
|
|
# Begin cabal-rpm sources:
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
Source1: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hsluamodulesystem}.tar.gz
|
|
|
|
|
Source2: https://hackage.haskell.org/package/%{ipynb}/%{ipynb}.tar.gz
|
|
|
|
|
Source3: https://hackage.haskell.org/package/%{emojis}/%{emojis}.tar.gz
|
|
|
|
|
Source4: https://hackage.haskell.org/package/%{jirawikimarkup}/%{jirawikimarkup}.tar.gz
|
|
|
|
|
Source5: https://hackage.haskell.org/package/%{citeproc}/%{citeproc}.tar.gz
|
|
|
|
|
Source6: https://hackage.haskell.org/package/%{commonmark}/%{commonmark}.tar.gz
|
|
|
|
|
Source7: https://hackage.haskell.org/package/%{commonmarkextensions}/%{commonmarkextensions}.tar.gz
|
|
|
|
|
Source8: https://hackage.haskell.org/package/%{commonmarkpandoc}/%{commonmarkpandoc}.tar.gz
|
|
|
|
|
Source9: https://hackage.haskell.org/package/%{hsluamodulepath}/%{hsluamodulepath}.tar.gz
|
|
|
|
|
Source10: https://hackage.haskell.org/package/%{unicodecollation}/%{unicodecollation}.tar.gz
|
|
|
|
|
# End cabal-rpm sources
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
BuildRequires: ghc-Glob-devel
|
|
|
|
|
BuildRequires: ghc-HTTP-devel
|
|
|
|
|
BuildRequires: ghc-JuicyPixels-devel
|
|
|
|
|
BuildRequires: ghc-SHA-devel
|
|
|
|
|
BuildRequires: ghc-aeson-devel
|
|
|
|
|
BuildRequires: ghc-aeson-pretty-devel
|
|
|
|
|
BuildRequires: ghc-base64-bytestring-devel
|
|
|
|
|
BuildRequires: ghc-binary-devel
|
|
|
|
|
BuildRequires: ghc-blaze-html-devel
|
|
|
|
|
BuildRequires: ghc-blaze-markup-devel
|
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
|
BuildRequires: ghc-case-insensitive-devel
|
|
|
|
|
BuildRequires: ghc-cmark-gfm-devel >= 0.2.3
|
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
|
BuildRequires: ghc-data-default-devel
|
|
|
|
|
BuildRequires: ghc-deepseq-devel
|
|
|
|
|
BuildRequires: ghc-directory-devel
|
|
|
|
|
BuildRequires: ghc-doctemplates-devel
|
|
|
|
|
BuildRequires: ghc-filepath-devel
|
|
|
|
|
BuildRequires: ghc-haddock-library-devel
|
|
|
|
|
BuildRequires: ghc-hslua-devel
|
|
|
|
|
BuildRequires: ghc-hslua-module-text-devel
|
|
|
|
|
BuildRequires: ghc-http-client-devel
|
|
|
|
|
BuildRequires: ghc-http-client-tls-devel
|
|
|
|
|
BuildRequires: ghc-http-types-devel
|
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
|
BuildRequires: ghc-network-devel
|
|
|
|
|
BuildRequires: ghc-network-uri-devel
|
|
|
|
|
BuildRequires: ghc-pandoc-types-devel
|
|
|
|
|
BuildRequires: ghc-parsec-devel
|
|
|
|
|
BuildRequires: ghc-process-devel
|
|
|
|
|
BuildRequires: ghc-random-devel
|
|
|
|
|
BuildRequires: ghc-safe-devel
|
|
|
|
|
BuildRequires: ghc-scientific-devel
|
|
|
|
|
BuildRequires: ghc-skylighting-devel
|
|
|
|
|
BuildRequires: ghc-split-devel
|
|
|
|
|
BuildRequires: ghc-syb-devel
|
|
|
|
|
BuildRequires: ghc-tagsoup-devel
|
|
|
|
|
BuildRequires: ghc-temporary-devel
|
|
|
|
|
BuildRequires: ghc-texmath-devel
|
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
|
BuildRequires: ghc-unix-devel
|
|
|
|
|
BuildRequires: ghc-unordered-containers-devel
|
|
|
|
|
BuildRequires: ghc-vector-devel
|
|
|
|
|
BuildRequires: ghc-xml-devel
|
|
|
|
|
BuildRequires: ghc-yaml-devel
|
|
|
|
|
BuildRequires: ghc-zip-archive-devel
|
|
|
|
|
BuildRequires: ghc-zlib-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-Diff-devel
|
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
|
BuildRequires: ghc-executable-path-devel
|
|
|
|
|
BuildRequires: ghc-tasty-devel
|
|
|
|
|
BuildRequires: ghc-tasty-golden-devel
|
|
|
|
|
BuildRequires: ghc-tasty-hunit-devel
|
|
|
|
|
BuildRequires: ghc-tasty-quickcheck-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
# added for F26
|
|
|
|
|
Obsoletes: pandoc-static < %{version}-%{release}
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
|
|
|
|
BuildRequires: ghc-Glob-prof
|
|
|
|
|
BuildRequires: ghc-HTTP-prof
|
|
|
|
|
BuildRequires: ghc-HsYAML-prof
|
|
|
|
|
BuildRequires: ghc-JuicyPixels-prof
|
|
|
|
|
BuildRequires: ghc-SHA-prof
|
|
|
|
|
BuildRequires: ghc-aeson-prof
|
|
|
|
|
BuildRequires: ghc-aeson-pretty-prof
|
|
|
|
|
BuildRequires: ghc-array-prof
|
|
|
|
|
BuildRequires: ghc-attoparsec-prof
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
BuildRequires: ghc-base64-bytestring-prof
|
|
|
|
|
BuildRequires: ghc-binary-prof
|
|
|
|
|
BuildRequires: ghc-blaze-html-prof
|
|
|
|
|
BuildRequires: ghc-blaze-markup-prof
|
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
|
BuildRequires: ghc-case-insensitive-prof
|
|
|
|
|
#BuildRequires: ghc-citeproc-prof
|
|
|
|
|
#BuildRequires: ghc-commonmark-prof
|
|
|
|
|
#BuildRequires: ghc-commonmark-extensions-prof
|
|
|
|
|
#BuildRequires: ghc-commonmark-pandoc-prof
|
|
|
|
|
BuildRequires: ghc-connection-prof
|
|
|
|
|
BuildRequires: ghc-containers-prof
|
|
|
|
|
BuildRequires: ghc-data-default-prof
|
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
|
BuildRequires: ghc-directory-prof
|
|
|
|
|
BuildRequires: ghc-doclayout-prof
|
|
|
|
|
BuildRequires: ghc-doctemplates-prof
|
|
|
|
|
#BuildRequires: ghc-emojis-prof
|
|
|
|
|
BuildRequires: ghc-exceptions-prof
|
|
|
|
|
BuildRequires: ghc-file-embed-prof
|
|
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
|
BuildRequires: ghc-haddock-library-prof
|
|
|
|
|
BuildRequires: ghc-hslua-prof
|
|
|
|
|
#BuildRequires: ghc-hslua-module-path-prof
|
|
|
|
|
#BuildRequires: ghc-hslua-module-system-prof
|
|
|
|
|
BuildRequires: ghc-hslua-module-text-prof
|
|
|
|
|
BuildRequires: ghc-http-client-prof
|
|
|
|
|
BuildRequires: ghc-http-client-tls-prof
|
|
|
|
|
BuildRequires: ghc-http-types-prof
|
|
|
|
|
#BuildRequires: ghc-ipynb-prof
|
|
|
|
|
#BuildRequires: ghc-jira-wiki-markup-prof
|
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
|
BuildRequires: ghc-network-prof
|
|
|
|
|
BuildRequires: ghc-network-uri-prof
|
|
|
|
|
BuildRequires: ghc-pandoc-types-prof
|
|
|
|
|
BuildRequires: ghc-parsec-prof
|
|
|
|
|
BuildRequires: ghc-process-prof
|
|
|
|
|
BuildRequires: ghc-random-prof
|
|
|
|
|
BuildRequires: ghc-safe-prof
|
|
|
|
|
BuildRequires: ghc-scientific-prof
|
|
|
|
|
BuildRequires: ghc-skylighting-prof
|
|
|
|
|
BuildRequires: ghc-skylighting-core-prof
|
|
|
|
|
BuildRequires: ghc-split-prof
|
|
|
|
|
BuildRequires: ghc-syb-prof
|
|
|
|
|
BuildRequires: ghc-tagsoup-prof
|
|
|
|
|
BuildRequires: ghc-temporary-prof
|
|
|
|
|
BuildRequires: ghc-texmath-prof
|
|
|
|
|
BuildRequires: ghc-text-prof
|
|
|
|
|
BuildRequires: ghc-text-conversions-prof
|
|
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
|
#BuildRequires: ghc-unicode-collation-prof
|
|
|
|
|
BuildRequires: ghc-unicode-transforms-prof
|
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
|
BuildRequires: ghc-unordered-containers-prof
|
|
|
|
|
BuildRequires: ghc-xml-prof
|
|
|
|
|
BuildRequires: ghc-xml-conduit-prof
|
|
|
|
|
BuildRequires: ghc-zip-archive-prof
|
|
|
|
|
BuildRequires: ghc-zlib-prof
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
# for missing dep 'citeproc':
|
|
|
|
|
BuildRequires: ghc-transformers-prof
|
|
|
|
|
BuildRequires: ghc-uniplate-prof
|
|
|
|
|
BuildRequires: ghc-vector-prof
|
|
|
|
|
# for missing dep 'commonmark':
|
|
|
|
|
BuildRequires: ghc-transformers-prof
|
|
|
|
|
# for missing dep 'commonmark-extensions':
|
|
|
|
|
BuildRequires: ghc-transformers-prof
|
|
|
|
|
# for missing dep 'unicode-collation':
|
|
|
|
|
BuildRequires: ghc-template-haskell-prof
|
|
|
|
|
BuildRequires: ghc-th-lift-instances-prof
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Pandoc is a Haskell library for converting from one markup format to another,
|
|
|
|
|
and a command-line tool that uses this library. It can read several dialects of
|
|
|
|
|
Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
|
|
|
|
|
MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0, Haddock markup,
|
|
|
|
|
OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Vimwiki, Word Docx, ODT, and
|
|
|
|
|
Textile, and it can write Markdown, reStructuredText, XHTML, HTML 5, LaTeX,
|
|
|
|
|
ConTeXt, DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, RTF,
|
|
|
|
|
MediaWiki, DokuWiki, ZimWiki, Textile, groff man, groff ms, plain text, Emacs
|
|
|
|
|
Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3), FictionBook2, InDesign
|
|
|
|
|
ICML, Muse, LaTeX beamer slides, PowerPoint, and several kinds of
|
|
|
|
|
HTML/JavaScript slide shows (S5, Slidy, Slideous, DZSlides, reveal.js).
|
|
|
|
|
MediaWiki markup, DokuWiki markup, TWiki markup, TikiWiki markup, Jira markup,
|
|
|
|
|
Creole 1.0, Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, ipynb
|
|
|
|
|
(Jupyter notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2, roff man,
|
|
|
|
|
Textile, BibTeX, BibLaTeX, CSL JSON, , and CSV, and it can write Markdown,
|
|
|
|
|
reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook, JATS, OPML, TEI,
|
|
|
|
|
OpenDocument, ODT, Word docx, PowerPoint pptx, RTF, MediaWiki, DokuWiki, XWiki,
|
|
|
|
|
ZimWiki, Textile, Jira, roff man, roff ms, plain text, Emacs Org-Mode,
|
|
|
|
|
AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb, FictionBook2, InDesign ICML,
|
|
|
|
|
Muse, CSL JSON, LaTeX beamer slides, and several kinds of HTML/JavaScript slide
|
|
|
|
|
shows (S5, Slidy, Slideous, DZSlides, reveal.js).
|
|
|
|
|
|
|
|
|
|
In contrast to most existing tools for converting Markdown to HTML, pandoc has
|
|
|
|
|
a modular design: it consists of a set of readers, which parse text in a given
|
|
|
|
@ -104,15 +146,18 @@ format and produce a native representation of the document, and a set of
|
|
|
|
|
writers, which convert this native representation into a target format.
|
|
|
|
|
Thus, adding an input or output format requires only adding a reader or writer.
|
|
|
|
|
|
|
|
|
|
For pdf output please also install pandoc-pdf.
|
|
|
|
|
For pdf output please also install pandoc-pdf or weasyprint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package common
|
|
|
|
|
Summary: Pandoc data files
|
|
|
|
|
Summary: %{name} common files
|
|
|
|
|
# templates are dual: GPLv2+ or BSD
|
|
|
|
|
# dzslides js and css: DWTFYWTPL
|
|
|
|
|
License: GPLv2+ and BSD
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description common
|
|
|
|
|
This package contains the common data files used by pandoc.
|
|
|
|
|
This package provides the %{name} common data files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}
|
|
|
|
@ -126,11 +171,9 @@ This package provides the Haskell %{name} shared library.
|
|
|
|
|
%package -n ghc-%{name}-devel
|
|
|
|
|
Summary: Haskell %{name} library development files
|
|
|
|
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
|
|
|
|
Provides: ghc-%{name}-doc = %{version}-%{release}
|
|
|
|
|
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if %{defined ghc_version}
|
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
|
%endif
|
|
|
|
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
@ -153,19 +196,71 @@ To use --latex-engine=xelatex or lualatex, install texlive-collection-xetex
|
|
|
|
|
or texlive-collection-luatex respectively.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with haddock}
|
|
|
|
|
%package -n ghc-%{name}-doc
|
|
|
|
|
Summary: Haskell %{name} library documentation
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: ghc-filesystem
|
|
|
|
|
|
|
|
|
|
%description -n ghc-%{name}-doc
|
|
|
|
|
This package provides the Haskell %{name} library documentation.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
|
%package -n ghc-%{name}-prof
|
|
|
|
|
Summary: Haskell %{name} profiling library
|
|
|
|
|
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Supplements: (ghc-%{name}-devel and ghc-prof)
|
|
|
|
|
|
|
|
|
|
%description -n ghc-%{name}-prof
|
|
|
|
|
This package provides the Haskell %{name} profiling library.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
|
%ghc_lib_subpackage %{hsluamodulesystem}
|
|
|
|
|
%ghc_lib_subpackage %{ipynb}
|
|
|
|
|
%ghc_lib_subpackage %{emojis}
|
|
|
|
|
%ghc_lib_subpackage %{jirawikimarkup}
|
|
|
|
|
%ghc_lib_subpackage %{citeproc}
|
|
|
|
|
%ghc_lib_subpackage %{commonmark}
|
|
|
|
|
%ghc_lib_subpackage %{commonmarkextensions}
|
|
|
|
|
%ghc_lib_subpackage %{commonmarkpandoc}
|
|
|
|
|
%ghc_lib_subpackage %{hsluamodulepath}
|
|
|
|
|
%ghc_lib_subpackage %{unicodecollation}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
cabal-tweak-dep-ver cmark-gfm '< 0.2' '< 0.3'
|
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10
|
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Begin cabal-rpm build:
|
|
|
|
|
%ghc_libs_build %{subpkgs}
|
|
|
|
|
%ifarch armv7hl
|
|
|
|
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965121
|
|
|
|
|
# [101 of 166] Compiling Text.Pandoc.Writers.LaTeX
|
|
|
|
|
# ghc: out of memory (requested 1048576 bytes)
|
|
|
|
|
%define cabal_configure_options --ghc-options="-O0"
|
|
|
|
|
%endif
|
|
|
|
|
%ghc_lib_build
|
|
|
|
|
# End cabal-rpm build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
# Begin cabal-rpm install
|
|
|
|
|
%ghc_libs_install %{subpkgs}
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
%ghc_fix_rpath %{pkgver}
|
|
|
|
|
mv %{buildroot}%{_ghclicensedir}/{,ghc-}%{name}
|
|
|
|
|
mv %{buildroot}%{_ghcdocdir}{,-common}
|
|
|
|
|
# End cabal-rpm install
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{_datadir}/%{pkgver}/COPYRIGHT
|
|
|
|
|
|
|
|
|
@ -173,52 +268,137 @@ ln -s pandoc %{buildroot}%{_bindir}/hsmarkdown
|
|
|
|
|
|
|
|
|
|
install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
echo %{_bindir}/jira-wiki-markup >> %{jirawikimarkup}/ghc-jira-wiki-markup.files
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
|
touch %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
|
|
|
|
|
|
|
|
|
%post -n ghc-%{name}-devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n ghc-%{name}-devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
%post
|
|
|
|
|
%{_bindir}/%{name} --bash-completion > %{_datadir}/bash-completion/completions/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING.md COPYRIGHT
|
|
|
|
|
%doc BUGS README* changelog
|
|
|
|
|
%attr(755,root,root) %{_bindir}/%{name}
|
|
|
|
|
%attr(-,root,root) %{_bindir}/hsmarkdown
|
|
|
|
|
%attr(644,root,root) %{_mandir}/man1/pandoc.1*
|
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
# End cabal-rpm files
|
|
|
|
|
%{_bindir}/hsmarkdown
|
|
|
|
|
%{_mandir}/man1/pandoc.1*
|
|
|
|
|
%ghost %{_datadir}/bash-completion/completions/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files common
|
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
|
%license COPYING.md
|
|
|
|
|
%doc AUTHORS.md BUGS CONTRIBUTING.md README.md changelog.md
|
|
|
|
|
%{_datadir}/%{pkgver}
|
|
|
|
|
|
|
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
|
%files pdf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
|
|
%license COPYING.md COPYRIGHT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with haddock}
|
|
|
|
|
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
|
|
|
|
%license COPYING.md
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
|
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Apr 14 2022 Jens Petersen <petersen@redhat.com> - 2.0.6-6
|
|
|
|
|
- rebuild with ghc-cmark-gfm-0.2.3 for CVE-2022-24724 (#2074997)
|
|
|
|
|
- https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x
|
|
|
|
|
* Sat Aug 19 2023 Alexey Lyubimov <a.lyubimov@msvsphere.ru> - 2.14.0.3-16
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0.3-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 2.14.0.3-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Orion Poplawski <orion@nwra.com> - 2.14.0.3-14
|
|
|
|
|
- Fix path in %%post
|
|
|
|
|
|
|
|
|
|
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.14.0.3-13
|
|
|
|
|
- update to 2.14.0.3
|
|
|
|
|
|
|
|
|
|
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.11.4-12
|
|
|
|
|
- update to 2.11.4
|
|
|
|
|
- drop base-noprelude
|
|
|
|
|
|
|
|
|
|
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.9.2.1-11
|
|
|
|
|
- create bash-completion file in post-install
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2.1-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2.1-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Sep 19 21:12:58 +08 2020 Jens Petersen <petersen@redhat.com> - 2.9.2.1-8
|
|
|
|
|
- rebuild for cmark-gfm-0.2.2: fixes exponential parse (#1854329)
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2.1-7
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 14 2020 Jens Petersen <petersen@redhat.com> - 2.0.6-5
|
|
|
|
|
- rebuild with ghc-cmark-gfm-0.2.2 (#1865911)
|
|
|
|
|
* Fri Jun 19 2020 Jens Petersen <petersen@redhat.com> - 2.9.2.1-5
|
|
|
|
|
- https://hackage.haskell.org/package/pandoc-2.9.2.1/changelog
|
|
|
|
|
- subpackage base-noprelude
|
|
|
|
|
- bitarray and unicode-transforms were packaged
|
|
|
|
|
|
|
|
|
|
* Wed Dec 12 2018 Jens Petersen <petersen@redhat.com> - 2.0.6-4
|
|
|
|
|
- link executable statically to its Haskell deps for portability (#1657278)
|
|
|
|
|
- add common subpackage for shared data files
|
|
|
|
|
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 2.9.1.1-4
|
|
|
|
|
- https://hackage.haskell.org/package/pandoc-2.9.1.1/changelog
|
|
|
|
|
- new deps: doclayout, emojis, jira-wiki-markup, text-conversions
|
|
|
|
|
|
|
|
|
|
* Sun Feb 23 2020 Jens Petersen <petersen@redhat.com> - 2.7.3-3
|
|
|
|
|
- https://pandoc.org/releases.html#pandoc-2.7.3-2019-06-11
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Jens Petersen <petersen@redhat.com> - 2.5-1
|
|
|
|
|
- update to 2.5
|
|
|
|
|
- subpackage HsYAML, unicode-transforms, bitarray
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 2.2.1-1
|
|
|
|
|
- update to 2.2.1
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Oct 24 2018 Jens Petersen <petersen@redhat.com> - 2.1.2-2
|
|
|
|
|
- rebuild for static executable
|
|
|
|
|
- resurrect common subpackage
|
|
|
|
|
|
|
|
|
|
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 2.1.2-1
|
|
|
|
|
- update to 2.1.2
|
|
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.6-7
|
|
|
|
|
- Enable annotated build again
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.6-6
|
|
|
|
|
- Rebuilt for #1607054
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 1 2018 Jens Petersen <petersen@redhat.com> - 2.0.6-4
|
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 31 2018 Jens Petersen <petersen@redhat.com> - 2.0.6-3
|
|
|
|
|
- no longer subpackage cmark-gfm and hslua-module-text
|
|
|
|
|