76c2fe5
# generated by cabal-rpm-2.0.9
72b082b
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
b935895
b935895
%global pkg_name microlens-mtl
b935895
%global pkgver %{pkg_name}-%{version}
b935895
b935895
Name:           ghc-%{pkg_name}
e812985
Version:        0.2.0.1
336319a
Release:        9%{?dist}
b935895
Summary:        Microlens support for Reader/Writer/State from mtl
b935895
b935895
License:        BSD
b935895
Url:            https://hackage.haskell.org/package/%{pkg_name}
b935895
# Begin cabal-rpm sources:
b935895
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
b935895
# End cabal-rpm sources
b935895
b935895
# Begin cabal-rpm deps:
b935895
BuildRequires:  ghc-Cabal-devel
b935895
BuildRequires:  ghc-rpm-macros
bdc533e
BuildRequires:  ghc-base-prof
bdc533e
BuildRequires:  ghc-microlens-prof
bdc533e
BuildRequires:  ghc-mtl-prof
bdc533e
BuildRequires:  ghc-transformers-prof
bdc533e
BuildRequires:  ghc-transformers-compat-prof
b935895
# End cabal-rpm deps
b935895
b935895
%description
b935895
This package contains functions (like 'view' or '+=') which work on
b935895
'MonadReader', 'MonadWriter', and 'MonadState' from the mtl package.
b935895
b935895
This package is a part of the 
e812985
microlens> family; see the readme 
e812985
on Github>.
b935895
b935895
b935895
%package devel
b935895
Summary:        Haskell %{pkg_name} library development files
b935895
Provides:       %{name}-static = %{version}-%{release}
bdc533e
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
b935895
%if %{defined ghc_version}
b935895
Requires:       ghc-compiler = %{ghc_version}
b935895
%endif
b935895
Requires:       %{name}%{?_isa} = %{version}-%{release}
b935895
b935895
%description devel
b935895
This package provides the Haskell %{pkg_name} library development files.
b935895
b935895
e97a8bc
%if %{with haddock}
e97a8bc
%package doc
e97a8bc
Summary:        Haskell %{pkg_name} library documentation
f964b52
BuildArch:      noarch
76c2fe5
Requires:       ghc-filesystem
e97a8bc
e97a8bc
%description doc
e97a8bc
This package provides the Haskell %{pkg_name} library documentation.
e97a8bc
%endif
e97a8bc
e97a8bc
e97a8bc
%if %{with ghc_prof}
e97a8bc
%package prof
e97a8bc
Summary:        Haskell %{pkg_name} profiling library
e97a8bc
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
f964b52
Supplements:    (%{name}-devel and ghc-prof)
e97a8bc
e97a8bc
%description prof
e97a8bc
This package provides the Haskell %{pkg_name} profiling library.
e97a8bc
%endif
e97a8bc
e97a8bc
b935895
%prep
b935895
# Begin cabal-rpm setup:
b935895
%setup -q -n %{pkgver}
b935895
# End cabal-rpm setup
b935895
b935895
b935895
%build
b935895
# Begin cabal-rpm build:
b935895
%ghc_lib_build
b935895
# End cabal-rpm build
b935895
b935895
b935895
%install
b935895
# Begin cabal-rpm install
b935895
%ghc_lib_install
b935895
# End cabal-rpm install
b935895
b935895
b935895
%files -f %{name}.files
b935895
# Begin cabal-rpm files:
b935895
%license LICENSE
b935895
# End cabal-rpm files
b935895
b935895
b935895
%files devel -f %{name}-devel.files
b935895
%doc CHANGELOG.md
b935895
b935895
e97a8bc
%if %{with haddock}
e97a8bc
%files doc -f %{name}-doc.files
f964b52
%license LICENSE
e97a8bc
%endif
e97a8bc
e97a8bc
e97a8bc
%if %{with ghc_prof}
e97a8bc
%files prof -f %{name}-prof.files
e97a8bc
%endif
e97a8bc
e97a8bc
b935895
%changelog
336319a
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-9
336319a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
336319a
0869240
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.2.0.1-8
0869240
- rebuild
0869240
7ab830c
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-7
7ab830c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
7ab830c
f1c35be
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.2.0.1-6
f1c35be
- rebuild
f1c35be
a431160
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-5
a431160
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a431160
16e02ae
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-4
16e02ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
16e02ae
5c4a2a3
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-3
5c4a2a3
- Second attempt - Rebuilt for
5c4a2a3
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5c4a2a3
7671ddc
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-2
7671ddc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7671ddc
e812985
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.2.0.1-1
e812985
- update to 0.2.0.1
e812985
7e4c8c2
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11.1-4
7e4c8c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7e4c8c2
e97a8bc
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 0.1.11.1-3
e97a8bc
- add doc and prof subpackages (cabal-rpm-1.0.0)
e97a8bc
ed7425e
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11.1-2
ed7425e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ed7425e
b935895
* Sun May 19 2019 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.1.11.1-1
b935895
- spec file generated by cabal-rpm-0.13.3