Blame ghc-haskell-src-meta.spec

4babf35
# generated by cabal-rpm-2.0.6
cec5bbd
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
4156435
4156435
%global pkg_name haskell-src-meta
4156435
%global pkgver %{pkg_name}-%{version}
4156435
39ef9cf
%bcond_without tests
39ef9cf
4156435
Name:           ghc-%{pkg_name}
8e02788
Version:        0.8.5
8d07cef
Release:        3%{?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
8e02788
Source1:        https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
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
39ef9cf
%if %{with tests}
39ef9cf
BuildRequires:  ghc-HUnit-devel
39ef9cf
BuildRequires:  ghc-containers-devel
39ef9cf
BuildRequires:  ghc-tasty-devel
39ef9cf
BuildRequires:  ghc-tasty-hunit-devel
39ef9cf
%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
46e41ec
BuildArch:      noarch
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}
46e41ec
Supplements:    (%{name}-devel and ghc-prof)
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}
8e02788
cp -bp %{SOURCE1} %{pkg_name}.cabal
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
39ef9cf
%check
39ef9cf
%cabal_test
39ef9cf
39ef9cf
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
46e41ec
%license LICENSE
b08c561
%endif
b08c561
b08c561
b08c561
%if %{with ghc_prof}
b08c561
%files prof -f %{name}-prof.files
b08c561
%endif
b08c561
b08c561
4156435
%changelog
8d07cef
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-3
8d07cef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8d07cef
42e014e
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-2
42e014e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
42e014e
8e02788
* Sun Jun 07 2020 Jens Petersen <petersen@redhat.com> - 0.8.5-1
8e02788
- update to 0.8.5
8e02788
39ef9cf
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.8.3-1
39ef9cf
- update to 0.8.3
39ef9cf
3684be8
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
3684be8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3684be8
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