2023-01-22 17:29:35 +00:00
|
|
|
# generated by cabal-rpm-2.1.0
|
2020-06-04 11:27:38 +00:00
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
%global pkg_name pandoc-types
|
2017-02-22 01:54:46 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
2020-06-19 08:56:15 +00:00
|
|
|
# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2
|
|
|
|
|
2011-05-11 08:35:41 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2023-07-23 16:35:00 +00:00
|
|
|
Version: 1.23.0.1
|
2023-02-16 05:34:39 +00:00
|
|
|
Release: %autorelease
|
2013-06-05 08:17:25 +00:00
|
|
|
Summary: Types for representing a structured document
|
2011-05-11 08:35:41 +00:00
|
|
|
|
2023-01-22 17:29:35 +00:00
|
|
|
License: BSD-3-Clause
|
2015-01-26 02:58:39 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
2019-02-17 14:46:34 +00:00
|
|
|
# Begin cabal-rpm sources:
|
2017-02-22 01:54:46 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2019-02-17 14:46:34 +00:00
|
|
|
# End cabal-rpm sources
|
2012-11-17 15:36:35 +00:00
|
|
|
|
2019-02-17 14:46:34 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2011-05-11 08:43:59 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-17 15:36:35 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
2023-01-22 17:29:35 +00:00
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
BuildRequires: ghc-aeson-devel
|
|
|
|
BuildRequires: ghc-base-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-deepseq-devel
|
|
|
|
BuildRequires: ghc-syb-devel
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
%if %{with ghc_prof}
|
2019-08-05 10:30:58 +00:00
|
|
|
BuildRequires: ghc-QuickCheck-prof
|
|
|
|
BuildRequires: ghc-aeson-prof
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
BuildRequires: ghc-containers-prof
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
BuildRequires: ghc-syb-prof
|
2020-06-10 03:39:24 +00:00
|
|
|
BuildRequires: ghc-text-prof
|
2019-08-05 10:30:58 +00:00
|
|
|
BuildRequires: ghc-transformers-prof
|
2023-01-22 17:29:35 +00:00
|
|
|
%endif
|
2012-11-17 15:36:35 +00:00
|
|
|
# End cabal-rpm deps
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
%description
|
2013-06-05 08:17:25 +00:00
|
|
|
This package contains definitions for the Pandoc data structure, which
|
|
|
|
is used by pandoc to represent structured documents. These definitions
|
|
|
|
used to live in the pandoc package, but they have been split off, so
|
|
|
|
that other packages can use them without drawing in all of pandoc's
|
|
|
|
dependencies, and pandoc itself can depend on packages (like
|
|
|
|
citeproc-hs) that use them.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
2014-04-20 02:56:57 +00:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2019-08-05 10:30:58 +00:00
|
|
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
2018-01-24 13:11:42 +00:00
|
|
|
%if %{defined ghc_version}
|
2013-06-05 08:17:25 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
2018-01-24 13:11:42 +00:00
|
|
|
%endif
|
2014-04-20 02:56:57 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-06-05 08:17:25 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
|
2019-07-25 04:25:02 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%package doc
|
|
|
|
Summary: Haskell %{pkg_name} library documentation
|
2020-02-08 14:51:22 +00:00
|
|
|
BuildArch: noarch
|
2021-07-07 16:30:12 +00:00
|
|
|
Requires: ghc-filesystem
|
2019-07-25 04:25:02 +00:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package provides the Haskell %{pkg_name} library documentation.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%package prof
|
|
|
|
Summary: Haskell %{pkg_name} profiling library
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2020-02-08 14:51:22 +00:00
|
|
|
Supplements: (%{name}-devel and ghc-prof)
|
2019-07-25 04:25:02 +00:00
|
|
|
|
|
|
|
%description prof
|
|
|
|
This package provides the Haskell %{pkg_name} profiling library.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2011-05-11 08:35:41 +00:00
|
|
|
%prep
|
2019-02-17 14:46:34 +00:00
|
|
|
# Begin cabal-rpm setup:
|
2017-02-22 01:54:46 +00:00
|
|
|
%setup -q -n %{pkgver}
|
2019-02-17 14:46:34 +00:00
|
|
|
# End cabal-rpm setup
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2019-02-17 14:46:34 +00:00
|
|
|
# Begin cabal-rpm build:
|
2011-05-11 08:35:41 +00:00
|
|
|
%ghc_lib_build
|
2019-02-17 14:46:34 +00:00
|
|
|
# End cabal-rpm build
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-02-17 14:46:34 +00:00
|
|
|
# Begin cabal-rpm install
|
2011-05-11 08:35:41 +00:00
|
|
|
%ghc_lib_install
|
2019-02-17 14:46:34 +00:00
|
|
|
# End cabal-rpm install
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
|
2013-06-05 08:17:25 +00:00
|
|
|
%files -f %{name}.files
|
2019-02-17 14:46:34 +00:00
|
|
|
# Begin cabal-rpm files:
|
2016-03-05 15:21:56 +00:00
|
|
|
%license LICENSE
|
2019-02-17 14:46:34 +00:00
|
|
|
# End cabal-rpm files
|
2012-01-05 05:22:55 +00:00
|
|
|
|
2013-06-05 08:17:25 +00:00
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
2016-07-01 22:34:44 +00:00
|
|
|
%doc changelog
|
2011-05-11 08:35:41 +00:00
|
|
|
|
|
|
|
|
2019-07-25 04:25:02 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%files doc -f %{name}-doc.files
|
2020-02-08 14:51:22 +00:00
|
|
|
%license LICENSE
|
2019-07-25 04:25:02 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%files prof -f %{name}-prof.files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2011-05-11 08:35:41 +00:00
|
|
|
%changelog
|
2023-02-16 05:34:39 +00:00
|
|
|
%autochangelog
|