Blame ghc-haskell-src-meta.spec

4156435
# generated by cabal-rpm-0.13.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}
4156435
Version:        0.8.0.3
8ad87b6
Release:        14%{?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
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
4156435
BuildRequires:  ghc-haskell-src-exts-devel
4156435
BuildRequires:  ghc-pretty-devel
4156435
BuildRequires:  ghc-syb-devel
4156435
BuildRequires:  ghc-template-haskell-devel
4156435
BuildRequires:  ghc-th-orphans-devel
4156435
%if %{with tests}
4156435
BuildRequires:  ghc-HUnit-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}
4156435
Provides:       %{name}-doc = %{version}-%{release}
4156435
%if %{defined ghc_version}
4156435
Requires:       ghc-compiler = %{ghc_version}
4156435
Requires(post): ghc-compiler = %{ghc_version}
4156435
Requires(postun): 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
4156435
%prep
4156435
# Begin cabal-rpm setup:
4156435
%setup -q -n %{pkgver}
4156435
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
4156435
%check
4156435
%cabal_test
4156435
4156435
4156435
%post devel
4156435
%ghc_pkg_recache
4156435
4156435
4156435
%postun devel
4156435
%ghc_pkg_recache
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
4156435
%changelog
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