Initial import (#1485493).
parent
7b2ec38626
commit
fef0924a38
@ -0,0 +1 @@
|
||||
/base-orphans-0.6.tar.gz
|
@ -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
|
Loading…
Reference in new issue