automatic version update by autodist [release 3.1.9-1mamba;Sun Dec 03 2023]

This commit is contained in:
Automatic Build System 2024-01-05 22:53:12 +01:00
parent eb23637b52
commit a9a89306e9

View File

@ -1,121 +1,238 @@
%define ghc_ver %(ghc --numeric-version) %define ghc_ver %(ghc --numeric-version)
%define pkgname pandoc %define pkg_name pandoc
Name: ghc-pandoc Name: ghc-pandoc
Version: 1.13.2 Version: 3.1.9
Release: 1mamba Release: 1mamba
Summary: GHC library and command-line tool for converting from one markup format to another Summary: GHC library and command-line tool for converting from one markup format to another
Group: Applications/Publishing Group: Applications/Publishing
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://hackage.haskell.org/package/%{pkgname} URL: https://hackage.haskell.org/package/%{pkg_name}
Source: http://hackage.haskell.org/package/pandoc-%{version}/pandoc-%{version}.tar.gz Source: https://hackage.haskell.org/package/pandoc-%{version}/pandoc-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: ghc-Glob-devel
BuildRequires: ghc-JuicyPixels-devel
BuildRequires: ghc-OneTuple-devel
BuildRequires: ghc-Only-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-SHA-devel
BuildRequires: ghc-StateVar-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-pretty-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-ansi-terminal-types-devel
BuildRequires: ghc-appar-devel
BuildRequires: ghc-asn1-encoding-devel
BuildRequires: ghc-asn1-parse-devel
BuildRequires: ghc-asn1-types-devel
BuildRequires: ghc-assoc-devel
BuildRequires: ghc-async-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-base-orphans-devel
BuildRequires: ghc-base16-bytestring-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-base64-devel
BuildRequires: ghc-basement-devel
BuildRequires: ghc-bifunctors-devel
BuildRequires: ghc-bitvec-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-blaze-html-devel
BuildRequires: ghc-blaze-markup-devel
BuildRequires: ghc-byteorder-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-cassava-devel
BuildRequires: ghc-cereal-devel
BuildRequires: ghc-citeproc-devel
BuildRequires: ghc-colour-devel
BuildRequires: ghc-commonmark-devel
BuildRequires: ghc-commonmark-extensions-devel
BuildRequires: ghc-commonmark-pandoc-devel
BuildRequires: ghc-comonad-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel
BuildRequires: ghc-contravariant-devel
BuildRequires: ghc-cookie-devel
BuildRequires: ghc-crypton-connection-devel
BuildRequires: ghc-crypton-devel
BuildRequires: ghc-crypton-x509-devel
BuildRequires: ghc-crypton-x509-store-devel
BuildRequires: ghc-crypton-x509-system-devel
BuildRequires: ghc-crypton-x509-validation-devel
BuildRequires: ghc-data-default-class-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-data-default-instances-containers-devel
BuildRequires: ghc-data-default-instances-dlist-devel
BuildRequires: ghc-data-default-instances-old-locale-devel
BuildRequires: ghc-data-fix-devel
BuildRequires: ghc-digest-devel
BuildRequires: ghc-digits-devel
BuildRequires: ghc-distributive-devel
BuildRequires: ghc-dlist-devel
BuildRequires: ghc-doclayout-devel
BuildRequires: ghc-doctemplates-devel
BuildRequires: ghc-emojis-devel
BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-foldable1-classes-compat-devel
BuildRequires: ghc-generically-devel
BuildRequires: ghc-gridtables-devel
BuildRequires: ghc-haddock-library-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-haskell-lexer-devel
BuildRequires: ghc-hourglass-devel
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-client-tls-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-indexed-traversable-devel
BuildRequires: ghc-indexed-traversable-instances-devel
BuildRequires: ghc-integer-conversion-devel
BuildRequires: ghc-integer-logarithms-devel
BuildRequires: ghc-iproute-devel
BuildRequires: ghc-ipynb-devel
BuildRequires: ghc-jira-wiki-markup-devel
BuildRequires: ghc-libs
BuildRequires: ghc-libyaml-devel
BuildRequires: ghc-memory-devel
BuildRequires: ghc-mime-types-devel
BuildRequires: ghc-mono-traversable-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-ordered-containers-devel
BuildRequires: ghc-pandoc-types-devel
BuildRequires: ghc-pem-devel
BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-prettyprinter-devel
BuildRequires: ghc-primitive-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-regex-base-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-safe-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-semialign-devel
BuildRequires: ghc-semigroupoids-devel
BuildRequires: ghc-skylighting-core-devel
BuildRequires: ghc-skylighting-devel
BuildRequires: ghc-skylighting-format-ansi-devel
BuildRequires: ghc-skylighting-format-blaze-html-devel
BuildRequires: ghc-skylighting-format-context-devel
BuildRequires: ghc-skylighting-format-latex-devel
BuildRequires: ghc-socks-devel
BuildRequires: ghc-split-devel
BuildRequires: ghc-splitmix-devel
BuildRequires: ghc-streaming-commons-devel
BuildRequires: ghc-strict-devel
BuildRequires: ghc-syb-devel
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-tagsoup-devel
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-texmath-devel
BuildRequires: ghc-text-conversions-devel
BuildRequires: ghc-text-iso8601-devel
BuildRequires: ghc-text-short-devel
BuildRequires: ghc-th-abstraction-devel
BuildRequires: ghc-th-compat-devel
BuildRequires: ghc-th-lift-devel
BuildRequires: ghc-th-lift-instances-devel
BuildRequires: ghc-these-devel
BuildRequires: ghc-time-compat-devel
BuildRequires: ghc-tls-devel
BuildRequires: ghc-toml-parser-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-typed-process-devel
BuildRequires: ghc-typst-devel
BuildRequires: ghc-typst-symbols-devel
BuildRequires: ghc-unicode-collation-devel
BuildRequires: ghc-unicode-data-devel
BuildRequires: ghc-unicode-transforms-devel
BuildRequires: ghc-uniplate-devel
BuildRequires: ghc-unix-time-devel
BuildRequires: ghc-unliftio-core-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-uuid-types-devel
BuildRequires: ghc-vector-algorithms-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-stream-devel
BuildRequires: ghc-witherable-devel
BuildRequires: ghc-xml-conduit-devel
BuildRequires: ghc-xml-devel
BuildRequires: ghc-xml-types-devel
BuildRequires: ghc-yaml-devel
BuildRequires: ghc-zip-archive-devel
BuildRequires: ghc-zlib-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgmp-devel BuildRequires: libgmp-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: ghc BuildRequires: ghc >= 9
BuildRequires: haskell-platform
BuildRequires: ghc-blaze-html
BuildRequires: ghc-citeproc-hs
BuildRequires: ghc-extensible-exceptions
BuildRequires: ghc-pandoc-types
BuildRequires: ghc-data-default
BuildRequires: ghc-json
BuildRequires: ghc-xml
BuildRequires: ghc-temporary
BuildRequires: ghc-tagsoup
BuildRequires: ghc-highlighting-kate
BuildRequires: ghc-texmath
BuildRequires: ghc-base64-bytestring
BuildRequires: ghc-zip-archive
BuildRequires: hscolour
BuildRequires: haskell-platform
BuildRequires: ghc-yaml
BuildRequires: ghc-hslua
BuildRequires: ghc-haddock-library
BuildRequires: ghc-SHA
BuildRequires: ghc-JuicyPixels
BuildRequires: ghc-data-default
Requires: ghc-blaze-html
Requires: ghc-citeproc-hs
Requires: ghc-extensible-exceptions
Requires: ghc-pandoc-types
Requires: ghc-data-default
Requires: ghc-json
Requires: ghc-xml
Requires: ghc-temporary
Requires: ghc-tagsoup
Requires: ghc-highlighting-kate
Requires: ghc-texmath
Requires: ghc-base64-bytestring
Requires: ghc-zip-archive
Requires: ghc-yaml
Requires: ghc-hslua
Requires: ghc-haddock-library
Requires: ghc-SHA
Requires: ghc-JuicyPixels
Requires: ghc-data-default
Requires: ghc = %{ghc_ver} Requires: ghc = %{ghc_ver}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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 markdown and (subsets of) reStructuredText, HTML, Textile, DocBook, and LaTeX, and it can write markdown, reStructuredText, Textile, HTML, LaTeX, ConTeXt, Docbook XML, OpenDocument XML, GNU Texinfo, Emacs Org-mode, RTF, ODT, MediaWiki markup, groff man pages, EPUB, and S5 and Slidy HTML slide shows. 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 markdown and (subsets of) reStructuredText, HTML, Textile, DocBook, and LaTeX, and it can write markdown, reStructuredText, Textile, HTML, LaTeX, ConTeXt, Docbook XML, OpenDocument XML, GNU Texinfo, Emacs Org-mode, RTF, ODT, MediaWiki markup, groff man pages, EPUB, and S5 and Slidy HTML slide shows.
Pandoc extends standard markdown syntax with footnotes, embedded LaTeX, definition lists, tables, and many other features. A compatibility mode is provided for those who need a drop-in replacement for Markdown.pl. Pandoc extends standard markdown syntax with footnotes, embedded LaTeX, definition lists, tables, and many other features. A compatibility mode is provided for those who need a drop-in replacement for Markdown.pl.
In contrast to existing tools for converting markdown to HTML, which use regex substitutions, pandoc has a modular design: it consists of a set of readers, which parse text in a given 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. In contrast to existing tools for converting markdown to HTML, which use regex substitutions, pandoc has a modular design: it consists of a set of readers, which parse text in a given 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.
%package -n %{pkgname} %package devel
Group: Applications/Development Summary: Haskell %{pkg_name} library development files
Summary: A command-line tool for converting from one markup format to another Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc = %{ghc_version}
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n %{pkgname} %description devel
A command-line tool for converting from one markup format to another. This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
%description doc
This package provides the Haskell %{pkg_name} library documentation.
%endif
%prep %prep
%setup -q -n %{pkgname}-%{version} %setup -q -n pandoc-%{version}
%build %build
runghc Setup.hs configure -v2 \ %ghc_lib_build
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--docdir=%{_docdir}/%{name}-%{version}
runghc Setup.hs build
runghc Setup.hs haddock
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %ghc_lib_install
runghc Setup.hs copy --destdir=%{buildroot}
runghc Setup.hs register \ rm -f %{buildroot}%{_ghclicensedir}/%{name}/COPYING.md
--gen-pkg-config="%{buildroot}%{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf"
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %files -f %{name}.files
ghc-pkg register %{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version}/%{pkgname}-%{version}.conf &>/dev/null || :
%preun
ghc-pkg unregister %{pkgname}-%{version} || :
%files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/ghc-%{ghc_ver}/%{pkgname}-%{version} %dir %{_datadir}/pandoc-%{version}
%dir %{_docdir}/%{name}-%{version} %{_datadir}/pandoc-%{version}/*
%{_docdir}/%{name}-%{version}/COPYING %license COPYING.md
%{_docdir}/%{name}-%{version}/html
%files -n %{pkgname} %files devel -f %{name}-devel.files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pandoc %doc README.md
%{_datadir}/%{pkgname}-%{version}
%if %{with haddock}
%files doc -f %{name}-doc.files
%defattr(-,root,root)
%license COPYING.md
%endif
%changelog %changelog
* Sun Dec 03 2023 Automatic Build System <autodist@mambasoft.it> 3.1.9-1mamba
- automatic version update by autodist
* Sun Apr 12 2015 Davide Madrisan <davide.madrisan@gmail.com> 1.13.2-1mamba * Sun Apr 12 2015 Davide Madrisan <davide.madrisan@gmail.com> 1.13.2-1mamba
- update to 1.13.2 - update to 1.13.2