You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
4.5 KiB
149 lines
4.5 KiB
# generated by cabal-rpm-0.12.5
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
%global pkg_name aeson-pretty
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 0.8.7
|
|
Release: 1%{?dist}
|
|
Summary: JSON pretty-printing library
|
|
|
|
License: BSD
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
# Begin cabal-rpm deps:
|
|
BuildRequires: chrpath
|
|
BuildRequires: ghc-aeson-devel
|
|
BuildRequires: ghc-attoparsec-devel
|
|
BuildRequires: ghc-base-compat-devel
|
|
BuildRequires: ghc-bytestring-devel
|
|
BuildRequires: ghc-cmdargs-devel
|
|
BuildRequires: ghc-scientific-devel
|
|
BuildRequires: ghc-text-devel
|
|
BuildRequires: ghc-unordered-containers-devel
|
|
BuildRequires: ghc-vector-devel
|
|
# End cabal-rpm deps
|
|
|
|
%description
|
|
A JSON pretty-printing library compatible with aeson as well as a command-line
|
|
tool to improve readabilty of streams of JSON data.
|
|
|
|
The library provides the function "encodePretty". It is a drop-in replacement
|
|
for aeson's "encode" function, producing JSON-ByteStrings for human readers.
|
|
|
|
The command-line tool reads JSON from stdin and writes prettified JSON to
|
|
stdout. It also offers a complementary "compact"-mode, essentially the opposite
|
|
of pretty-printing.
|
|
|
|
|
|
%package devel
|
|
Summary: Haskell %{pkg_name} library development files
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
Provides: %{name}-doc = %{version}-%{release}
|
|
%if %{defined ghc_version}
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
%endif
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
|
%build
|
|
%ghc_lib_build
|
|
|
|
|
|
%install
|
|
%ghc_lib_install
|
|
%ghc_fix_rpath %{pkgver}
|
|
|
|
|
|
%post devel
|
|
%ghc_pkg_recache
|
|
|
|
|
|
%postun devel
|
|
%ghc_pkg_recache
|
|
|
|
|
|
%files -f %{name}.files
|
|
%license LICENSE
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
%doc README.markdown
|
|
%{_bindir}/%{pkg_name}
|
|
|
|
|
|
%changelog
|
|
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.8.7-1
|
|
- update to 0.8.7
|
|
|
|
* Tue Jul 24 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.5-5
|
|
- Enable annotated build again
|
|
|
|
* Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.5-4
|
|
- Rebuilt for #1607054
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.8.5-1
|
|
- update to 0.8.5
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.8.2-3
|
|
- refresh to cabal-rpm-0.11.1
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Wed Oct 05 2016 Jens Petersen <petersen@redhat.com> - 0.8.2-1
|
|
- update to 0.8.2
|
|
|
|
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.7.2-1
|
|
- update to 0.7.2
|
|
|
|
* Tue Apr 26 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.1-7
|
|
- Rebuild for ghc(cmdargs)
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.7.1-4
|
|
- update urls
|
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Mon Jan 27 2014 Jens Petersen <petersen@redhat.com> - 0.7.1-1
|
|
- package the tool in devel subpackage
|
|
- simpler summary and description
|
|
|
|
* Mon Jan 27 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.7.1
|
|
- spec file generated by cabal-rpm-0.8.8
|