summaryrefslogtreecommitdiff
path: root/pandoc-cli.spec
blob: 293613265241e33a2adb907c2e0245b24c8b0001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Name:           pandoc-cli
Version:        0.1.1.1
Release:        1
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-base-devel
BuildRequires:  ghc-base-prof
BuildRequires:  ghc-hslua-cli-devel
BuildRequires:  ghc-hslua-cli-prof
BuildRequires:  ghc-pandoc-devel
BuildRequires:  ghc-pandoc-lua-engine-devel
BuildRequires:  ghc-pandoc-lua-engine-prof
BuildRequires:  ghc-pandoc-prof
BuildRequires:  ghc-pandoc-server-devel
BuildRequires:  ghc-pandoc-server-prof
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-safe-devel
BuildRequires:  ghc-safe-prof
BuildRequires:  ghc-temporary-devel
BuildRequires:  ghc-temporary-prof
BuildRequires:  ghc-text-devel
BuildRequires:  ghc-text-prof
BuildRequires:  ghc-wai-extra-devel
BuildRequires:  ghc-wai-extra-prof
BuildRequires:  ghc-warp-devel
BuildRequires:  ghc-warp-prof
Requires:       ghc-pandoc >= 3.0
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
%define cabal_configure_options -f+lua -f+server
%ghc_bin_build

%install
%ghc_bin_install

%files
%license COPYING.md
%{_bindir}/pandoc

%changelog
* Thu Sep 28 2023 Lin Runze <lrzlin@163.com> 0.1.1.1-1
- Initial packaging (Version 0.1.1.1)