dhodovsk / source-git / ghc-aeson

Forked from source-git/ghc-aeson 4 years ago
Clone

Blame SPECS/ghc-aeson.spec

Packit 2661ca
# generated by cabal-rpm-0.12.1
Packit 2661ca
# https://fedoraproject.org/wiki/Packaging:Haskell
Packit 2661ca
Packit 2661ca
%global pkg_name aeson
Packit 2661ca
%global pkgver %{pkg_name}-%{version}
Packit 2661ca
Packit 2661ca
%bcond_with tests
Packit 2661ca
Packit 2661ca
Name:           ghc-%{pkg_name}
Packit 2661ca
Version:        1.2.3.0
Packit 2661ca
Release:        2%{?dist}
Packit 2661ca
Summary:        Fast JSON parsing and encoding
Packit 2661ca
Packit 2661ca
License:        BSD
Packit 2661ca
Url:            https://hackage.haskell.org/package/%{pkg_name}
Packit 2661ca
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Packit 2661ca
Packit 2661ca
BuildRequires:  ghc-Cabal-devel
Packit 2661ca
BuildRequires:  ghc-rpm-macros
Packit 2661ca
# Begin cabal-rpm deps:
Packit 2661ca
BuildRequires:  ghc-attoparsec-devel
Packit 2661ca
BuildRequires:  ghc-base-compat-devel
Packit 2661ca
BuildRequires:  ghc-bytestring-devel
Packit 2661ca
BuildRequires:  ghc-containers-devel
Packit 2661ca
BuildRequires:  ghc-deepseq-devel
Packit 2661ca
BuildRequires:  ghc-dlist-devel
Packit 2661ca
BuildRequires:  ghc-hashable-devel
Packit 2661ca
BuildRequires:  ghc-scientific-devel
Packit 2661ca
BuildRequires:  ghc-tagged-devel
Packit 2661ca
BuildRequires:  ghc-template-haskell-devel
Packit 2661ca
BuildRequires:  ghc-text-devel
Packit 2661ca
BuildRequires:  ghc-th-abstraction-devel
Packit 2661ca
BuildRequires:  ghc-time-devel
Packit 2661ca
BuildRequires:  ghc-time-locale-compat-devel
Packit 2661ca
BuildRequires:  ghc-unordered-containers-devel
Packit 2661ca
BuildRequires:  ghc-uuid-types-devel
Packit 2661ca
BuildRequires:  ghc-vector-devel
Packit 2661ca
%if %{with tests}
Packit 2661ca
BuildRequires:  ghc-HUnit-devel
Packit 2661ca
BuildRequires:  ghc-QuickCheck-devel
Packit 2661ca
BuildRequires:  ghc-base-orphans-devel
Packit 2661ca
BuildRequires:  ghc-base16-bytestring-devel
Packit 2661ca
BuildRequires:  ghc-directory-devel
Packit 2661ca
BuildRequires:  ghc-filepath-devel
Packit 2661ca
BuildRequires:  ghc-generic-deriving-devel
Packit 2661ca
BuildRequires:  ghc-hashable-time-devel
Packit 2661ca
BuildRequires:  ghc-integer-logarithms-devel
Packit 2661ca
BuildRequires:  ghc-quickcheck-instances-devel
Packit 2661ca
BuildRequires:  ghc-test-framework-devel
Packit 2661ca
BuildRequires:  ghc-test-framework-hunit-devel
Packit 2661ca
BuildRequires:  ghc-test-framework-quickcheck2-devel
Packit 2661ca
%endif
Packit 2661ca
# End cabal-rpm deps
Packit 2661ca
Packit 2661ca
%description
Packit 2661ca
A JSON parsing and encoding library optimized for ease of use and
Packit 2661ca
high performance.  Aeson was the father of Jason in Greek mythology.
Packit 2661ca
Packit 2661ca
Packit 2661ca
%package devel
Packit 2661ca
Summary:        Haskell %{pkg_name} library development files
Packit 2661ca
Provides:       %{name}-static = %{version}-%{release}
Packit 2661ca
Provides:       %{name}-doc = %{version}-%{release}
Packit 2661ca
%if %{defined ghc_version}
Packit 2661ca
Requires:       ghc-compiler = %{ghc_version}
Packit 2661ca
Requires(post): ghc-compiler = %{ghc_version}
Packit 2661ca
Requires(postun): ghc-compiler = %{ghc_version}
Packit 2661ca
%endif
Packit 2661ca
Requires:       %{name}%{?_isa} = %{version}-%{release}
Packit 2661ca
Packit 2661ca
%description devel
Packit 2661ca
This package provides the Haskell %{pkg_name} library development files.
Packit 2661ca
Packit 2661ca
Packit 2661ca
%prep
Packit 2661ca
%setup -q -n %{pkgver}
Packit 2661ca
Packit 2661ca
Packit 2661ca
%build
Packit 2661ca
%ghc_lib_build
Packit 2661ca
Packit 2661ca
Packit 2661ca
%install
Packit 2661ca
%ghc_lib_install
Packit 2661ca
Packit 2661ca
Packit 2661ca
%check
Packit 2661ca
%cabal_test
Packit 2661ca
Packit 2661ca
Packit 2661ca
%post devel
Packit 2661ca
%ghc_pkg_recache
Packit 2661ca
Packit 2661ca
Packit 2661ca
%postun devel
Packit 2661ca
%ghc_pkg_recache
Packit 2661ca
Packit 2661ca
Packit 2661ca
%files -f %{name}.files
Packit 2661ca
%license LICENSE
Packit 2661ca
Packit 2661ca
Packit 2661ca
%files devel -f %{name}-devel.files
Packit 2661ca
%doc README.markdown changelog.md examples
Packit 2661ca
Packit 2661ca
Packit 2661ca
%changelog
Packit 2661ca
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3.0-2
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.2.3.0-1
Packit 2661ca
- update to 1.2.3.0
Packit 2661ca
Packit 2661ca
* Fri Jan 12 2018 Jens Petersen <petersen@redhat.com> - 1.0.2.1-8
Packit 2661ca
- time-locale-compat is now packaged
Packit 2661ca
Packit 2661ca
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2.1-7
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2.1-6
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Tue Feb 21 2017 Jens Petersen <petersen@redhat.com> - 1.0.2.1-5
Packit 2661ca
- update to 1.0.2.1
Packit 2661ca
- subpackage time-locale-compat
Packit 2661ca
Packit 2661ca
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.2-5
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.2-4
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Mon Aug 31 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.8.0.2-3
Packit 2661ca
- Rebuild (aarch64 vector hashes)
Packit 2661ca
Packit 2661ca
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0.2-2
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Mon Jan 26 2015 Jens Petersen <petersen@redhat.com> - 0.8.0.2-1
Packit 2661ca
- update to 0.8.0.2
Packit 2661ca
Packit 2661ca
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2.1-4
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2.1-3
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Sun Apr 20 2014 Jens Petersen <petersen@redhat.com> - 0.6.2.1-2
Packit 2661ca
- disable TH module on arch's without ghci
Packit 2661ca
Packit 2661ca
* Wed Jan 22 2014 Jens Petersen <petersen@redhat.com> - 0.6.2.1-1
Packit 2661ca
- update to 0.6.2.1
Packit 2661ca
Packit 2661ca
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1.0-3
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.0-2
Packit 2661ca
- update to new simplified Haskell Packaging Guidelines
Packit 2661ca
Packit 2661ca
* Mon Mar 11 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.0-1
Packit 2661ca
- update to 0.6.1.0
Packit 2661ca
Packit 2661ca
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0.2-6
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-5
Packit 2661ca
- update with cabal-rpm
Packit 2661ca
Packit 2661ca
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0.2-4
Packit 2661ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Packit 2661ca
Packit 2661ca
* Thu Jun 21 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-3
Packit 2661ca
- rebuild
Packit 2661ca
Packit 2661ca
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-2
Packit 2661ca
- rebuild
Packit 2661ca
Packit 2661ca
* Sun May  6 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.2-1
Packit 2661ca
- update to 0.6.0.2
Packit 2661ca
- build needs ghci
Packit 2661ca
Packit 2661ca
* Sat Mar 24 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.0-2
Packit 2661ca
- depends on dlist for ghc > 7.2
Packit 2661ca
Packit 2661ca
* Mon Feb 27 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.0-1
Packit 2661ca
- BSD license
Packit 2661ca
- doc files
Packit 2661ca
Packit 2661ca
* Mon Feb 27 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
Packit 2661ca
- spec file template generated by cabal2spec-0.25.4