|
|
|
@ -1,22 +1,25 @@
|
|
|
|
|
# generated by cabal-rpm-2.0.6 --subpackage
|
|
|
|
|
# generated by cabal-rpm-2.0.9 --subpackage
|
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
|
|
%global pkg_name pandoc
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%global hsluamodulesystem hslua-module-system-0.2.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.1.4
|
|
|
|
|
%global basenoprelude base-noprelude-4.13.0.0
|
|
|
|
|
%global subpkgs %{hsluamodulesystem} %{ipynb} %{emojis} %{jirawikimarkup} %{basenoprelude}
|
|
|
|
|
%global jirawikimarkup jira-wiki-markup-1.3.4
|
|
|
|
|
%global citeproc citeproc-0.3.0.9
|
|
|
|
|
%global commonmark commonmark-0.1.1.4
|
|
|
|
|
%global commonmarkextensions commonmark-extensions-0.2.0.4
|
|
|
|
|
%global commonmarkpandoc commonmark-pandoc-0.2.0.1
|
|
|
|
|
%global subpkgs %{hsluamodulesystem} %{ipynb} %{emojis} %{jirawikimarkup} %{citeproc} %{commonmark} %{commonmarkextensions} %{commonmarkpandoc}
|
|
|
|
|
|
|
|
|
|
# testsuite missing deps: base-noprelude tasty-golden tasty-lua
|
|
|
|
|
# testsuite missing deps: tasty-golden tasty-lua
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
|
Version: 2.9.2.1
|
|
|
|
|
Version: 2.11.4
|
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
@ -27,7 +30,10 @@ Source1: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hslua
|
|
|
|
|
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/%{basenoprelude}/%{basenoprelude}.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
|
|
|
|
|
# End cabal-rpm sources
|
|
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
@ -41,15 +47,18 @@ BuildRequires: ghc-SHA-prof
|
|
|
|
|
BuildRequires: ghc-aeson-prof
|
|
|
|
|
BuildRequires: ghc-aeson-pretty-prof
|
|
|
|
|
BuildRequires: ghc-attoparsec-prof
|
|
|
|
|
BuildRequires: ghc-base-compat-prof
|
|
|
|
|
#BuildRequires: ghc-base-noprelude-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-cmark-gfm-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
|
|
|
|
@ -58,6 +67,7 @@ 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
|
|
|
|
@ -90,27 +100,20 @@ BuildRequires: ghc-time-prof
|
|
|
|
|
BuildRequires: ghc-unicode-transforms-prof
|
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
|
BuildRequires: ghc-unordered-containers-prof
|
|
|
|
|
BuildRequires: ghc-vector-prof
|
|
|
|
|
BuildRequires: ghc-xml-prof
|
|
|
|
|
BuildRequires: ghc-zip-archive-prof
|
|
|
|
|
BuildRequires: ghc-zlib-prof
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
# for missing dep 'hslua-module-system':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'ipynb':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'emojis':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'jira-wiki-markup':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'base-noprelude':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'doclayout':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'text-conversions':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
BuildRequires: ghc-base16-bytestring-prof
|
|
|
|
|
BuildRequires: ghc-errors-prof
|
|
|
|
|
# for missing dep 'citeproc':
|
|
|
|
|
BuildRequires: ghc-rfc5051-prof
|
|
|
|
|
BuildRequires: ghc-transformers-prof
|
|
|
|
|
BuildRequires: ghc-uniplate-prof
|
|
|
|
|
BuildRequires: ghc-vector-prof
|
|
|
|
|
BuildRequires: ghc-xml-conduit-prof
|
|
|
|
|
# for missing dep 'commonmark':
|
|
|
|
|
BuildRequires: ghc-transformers-prof
|
|
|
|
|
# for missing dep 'commonmark-extensions':
|
|
|
|
|
BuildRequires: ghc-transformers-prof
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -120,13 +123,13 @@ Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
|
|
|
|
|
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, 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, LaTeX beamer slides, and
|
|
|
|
|
several kinds of HTML/JavaScript slide shows (S5, Slidy, Slideous, DZSlides,
|
|
|
|
|
reveal.js).
|
|
|
|
|
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
|
|
|
|
@ -188,6 +191,7 @@ or texlive-collection-luatex respectively.
|
|
|
|
|
%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.
|
|
|
|
@ -212,7 +216,10 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
|
%ghc_lib_subpackage %{ipynb}
|
|
|
|
|
%ghc_lib_subpackage %{emojis}
|
|
|
|
|
%ghc_lib_subpackage %{jirawikimarkup}
|
|
|
|
|
%ghc_lib_subpackage -m %{basenoprelude}
|
|
|
|
|
%ghc_lib_subpackage %{citeproc}
|
|
|
|
|
%ghc_lib_subpackage %{commonmark}
|
|
|
|
|
%ghc_lib_subpackage %{commonmarkextensions}
|
|
|
|
|
%ghc_lib_subpackage %{commonmarkpandoc}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
@ -220,7 +227,7 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5
|
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8
|
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -252,8 +259,6 @@ 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
|
|
|
|
|
mv %{buildroot}%{_defaultlicensedir}/ghc-base-noprelude{,-devel}
|
|
|
|
|
echo "%%license %{basenoprelude}/LICENSE" >> %{basenoprelude}/ghc-base-noprelude-devel.files
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
|
touch %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
|
|
|
@ -300,7 +305,11 @@ touch %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.9.2.1-10
|
|
|
|
|
* 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
|
|
|
|
|