|
|
@ -4,26 +4,19 @@
|
|
|
|
%global pkg_name pandoc
|
|
|
|
%global pkg_name pandoc
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%global cmarkgfm cmark-gfm-0.1.3
|
|
|
|
|
|
|
|
%global hsluamoduletext hslua-module-text-0.1.2.1
|
|
|
|
|
|
|
|
%global subpkgs %{cmarkgfm} %{hsluamoduletext}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Version: 2.0.6
|
|
|
|
Version: 2.0.6
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
Source1: https://hackage.haskell.org/package/%{cmarkgfm}/%{cmarkgfm}.tar.gz
|
|
|
|
|
|
|
|
Source2: https://hackage.haskell.org/package/%{hsluamoduletext}/%{hsluamoduletext}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: ghc-Glob-devel
|
|
|
|
BuildRequires: ghc-Glob-devel
|
|
|
@ -38,7 +31,7 @@ BuildRequires: ghc-blaze-html-devel
|
|
|
|
BuildRequires: ghc-blaze-markup-devel
|
|
|
|
BuildRequires: ghc-blaze-markup-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-case-insensitive-devel
|
|
|
|
BuildRequires: ghc-case-insensitive-devel
|
|
|
|
#BuildRequires: ghc-cmark-gfm-devel
|
|
|
|
BuildRequires: ghc-cmark-gfm-devel
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-data-default-devel
|
|
|
|
BuildRequires: ghc-data-default-devel
|
|
|
|
BuildRequires: ghc-deepseq-devel
|
|
|
|
BuildRequires: ghc-deepseq-devel
|
|
|
@ -47,7 +40,7 @@ BuildRequires: ghc-doctemplates-devel
|
|
|
|
BuildRequires: ghc-filepath-devel
|
|
|
|
BuildRequires: ghc-filepath-devel
|
|
|
|
BuildRequires: ghc-haddock-library-devel
|
|
|
|
BuildRequires: ghc-haddock-library-devel
|
|
|
|
BuildRequires: ghc-hslua-devel
|
|
|
|
BuildRequires: ghc-hslua-devel
|
|
|
|
#BuildRequires: ghc-hslua-module-text-devel
|
|
|
|
BuildRequires: ghc-hslua-module-text-devel
|
|
|
|
BuildRequires: ghc-http-client-devel
|
|
|
|
BuildRequires: ghc-http-client-devel
|
|
|
|
BuildRequires: ghc-http-client-tls-devel
|
|
|
|
BuildRequires: ghc-http-client-tls-devel
|
|
|
|
BuildRequires: ghc-http-types-devel
|
|
|
|
BuildRequires: ghc-http-types-devel
|
|
|
@ -148,27 +141,15 @@ To use --latex-engine=xelatex or lualatex, install texlive-collection-xetex
|
|
|
|
or texlive-collection-luatex respectively.
|
|
|
|
or texlive-collection-luatex respectively.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{cmarkgfm}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{hsluamoduletext}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -a1 -a2
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%ghc_libs_build %{subpkgs}
|
|
|
|
|
|
|
|
%ghc_lib_build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%ghc_libs_install %{subpkgs}
|
|
|
|
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_fix_rpath %{pkgver}
|
|
|
|
%ghc_fix_rpath %{pkgver}
|
|
|
|
mv %{buildroot}%{_ghclicensedir}/{,ghc-}%{name}
|
|
|
|
mv %{buildroot}%{_ghclicensedir}/{,ghc-}%{name}
|
|
|
@ -212,6 +193,9 @@ install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu May 31 2018 Jens Petersen <petersen@redhat.com> - 2.0.6-3
|
|
|
|
|
|
|
|
- no longer subpackage cmark-gfm and hslua-module-text
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|