92d81a0
# generated by cabal-rpm-2.0.9
af74161
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
72c3a2f
72c3a2f
%global pkg_name lens-aeson
72c3a2f
%global pkgver %{pkg_name}-%{version}
72c3a2f
72c3a2f
Name:           ghc-%{pkg_name}
0bd14e4
Version:        1.1.3
1e3e6e0
Release:        2%{?dist}
72c3a2f
Summary:        Law-abiding lenses for aeson
72c3a2f
72c3a2f
License:        MIT
72c3a2f
Url:            https://hackage.haskell.org/package/%{pkg_name}
cfe9a6f
# Begin cabal-rpm sources:
72c3a2f
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
c95ad2e
Source1:        https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
cfe9a6f
# End cabal-rpm sources
72c3a2f
cfe9a6f
# Begin cabal-rpm deps:
7000c79
BuildRequires:  dos2unix
72c3a2f
BuildRequires:  ghc-Cabal-devel
72c3a2f
BuildRequires:  ghc-rpm-macros
51a6036
BuildRequires:  ghc-aeson-prof
51a6036
BuildRequires:  ghc-attoparsec-prof
51a6036
BuildRequires:  ghc-base-prof
51a6036
BuildRequires:  ghc-bytestring-prof
51a6036
BuildRequires:  ghc-lens-prof
51a6036
BuildRequires:  ghc-scientific-prof
51a6036
BuildRequires:  ghc-text-prof
51a6036
BuildRequires:  ghc-unordered-containers-prof
51a6036
BuildRequires:  ghc-vector-prof
72c3a2f
# End cabal-rpm deps
72c3a2f
72c3a2f
%description
72c3a2f
Law-abiding lenses for aeson.
72c3a2f
72c3a2f
72c3a2f
%package devel
72c3a2f
Summary:        Haskell %{pkg_name} library development files
72c3a2f
Provides:       %{name}-static = %{version}-%{release}
51a6036
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
b60451f
%if %{defined ghc_version}
72c3a2f
Requires:       ghc-compiler = %{ghc_version}
b60451f
%endif
72c3a2f
Requires:       %{name}%{?_isa} = %{version}-%{release}
72c3a2f
72c3a2f
%description devel
72c3a2f
This package provides the Haskell %{pkg_name} library development files.
72c3a2f
72c3a2f
cc6b39f
%if %{with haddock}
cc6b39f
%package doc
cc6b39f
Summary:        Haskell %{pkg_name} library documentation
c4b4f8b
BuildArch:      noarch
92d81a0
Requires:       ghc-filesystem
cc6b39f
cc6b39f
%description doc
cc6b39f
This package provides the Haskell %{pkg_name} library documentation.
cc6b39f
%endif
cc6b39f
cc6b39f
cc6b39f
%if %{with ghc_prof}
cc6b39f
%package prof
cc6b39f
Summary:        Haskell %{pkg_name} profiling library
cc6b39f
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
c4b4f8b
Supplements:    (%{name}-devel and ghc-prof)
cc6b39f
cc6b39f
%description prof
cc6b39f
This package provides the Haskell %{pkg_name} profiling library.
cc6b39f
%endif
cc6b39f
cc6b39f
72c3a2f
%prep
cfe9a6f
# Begin cabal-rpm setup:
72c3a2f
%setup -q -n %{pkgver}
7000c79
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
cfe9a6f
# End cabal-rpm setup
72c3a2f
72c3a2f
72c3a2f
%build
cfe9a6f
# Begin cabal-rpm build:
72c3a2f
%ghc_lib_build
cfe9a6f
# End cabal-rpm build
72c3a2f
72c3a2f
72c3a2f
%install
cfe9a6f
# Begin cabal-rpm install
72c3a2f
%ghc_lib_install
cfe9a6f
# End cabal-rpm install
72c3a2f
72c3a2f
72c3a2f
%files -f %{name}.files
cfe9a6f
# Begin cabal-rpm files:
72c3a2f
%license LICENSE
cfe9a6f
# End cabal-rpm files
72c3a2f
72c3a2f
72c3a2f
%files devel -f %{name}-devel.files
72c3a2f
%doc AUTHORS.markdown CHANGELOG.markdown README.markdown
72c3a2f
72c3a2f
cc6b39f
%if %{with haddock}
cc6b39f
%files doc -f %{name}-doc.files
c4b4f8b
%license LICENSE
cc6b39f
%endif
cc6b39f
cc6b39f
cc6b39f
%if %{with ghc_prof}
cc6b39f
%files prof -f %{name}-prof.files
cc6b39f
%endif
cc6b39f
cc6b39f
72c3a2f
%changelog
1e3e6e0
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
1e3e6e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1e3e6e0
0bd14e4
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 1.1.3-1
0bd14e4
- https://hackage.haskell.org/package/lens-aeson-1.1.3/changelog
0bd14e4
da72959
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
da72959
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
da72959
7000c79
* Thu Aug  5 2021 Jens Petersen <petersen@redhat.com> - 1.1.1-1
7000c79
- update to 1.1.1
7000c79
ff09289
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-4
ff09289
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ff09289
a6b3dda
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
a6b3dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a6b3dda
2faf578
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
2faf578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2faf578
ef7700d
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 1.1-1
ef7700d
- update to 1.1
ef7700d
c4b4f8b
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 1.0.2-11
c4b4f8b
- refresh to cabal-rpm-2.0.2
c4b4f8b
a61577b
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
a61577b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a61577b
cc6b39f
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 1.0.2-9
cc6b39f
- add doc and prof subpackages (cabal-rpm-1.0.0)
cc6b39f
44df2ff
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
44df2ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
44df2ff
cfe9a6f
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.2-7
cfe9a6f
- refresh to cabal-rpm-0.13
cfe9a6f
8e22510
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
8e22510
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8e22510
c95ad2e
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 1.0.2-5
c95ad2e
- revise .cabal
c95ad2e
1f62c84
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
1f62c84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1f62c84
189131a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
189131a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
189131a
ade6ad6
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.0.2-2
ade6ad6
- rebuild
ade6ad6
72c3a2f
* Thu Aug  3 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.2-1
72c3a2f
- spec file generated by cabal-rpm-0.11.1