Blame ghc-haskell-src-meta.spec

a1a0699
# generated by cabal-rpm-1.0.1
4156435
# https://fedoraproject.org/wiki/Packaging:Haskell
4156435
4156435
%global pkg_name haskell-src-meta
4156435
%global pkgver %{pkg_name}-%{version}
4156435
4156435
%bcond_with tests
4156435
4156435
Name:           ghc-%{pkg_name}
740d4de
Version:        0.8.2
740d4de
Release:        1%{?dist}
4156435
Summary:        Parse source to template-haskell abstract syntax
4156435
4156435
License:        BSD
4156435
Url:            https://hackage.haskell.org/package/%{pkg_name}
4156435
# Begin cabal-rpm sources:
4156435
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
4156435
# End cabal-rpm sources
4156435
4156435
# Begin cabal-rpm deps:
4156435
BuildRequires:  ghc-Cabal-devel
4156435
BuildRequires:  ghc-rpm-macros
a1a0699
BuildRequires:  ghc-base-prof
a1a0699
BuildRequires:  ghc-haskell-src-exts-prof
a1a0699
BuildRequires:  ghc-pretty-prof
a1a0699
BuildRequires:  ghc-syb-prof
a1a0699
BuildRequires:  ghc-template-haskell-prof
a1a0699
BuildRequires:  ghc-th-orphans-prof
4156435
%if %{with tests}
4156435
BuildRequires:  ghc-HUnit-devel
740d4de
BuildRequires:  ghc-containers-devel
4156435
BuildRequires:  ghc-test-framework-devel
4156435
BuildRequires:  ghc-test-framework-hunit-devel
4156435
%endif
4156435
# End cabal-rpm deps
4156435
4156435
%description
4156435
The translation from haskell-src-exts abstract syntax to template-haskell
4156435
abstract syntax isn't 100% complete yet.
4156435
4156435
4156435
%package devel
4156435
Summary:        Haskell %{pkg_name} library development files
4156435
Provides:       %{name}-static = %{version}-%{release}
a1a0699
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
4156435
%if %{defined ghc_version}
4156435
Requires:       ghc-compiler = %{ghc_version}
4156435
%endif
4156435
Requires:       %{name}%{?_isa} = %{version}-%{release}
4156435
4156435
%description devel
4156435
This package provides the Haskell %{pkg_name} library development
4156435
files.
4156435
4156435
b08c561
%if %{with haddock}
b08c561
%package doc
b08c561
Summary:        Haskell %{pkg_name} library documentation
b08c561
b08c561
%description doc
b08c561
This package provides the Haskell %{pkg_name} library documentation.
b08c561
%endif
b08c561
b08c561
b08c561
%if %{with ghc_prof}
b08c561
%package prof
b08c561
Summary:        Haskell %{pkg_name} profiling library
b08c561
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
b08c561
b08c561
%description prof
b08c561
This package provides the Haskell %{pkg_name} profiling library.
b08c561
%endif
b08c561
b08c561
4156435
%prep
4156435
# Begin cabal-rpm setup:
4156435
%setup -q -n %{pkgver}
4156435
# End cabal-rpm setup
4156435
4156435
4156435
%build
4156435
# Begin cabal-rpm build:
4156435
%ghc_lib_build
4156435
# End cabal-rpm build
4156435
4156435
4156435
%install
4156435
# Begin cabal-rpm install
4156435
%ghc_lib_install
4156435
# End cabal-rpm install
4156435
4156435
4156435
%check
4156435
%cabal_test
4156435
4156435
4156435
%files -f %{name}.files
4156435
# Begin cabal-rpm files:
4156435
%license LICENSE
4156435
# End cabal-rpm files
4156435
4156435
4156435
%files devel -f %{name}-devel.files
4156435
%doc ChangeLog README.md examples
4156435
4156435
b08c561
%if %{with haddock}
b08c561
%files doc -f %{name}-doc.files
b08c561
%endif
b08c561
b08c561
b08c561
%if %{with ghc_prof}
b08c561
%files prof -f %{name}-prof.files
b08c561
%endif
b08c561
b08c561
4156435
%changelog
740d4de
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.8.2-1
740d4de
- update to 0.8.2
740d4de
8ad87b6
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.3-14
8ad87b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8ad87b6
a42b557
* Sun Mar 10 2019 Jens Petersen <petersen@redhat.com> - 0.8.0.3-13
a42b557
- bump over hledger
a42b557
4156435
* Fri Mar  1 2019 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.8.0.3-1
4156435
- spec file generated by cabal-rpm-0.13.1