17e7df
# generated by cabal-rpm-0.13
30a140
# https://fedoraproject.org/wiki/Packaging:Haskell
30a140
30a140
%global pkg_name aeson-pretty
aa290a
%global pkgver %{pkg_name}-%{version}
30a140
30a140
Name:           ghc-%{pkg_name}
478da2
Version:        0.8.7
17e7df
Release:        3%{?dist}
30a140
Summary:        JSON pretty-printing library
30a140
30a140
License:        BSD
3f55f0
Url:            https://hackage.haskell.org/package/%{pkg_name}
17e7df
# Begin cabal-rpm sources:
aa290a
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
17e7df
# End cabal-rpm sources
30a140
17e7df
# Begin cabal-rpm deps:
30a140
BuildRequires:  ghc-Cabal-devel
30a140
BuildRequires:  ghc-rpm-macros
30a140
BuildRequires:  ghc-aeson-devel
30a140
BuildRequires:  ghc-attoparsec-devel
450f4f
BuildRequires:  ghc-base-compat-devel
30a140
BuildRequires:  ghc-bytestring-devel
30a140
BuildRequires:  ghc-cmdargs-devel
450f4f
BuildRequires:  ghc-scientific-devel
30a140
BuildRequires:  ghc-text-devel
30a140
BuildRequires:  ghc-unordered-containers-devel
30a140
BuildRequires:  ghc-vector-devel
30a140
# End cabal-rpm deps
30a140
30a140
%description
30a140
A JSON pretty-printing library compatible with aeson as well as a command-line
30a140
tool to improve readabilty of streams of JSON data.
30a140
30a140
The library provides the function "encodePretty". It is a drop-in replacement
30a140
for aeson's "encode" function, producing JSON-ByteStrings for human readers.
30a140
30a140
The command-line tool reads JSON from stdin and writes prettified JSON to
30a140
stdout. It also offers a complementary "compact"-mode, essentially the opposite
30a140
of pretty-printing.
30a140
30a140
30a140
%package devel
30a140
Summary:        Haskell %{pkg_name} library development files
30a140
Provides:       %{name}-static = %{version}-%{release}
313bf4
Provides:       %{name}-doc = %{version}-%{release}
313bf4
%if %{defined ghc_version}
30a140
Requires:       ghc-compiler = %{ghc_version}
30a140
Requires(post): ghc-compiler = %{ghc_version}
30a140
Requires(postun): ghc-compiler = %{ghc_version}
313bf4
%endif
30a140
Requires:       %{name}%{?_isa} = %{version}-%{release}
30a140
30a140
%description devel
30a140
This package provides the Haskell %{pkg_name} library development files.
30a140
30a140
30a140
%prep
17e7df
# Begin cabal-rpm setup:
aa290a
%setup -q -n %{pkgver}
17e7df
# End cabal-rpm setup
30a140
30a140
30a140
%build
17e7df
# Begin cabal-rpm build:
30a140
%ghc_lib_build
17e7df
# End cabal-rpm build
30a140
30a140
30a140
%install
17e7df
# Begin cabal-rpm install
30a140
%ghc_lib_install
17e7df
# End cabal-rpm install
30a140
30a140
30a140
%post devel
30a140
%ghc_pkg_recache
30a140
30a140
30a140
%postun devel
30a140
%ghc_pkg_recache
30a140
30a140
30a140
%files -f %{name}.files
17e7df
# Begin cabal-rpm files:
7d97ae
%license LICENSE
17e7df
# End cabal-rpm files
30a140
30a140
30a140
%files devel -f %{name}-devel.files
30a140
%doc README.markdown
3f55f0
%{_bindir}/%{pkg_name}
30a140
30a140
30a140
%changelog
17e7df
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.8.7-3
17e7df
- refresh to cabal-rpm-0.13
17e7df
93cad3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-2
93cad3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
93cad3
478da2
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.8.7-1
478da2
- update to 0.8.7
478da2
5bef99
* Tue Jul 24 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.5-5
5bef99
- Enable annotated build again
5bef99
9d8765
* Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.5-4
9d8765
- Rebuilt for #1607054
9d8765
1ee860
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-3
1ee860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1ee860
e2d8ea
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-2
e2d8ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e2d8ea
becd3d
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.8.5-1
becd3d
- update to 0.8.5
becd3d
8c2a12
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-5
8c2a12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8c2a12
521409
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-4
521409
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
521409
aa290a
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.8.2-3
aa290a
- refresh to cabal-rpm-0.11.1
aa290a
6d5050
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
6d5050
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6d5050
450f4f
* Wed Oct 05 2016 Jens Petersen <petersen@redhat.com> - 0.8.2-1
450f4f
- update to 0.8.2
450f4f
7d97ae
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.7.2-1
7d97ae
- update to 0.7.2
7d97ae
d02013
* Tue Apr 26 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.1-7
d02013
- Rebuild for ghc(cmdargs)
d02013
5001ca
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
5001ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5001ca
a9c94c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-5
a9c94c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a9c94c
3f55f0
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.7.1-4
3f55f0
- update urls
3f55f0
e2be0f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
e2be0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e2be0f
9d20ae
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-2
9d20ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9d20ae
30a140
* Mon Jan 27 2014 Jens Petersen <petersen@redhat.com> - 0.7.1-1
30a140
- package the tool in devel subpackage
30a140
- simpler summary and description
30a140
30a140
* Mon Jan 27 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.7.1
30a140
- spec file generated by cabal-rpm-0.8.8