# # spec file for package pandoc-cli # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: pandoc-cli Version: 0.1 Release: 0 Summary: Conversion between documentation formats License: GPL-2.0-or-later URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-hslua-cli-devel BuildRequires: ghc-pandoc-devel BuildRequires: ghc-pandoc-lua-engine-devel BuildRequires: ghc-pandoc-server-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-safe-devel BuildRequires: ghc-text-devel BuildRequires: ghc-wai-extra-devel BuildRequires: ghc-warp-devel Provides: pandoc = 3.0.1 Obsoletes: pandoc < 3 ExcludeArch: %{ix86} %description Pandoc-cli provides a command-line executable that uses the pandoc library to convert between markup formats. %prep %autosetup %build %ghc_bin_build %install %ghc_bin_install %files %license COPYING.md %{_bindir}/pandoc %changelog