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

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