Blame ghc-singleton-bool.spec

dfcee72
# generated by cabal-rpm-2.0.7
dfcee72
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
dfcee72
dfcee72
%global pkg_name singleton-bool
dfcee72
%global pkgver %{pkg_name}-%{version}
dfcee72
dfcee72
Name:           ghc-%{pkg_name}
dfcee72
Version:        0.1.5
96957dc
Release:        8%{?dist}
dfcee72
Summary:        Type level booleans
dfcee72
dfcee72
License:        BSD
dfcee72
Url:            https://hackage.haskell.org/package/%{pkg_name}
dfcee72
# Begin cabal-rpm sources:
dfcee72
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
dfcee72
Source1:        https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
dfcee72
# End cabal-rpm sources
dfcee72
dfcee72
# Begin cabal-rpm deps:
dfcee72
BuildRequires:  ghc-Cabal-devel
dfcee72
BuildRequires:  ghc-rpm-macros
dfcee72
BuildRequires:  ghc-base-prof
dfcee72
BuildRequires:  ghc-dec-prof
dfcee72
# End cabal-rpm deps
dfcee72
dfcee72
%description
dfcee72
Type level booleans.
dfcee72
dfcee72
'singletons' package provides similar functionality, but it has tight
dfcee72
dependency constraints.
dfcee72
dfcee72
dfcee72
%package devel
dfcee72
Summary:        Haskell %{pkg_name} library development files
dfcee72
Provides:       %{name}-static = %{version}-%{release}
dfcee72
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
dfcee72
%if %{defined ghc_version}
dfcee72
Requires:       ghc-compiler = %{ghc_version}
dfcee72
%endif
dfcee72
Requires:       %{name}%{?_isa} = %{version}-%{release}
dfcee72
dfcee72
%description devel
dfcee72
This package provides the Haskell %{pkg_name} library development files.
dfcee72
dfcee72
dfcee72
%if %{with haddock}
dfcee72
%package doc
dfcee72
Summary:        Haskell %{pkg_name} library documentation
dfcee72
BuildArch:      noarch
dfcee72
dfcee72
%description doc
dfcee72
This package provides the Haskell %{pkg_name} library documentation.
dfcee72
%endif
dfcee72
dfcee72
dfcee72
%if %{with ghc_prof}
dfcee72
%package prof
dfcee72
Summary:        Haskell %{pkg_name} profiling library
dfcee72
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
dfcee72
Supplements:    (%{name}-devel and ghc-prof)
dfcee72
dfcee72
%description prof
dfcee72
This package provides the Haskell %{pkg_name} profiling library.
dfcee72
%endif
dfcee72
dfcee72
dfcee72
%prep
dfcee72
# Begin cabal-rpm setup:
dfcee72
%setup -q -n %{pkgver}
dfcee72
cp -bp %{SOURCE1} %{pkg_name}.cabal
dfcee72
chmod a-x CHANGELOG.md README.md
dfcee72
# End cabal-rpm setup
dfcee72
dfcee72
dfcee72
%build
dfcee72
# Begin cabal-rpm build:
dfcee72
%ghc_lib_build
dfcee72
# End cabal-rpm build
dfcee72
dfcee72
dfcee72
%install
dfcee72
# Begin cabal-rpm install
dfcee72
%ghc_lib_install
dfcee72
# End cabal-rpm install
dfcee72
dfcee72
dfcee72
%files -f %{name}.files
dfcee72
# Begin cabal-rpm files:
dfcee72
%license LICENSE
dfcee72
# End cabal-rpm files
dfcee72
dfcee72
dfcee72
%files devel -f %{name}-devel.files
dfcee72
%doc CHANGELOG.md README.md
dfcee72
dfcee72
dfcee72
%if %{with haddock}
dfcee72
%files doc -f %{name}-doc.files
dfcee72
%license LICENSE
dfcee72
%endif
dfcee72
dfcee72
dfcee72
%if %{with ghc_prof}
dfcee72
%files prof -f %{name}-prof.files
dfcee72
%endif
dfcee72
dfcee72
dfcee72
%changelog
96957dc
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-8
96957dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
96957dc
285c936
* Tue Mar 23 2021 Jens Petersen <petersen@redhat.com> - 0.1.5-7
285c936
- bump over ghc-servant
285c936
dfcee72
* Tue Feb  2 2021 Jens Petersen <petersen@redhat.com> - 0.1.5-1
dfcee72
- spec file generated by cabal-rpm-2.0.7