Blame ghc-git-lfs.spec

f5ebd30
# generated by cabal-rpm-2.0.5.1
f5ebd30
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
f5ebd30
f5ebd30
%global pkg_name git-lfs
f5ebd30
%global pkgver %{pkg_name}-%{version}
f5ebd30
f5ebd30
Name:           ghc-%{pkg_name}
f5ebd30
Version:        1.1.0
f5ebd30
Release:        1%{?dist}
f5ebd30
Summary:        Git-lfs protocol
f5ebd30
f5ebd30
License:        AGPLv3
f5ebd30
Url:            https://hackage.haskell.org/package/%{pkg_name}
f5ebd30
# Begin cabal-rpm sources:
f5ebd30
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
f5ebd30
# End cabal-rpm sources
f5ebd30
f5ebd30
# Begin cabal-rpm deps:
f5ebd30
BuildRequires:  ghc-Cabal-devel
f5ebd30
BuildRequires:  ghc-rpm-macros
f5ebd30
BuildRequires:  ghc-aeson-prof
f5ebd30
BuildRequires:  ghc-base-prof
f5ebd30
BuildRequires:  ghc-bytestring-prof
f5ebd30
BuildRequires:  ghc-case-insensitive-prof
f5ebd30
BuildRequires:  ghc-containers-prof
f5ebd30
BuildRequires:  ghc-http-client-prof
f5ebd30
BuildRequires:  ghc-http-types-prof
f5ebd30
BuildRequires:  ghc-network-uri-prof
f5ebd30
BuildRequires:  ghc-text-prof
f5ebd30
# End cabal-rpm deps
f5ebd30
f5ebd30
%description
f5ebd30
An implementation of the git-lfs protocol.
f5ebd30
f5ebd30
f5ebd30
%package devel
f5ebd30
Summary:        Haskell %{pkg_name} library development files
f5ebd30
Provides:       %{name}-static = %{version}-%{release}
f5ebd30
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
f5ebd30
%if %{defined ghc_version}
f5ebd30
Requires:       ghc-compiler = %{ghc_version}
f5ebd30
%endif
f5ebd30
Requires:       %{name}%{?_isa} = %{version}-%{release}
f5ebd30
f5ebd30
%description devel
f5ebd30
This package provides the Haskell %{pkg_name} library development files.
f5ebd30
f5ebd30
f5ebd30
%if %{with haddock}
f5ebd30
%package doc
f5ebd30
Summary:        Haskell %{pkg_name} library documentation
f5ebd30
BuildArch:      noarch
f5ebd30
f5ebd30
%description doc
f5ebd30
This package provides the Haskell %{pkg_name} library documentation.
f5ebd30
%endif
f5ebd30
f5ebd30
f5ebd30
%if %{with ghc_prof}
f5ebd30
%package prof
f5ebd30
Summary:        Haskell %{pkg_name} profiling library
f5ebd30
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
f5ebd30
Supplements:    (%{name}-devel and ghc-prof)
f5ebd30
f5ebd30
%description prof
f5ebd30
This package provides the Haskell %{pkg_name} profiling library.
f5ebd30
%endif
f5ebd30
f5ebd30
f5ebd30
%prep
f5ebd30
# Begin cabal-rpm setup:
f5ebd30
%setup -q -n %{pkgver}
f5ebd30
# End cabal-rpm setup
f5ebd30
f5ebd30
f5ebd30
%build
f5ebd30
# Begin cabal-rpm build:
f5ebd30
%ghc_lib_build
f5ebd30
# End cabal-rpm build
f5ebd30
f5ebd30
f5ebd30
%install
f5ebd30
# Begin cabal-rpm install
f5ebd30
%ghc_lib_install
f5ebd30
# End cabal-rpm install
f5ebd30
f5ebd30
f5ebd30
%files -f %{name}.files
f5ebd30
# Begin cabal-rpm files:
f5ebd30
%license LICENSE
f5ebd30
# End cabal-rpm files
f5ebd30
f5ebd30
f5ebd30
%files devel -f %{name}-devel.files
f5ebd30
%doc CHANGELOG
f5ebd30
f5ebd30
f5ebd30
%if %{with haddock}
f5ebd30
%files doc -f %{name}-doc.files
f5ebd30
%license LICENSE
f5ebd30
%endif
f5ebd30
f5ebd30
f5ebd30
%if %{with ghc_prof}
f5ebd30
%files prof -f %{name}-prof.files
f5ebd30
%endif
f5ebd30
f5ebd30
f5ebd30
%changelog
f5ebd30
* Tue Sep  8 2020 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.1.0-1
f5ebd30
- spec file generated by cabal-rpm-2.0.5.1