Blame SPECS/ghc-data-default-instances-containers.spec

6cbd0f
# generated by cabal-rpm-0.12
6cbd0f
# https://fedoraproject.org/wiki/Packaging:Haskell
6cbd0f
6cbd0f
%global pkg_name data-default-instances-containers
6cbd0f
%global pkgver %{pkg_name}-%{version}
6cbd0f
6cbd0f
Name:           ghc-%{pkg_name}
6cbd0f
Version:        0.0.1
6cbd0f
Release:        6%{?dist}
6cbd0f
Summary:        Default instances for types in containers
6cbd0f
6cbd0f
License:        BSD
6cbd0f
Url:            https://hackage.haskell.org/package/%{pkg_name}
6cbd0f
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
6cbd0f
6cbd0f
BuildRequires:  ghc-Cabal-devel
6cbd0f
BuildRequires:  ghc-rpm-macros
6cbd0f
# Begin cabal-rpm deps:
6cbd0f
BuildRequires:  ghc-containers-devel
6cbd0f
BuildRequires:  ghc-data-default-class-devel
6cbd0f
# End cabal-rpm deps
6cbd0f
6cbd0f
%description
6cbd0f
Default instances for types in containers.
6cbd0f
6cbd0f
6cbd0f
%package devel
6cbd0f
Summary:        Haskell %{pkg_name} library development files
6cbd0f
Provides:       %{name}-static = %{version}-%{release}
6cbd0f
Provides:       %{name}-doc = %{version}-%{release}
6cbd0f
%if %{defined ghc_version}
6cbd0f
Requires:       ghc-compiler = %{ghc_version}
6cbd0f
Requires(post): ghc-compiler = %{ghc_version}
6cbd0f
Requires(postun): ghc-compiler = %{ghc_version}
6cbd0f
%endif
6cbd0f
Requires:       %{name}%{?_isa} = %{version}-%{release}
6cbd0f
6cbd0f
%description devel
6cbd0f
This package provides the Haskell %{pkg_name} library
6cbd0f
development files.
6cbd0f
6cbd0f
6cbd0f
%prep
6cbd0f
%setup -q -n %{pkgver}
6cbd0f
6cbd0f
6cbd0f
%build
6cbd0f
%ghc_lib_build
6cbd0f
6cbd0f
6cbd0f
%install
6cbd0f
%ghc_lib_install
6cbd0f
6cbd0f
6cbd0f
%post devel
6cbd0f
%ghc_pkg_recache
6cbd0f
6cbd0f
6cbd0f
%postun devel
6cbd0f
%ghc_pkg_recache
6cbd0f
6cbd0f
6cbd0f
%files -f %{name}.files
6cbd0f
%license LICENSE
6cbd0f
6cbd0f
6cbd0f
%files devel -f %{name}-devel.files
6cbd0f
6cbd0f
6cbd0f
%changelog
6cbd0f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-6
6cbd0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6cbd0f
6cbd0f
* Sun Jan 28 2018 Jens Petersen <petersen@redhat.com> - 0.0.1-5
6cbd0f
- bump release over data-default
6cbd0f
6cbd0f
* Sat Jan 27 2018 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0.1-1
6cbd0f
- spec file generated by cabal-rpm-0.12