Blob Blame History Raw
# generated by cabal-rpm-2.0.9

%global pkg_name dhall-json
%global pkgver %{pkg_name}-%{version}

# testsuite missing deps: tasty-silver

Name:           %{pkg_name}
Version:        1.7.7
Release:        4%{?dist}
Summary:        Convert between Dhall and JSON or YAML

License:        BSD
Url:  {name}
# Begin cabal-rpm sources:
# End cabal-rpm sources

# Begin cabal-rpm deps:
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-aeson-prof
BuildRequires:  ghc-aeson-pretty-prof
BuildRequires:  ghc-aeson-yaml-prof
BuildRequires:  ghc-ansi-terminal-prof
BuildRequires:  ghc-base-prof
BuildRequires:  ghc-bytestring-prof
BuildRequires:  ghc-containers-prof
BuildRequires:  ghc-dhall-prof
BuildRequires:  ghc-exceptions-prof
BuildRequires:  ghc-filepath-prof
BuildRequires:  ghc-lens-family-core-prof
BuildRequires:  ghc-optparse-applicative-prof
BuildRequires:  ghc-prettyprinter-prof
BuildRequires:  ghc-prettyprinter-ansi-terminal-prof
BuildRequires:  ghc-scientific-prof
BuildRequires:  ghc-text-prof
BuildRequires:  ghc-unordered-containers-prof
BuildRequires:  ghc-vector-prof
# End cabal-rpm deps

Use this package if you want to convert between Dhall expressions and JSON or
YAML. You can use this package as a library or an executable:

* See the "Dhall.JSON" or "Dhall.JSONToDhall" modules if you want to use this
package as a library

* Use the 'dhall-to-json', 'dhall-to-yaml', or 'json-to-dhall' programs from
this package if you want an executable

The "Dhall.JSON" and "Dhall.JSONToDhall" modules also contains instructions for
how to use this package.

%package -n ghc-%{name}
Summary:        Haskell %{name} library

%description -n ghc-%{name}
This package provides the Haskell %{name} shared library.

%package -n ghc-%{name}-devel
Summary:        Haskell %{name} library development files
Provides:       ghc-%{name}-static = %{version}-%{release}
Provides:       ghc-%{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires:       ghc-compiler = %{ghc_version}
Requires:       ghc-%{name}%{?_isa} = %{version}-%{release}

%description -n ghc-%{name}-devel
This package provides the Haskell %{name} library development files.

%if %{with haddock}
%package -n ghc-%{name}-doc
Summary:        Haskell %{name} library documentation
BuildArch:      noarch
Requires:       ghc-filesystem

%description -n ghc-%{name}-doc
This package provides the Haskell %{name} library documentation.

%if %{with ghc_prof}
%package -n ghc-%{name}-prof
Summary:        Haskell %{name} profiling library
Requires:       ghc-%{name}-devel%{?_isa} = %{version}-%{release}
Supplements:    (ghc-%{name}-devel and ghc-prof)

%description -n ghc-%{name}-prof
This package provides the Haskell %{name} profiling library.

# Begin cabal-rpm setup:
%setup -q
# End cabal-rpm setup

# Begin cabal-rpm build:
# End cabal-rpm build

# Begin cabal-rpm install
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
%{buildroot}%{_bindir}/dhall-to-json --bash-completion-script dhall-to-json | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/dhall-to-json
%{buildroot}%{_bindir}/dhall-to-yaml --bash-completion-script dhall-to-yaml | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/dhall-to-yaml
%{buildroot}%{_bindir}/json-to-dhall --bash-completion-script json-to-dhall | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/json-to-dhall
# End cabal-rpm install

# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files

%files -n ghc-%{name} -f ghc-%{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files

%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files

%if %{with haddock}
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
%license LICENSE

%if %{with ghc_prof}
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files

* Fri Jun 17 2022 Jens Petersen <> - 1.7.7-4
- rebuild

* Thu Jan 20 2022 Fedora Release Engineering <> - 1.7.7-3
- Rebuilt for

* Sat Jan 08 2022 Miro HronĨok <> - 1.7.7-2
- Rebuilt for

* Thu Aug  5 2021 Jens Petersen <> - 1.7.7-1
- update to 1.7.7

* Thu Aug  5 2021 Jens Petersen <> - 1.7.4-1
- update to 1.7.4

* Wed Jul 21 2021 Fedora Release Engineering <> - 1.6.4-4
- Rebuilt for

* Tue Jan 26 2021 Fedora Release Engineering <> - 1.6.4-3
- Rebuilt for

* Sun Oct  4 2020 Jens Petersen <> - 1.6.4-2
- enable bash completions

* Tue Sep  1 2020 Jens Petersen <> - 1.6.4-1
- spec file generated by cabal-rpm-2.0.6