Initial import (#1486508).

This commit is contained in:
Elliott Sales de Andrade 2017-08-31 15:58:06 -04:00
parent bb22f297e7
commit 8c8c861048
4 changed files with 117 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/aeson-compat-0.3.7.1.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-aeson-compat
The ghc-aeson-compat package

115
ghc-aeson-compat.spec Normal file
View File

@ -0,0 +1,115 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name aeson-compat
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.3.7.1
Release: 2.git.0.320efa9%{?dist}
Summary: Compatibility layer for aeson
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: ghc-aeson-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-attoparsec-iso8601-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-locale-compat-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-base-orphans-devel
BuildRequires: ghc-quickcheck-instances-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-quickcheck-devel
%endif
# End cabal-rpm deps
%description
Compatibility layer for 'aeson'.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
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
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc CHANGELOG.md README.md
%changelog
* Wed Aug 30 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.7.1-2
- Update to latest version.
- Update to latest spec template.
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.7-2
- Fix patch for build dependencies.
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.7-1
- Update to latest version.
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.6-1
- Update to later version.
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.2.0-4
- Patch out ghc-nats dependency
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.2.0-3
- Update release to be newer than previous builds
* Fri Dec 16 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.2.0-1
- spec file generated by cabal-rpm-0.10.0

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (aeson-compat-0.3.7.1.tar.gz) = 47a9c1148cad6ac14455306579ff658192479eb6bc2132bb2204b94b3c89d8ad99b3d7600354d6a49922867f8d9226acf35107f225ab2b46d3e4c298a3ca7369