|
|
@ -21,7 +21,6 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{p
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
|
|
|
BuildRequires: ghc-Glob-devel
|
|
|
|
BuildRequires: ghc-Glob-devel
|
|
|
|
BuildRequires: ghc-HTTP-devel
|
|
|
|
BuildRequires: ghc-HTTP-devel
|
|
|
|
BuildRequires: ghc-JuicyPixels-devel
|
|
|
|
BuildRequires: ghc-JuicyPixels-devel
|
|
|
@ -81,10 +80,10 @@ BuildRequires: ghc-tasty-golden-devel
|
|
|
|
BuildRequires: ghc-tasty-hunit-devel
|
|
|
|
BuildRequires: ghc-tasty-hunit-devel
|
|
|
|
BuildRequires: ghc-tasty-quickcheck-devel
|
|
|
|
BuildRequires: ghc-tasty-quickcheck-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# added for F26
|
|
|
|
# added for F26
|
|
|
|
Obsoletes: pandoc-static < %{version}-%{release}
|
|
|
|
Obsoletes: pandoc-static < %{version}-%{release}
|
|
|
|
Requires: pandoc-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Pandoc is a Haskell library for converting from one markup format to another,
|
|
|
|
Pandoc is a Haskell library for converting from one markup format to another,
|
|
|
@ -109,16 +108,19 @@ For pdf output please also install pandoc-pdf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package common
|
|
|
|
%package common
|
|
|
|
Summary: Pandoc data files
|
|
|
|
Summary: %{name} common files
|
|
|
|
|
|
|
|
# templates are dual: GPLv2+ or BSD
|
|
|
|
|
|
|
|
# dzslides js and css: DWTFYWTPL
|
|
|
|
|
|
|
|
License: GPLv2+ and BSD
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description common
|
|
|
|
%description common
|
|
|
|
This package contains the common data files used by pandoc.
|
|
|
|
This package provides the %{name} common data files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}
|
|
|
|
%package -n ghc-%{name}
|
|
|
|
Summary: Haskell %{name} library
|
|
|
|
Summary: Haskell %{name} library
|
|
|
|
Requires: pandoc-common = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n ghc-%{name}
|
|
|
|
%description -n ghc-%{name}
|
|
|
|
This package provides the Haskell %{name} shared library.
|
|
|
|
This package provides the Haskell %{name} shared library.
|
|
|
@ -155,8 +157,9 @@ or texlive-collection-luatex respectively.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
cp -p %{SOURCE1} %{name}.cabal
|
|
|
|
cp -bp %{SOURCE1} %{name}.cabal
|
|
|
|
# End cabal-rpm setup
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -169,6 +172,7 @@ cp -p %{SOURCE1} %{name}.cabal
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
# Begin cabal-rpm install
|
|
|
|
# Begin cabal-rpm install
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
mv %{buildroot}%{_ghcdocdir}{,-common}
|
|
|
|
# End cabal-rpm install
|
|
|
|
# End cabal-rpm install
|
|
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{_datadir}/%{pkgver}/COPYRIGHT
|
|
|
|
rm %{buildroot}%{_datadir}/%{pkgver}/COPYRIGHT
|
|
|
@ -192,24 +196,24 @@ install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
%license COPYING.md COPYRIGHT
|
|
|
|
|
|
|
|
%doc AUTHORS.md BUGS CONTRIBUTING.md README.md
|
|
|
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
# End cabal-rpm files
|
|
|
|
# End cabal-rpm files
|
|
|
|
%attr(-,root,root) %{_bindir}/hsmarkdown
|
|
|
|
%{_bindir}/hsmarkdown
|
|
|
|
%attr(644,root,root) %{_mandir}/man1/pandoc.1*
|
|
|
|
%{_mandir}/man1/pandoc.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files common
|
|
|
|
%files common
|
|
|
|
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
|
|
|
|
%license COPYING.md
|
|
|
|
|
|
|
|
%doc AUTHORS.md BUGS CONTRIBUTING.md README.md changelog
|
|
|
|
%{_datadir}/%{pkgver}
|
|
|
|
%{_datadir}/%{pkgver}
|
|
|
|
|
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
|
|
|
%files pdf
|
|
|
|
%files pdf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
%license COPYING.md COPYRIGHT
|
|
|
|
|
|
|
|
# End cabal-rpm files
|
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|