Initial import (#1485493).

This commit is contained in:
Elliott Sales de Andrade 2017-08-28 19:51:59 -04:00
parent 7b2ec38626
commit fef0924a38
4 changed files with 102 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/base-orphans-0.6.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-base-orphans
The ghc-base-orphans package

100
ghc-base-orphans.spec Normal file
View File

@ -0,0 +1,100 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name base-orphans
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.6
Release: 1.git.0.db5c088%{?dist}
Summary: Backwards-compatible orphan instances for base
License: MIT
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:
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-hspec-devel
%endif
# End cabal-rpm deps
%description
'base-orphans' defines orphan instances that mimic instances available in later
versions of 'base' to a wider (older) range of compilers.
'base-orphans' does not export anything except the orphan instances themselves
and complements '<http://hackage.haskell.org/package/base-compat base-compat>'.
See the README for what instances are covered:
<https://github.com/haskell-compat/base-orphans#readme>. See also the
<https://github.com/haskell-compat/base-orphans#what-is-not-covered what is not
covered> section.
%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 CHANGES.markdown README.markdown
%changelog
* Sat Aug 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.6-1
- Update to latest version.
- Update to latest spec template.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.5.4-4
- Re-add dist tag to release numbers.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.5.4-3
- Bump for Fedora 26.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com>
- Bump release for Fedora 26.
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.4-2
- Update release to be newer than previous builds
* Fri Dec 16 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.5.4-1
- spec file generated by cabal-rpm-0.10.0

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (base-orphans-0.6.tar.gz) = 925c1fa075413654c20c32bbe15e613a79aa3dcf6aeec9402c828c050c55bf9078d8acef522c82b792a9792ccb1bfb4d56dce4ffe03d5047c83a05ef123fa402