b3f53d7
# generated by cabal-rpm-2.1.0 --subpackage
f701a91
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
c3f89bf
c3f89bf
%global pkg_name persistent
c3f89bf
%global pkgver %{pkg_name}-%{version}
c3f89bf
16121e6
%global lifttype lift-type-0.1.0.1
16121e6
%global subpkgs %{lifttype}
16121e6
768a9a5
# testsuite missing deps: quickcheck-instances
c3f89bf
c3f89bf
Name:           ghc-%{pkg_name}
d66fe3b
Version:        2.14.5.1
16121e6
# can only be reset when all subpkgs bumped
a5f3491
Release:        9%{?dist}
c3f89bf
Summary:        Type-safe, multi-backend data serialization
c3f89bf
c3f89bf
License:        MIT
c3f89bf
Url:            https://hackage.haskell.org/package/%{pkg_name}
0b7c619
# Begin cabal-rpm sources:
c3f89bf
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
16121e6
Source1:        https://hackage.haskell.org/package/%{lifttype}/%{lifttype}.tar.gz
d4a1024
Source2:        https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
0b7c619
# End cabal-rpm sources
c3f89bf
0b7c619
# Begin cabal-rpm deps:
c3f89bf
BuildRequires:  ghc-Cabal-devel
16121e6
BuildRequires:  ghc-rpm-macros-extra
b3f53d7
BuildRequires:  ghc-aeson-devel
b3f53d7
BuildRequires:  ghc-attoparsec-devel
b3f53d7
BuildRequires:  ghc-base-devel
b3f53d7
BuildRequires:  ghc-base64-bytestring-devel
b3f53d7
BuildRequires:  ghc-blaze-html-devel
b3f53d7
BuildRequires:  ghc-bytestring-devel
b3f53d7
BuildRequires:  ghc-conduit-devel
b3f53d7
BuildRequires:  ghc-containers-devel
d66fe3b
BuildRequires:  ghc-deepseq-devel
b3f53d7
BuildRequires:  ghc-fast-logger-devel
b3f53d7
BuildRequires:  ghc-http-api-data-devel
b3f53d7
#BuildRequires:  ghc-lift-type-devel
b3f53d7
BuildRequires:  ghc-monad-logger-devel
b3f53d7
BuildRequires:  ghc-mtl-devel
b3f53d7
BuildRequires:  ghc-path-pieces-devel
b3f53d7
BuildRequires:  ghc-resource-pool-devel
b3f53d7
BuildRequires:  ghc-resourcet-devel
b3f53d7
BuildRequires:  ghc-scientific-devel
b3f53d7
BuildRequires:  ghc-silently-devel
b3f53d7
BuildRequires:  ghc-template-haskell-devel
b3f53d7
BuildRequires:  ghc-text-devel
b3f53d7
BuildRequires:  ghc-th-lift-instances-devel
b3f53d7
BuildRequires:  ghc-time-devel
b3f53d7
BuildRequires:  ghc-transformers-devel
b3f53d7
BuildRequires:  ghc-unliftio-devel
b3f53d7
BuildRequires:  ghc-unliftio-core-devel
b3f53d7
BuildRequires:  ghc-unordered-containers-devel
b3f53d7
BuildRequires:  ghc-vault-devel
b3f53d7
BuildRequires:  ghc-vector-devel
b3f53d7
%if %{with ghc_prof}
9e16c13
BuildRequires:  ghc-aeson-prof
9e16c13
BuildRequires:  ghc-attoparsec-prof
9e16c13
BuildRequires:  ghc-base-prof
9e16c13
BuildRequires:  ghc-base64-bytestring-prof
9e16c13
BuildRequires:  ghc-blaze-html-prof
9e16c13
BuildRequires:  ghc-bytestring-prof
9e16c13
BuildRequires:  ghc-conduit-prof
9e16c13
BuildRequires:  ghc-containers-prof
d66fe3b
BuildRequires:  ghc-deepseq-prof
9e16c13
BuildRequires:  ghc-fast-logger-prof
9e16c13
BuildRequires:  ghc-http-api-data-prof
16121e6
#BuildRequires:  ghc-lift-type-prof
9e16c13
BuildRequires:  ghc-monad-logger-prof
9e16c13
BuildRequires:  ghc-mtl-prof
9e16c13
BuildRequires:  ghc-path-pieces-prof
9e16c13
BuildRequires:  ghc-resource-pool-prof
9e16c13
BuildRequires:  ghc-resourcet-prof
9e16c13
BuildRequires:  ghc-scientific-prof
9e16c13
BuildRequires:  ghc-silently-prof
768a9a5
BuildRequires:  ghc-template-haskell-prof
9e16c13
BuildRequires:  ghc-text-prof
768a9a5
BuildRequires:  ghc-th-lift-instances-prof
9e16c13
BuildRequires:  ghc-time-prof
9e16c13
BuildRequires:  ghc-transformers-prof
258614e
BuildRequires:  ghc-unliftio-prof
9e16c13
BuildRequires:  ghc-unliftio-core-prof
9e16c13
BuildRequires:  ghc-unordered-containers-prof
d4a1024
BuildRequires:  ghc-vault-prof
9e16c13
BuildRequires:  ghc-vector-prof
b3f53d7
%endif
c3f89bf
# End cabal-rpm deps
c3f89bf
c3f89bf
%description
c3f89bf
Persistent allows us to choose among existing databases that are highly tuned
c3f89bf
for different data storage use cases, interoperate with other programming
c3f89bf
languages, and to use a safe and productive query interface, while still
c3f89bf
keeping the type safety of Haskell datatypes.
c3f89bf
c3f89bf
Persistent follows the guiding principles of type safety and concise,
c3f89bf
declarative syntax. Other nice features are database-independence, convenient
c3f89bf
data modeling, and automatic database migrations.
c3f89bf
c3f89bf
c3f89bf
%package devel
c3f89bf
Summary:        Haskell %{pkg_name} library development files
c3f89bf
Provides:       %{name}-static = %{version}-%{release}
9e16c13
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
a409b64
%if %{defined ghc_version}
c3f89bf
Requires:       ghc-compiler = %{ghc_version}
a409b64
%endif
c3f89bf
Requires:       %{name}%{?_isa} = %{version}-%{release}
c3f89bf
c3f89bf
%description devel
c3f89bf
This package provides the Haskell %{pkg_name} library development files.
c3f89bf
c3f89bf
8c4ff27
%if %{with haddock}
8c4ff27
%package doc
8c4ff27
Summary:        Haskell %{pkg_name} library documentation
ab7e450
BuildArch:      noarch
45083ce
Requires:       ghc-filesystem
8c4ff27
8c4ff27
%description doc
8c4ff27
This package provides the Haskell %{pkg_name} library documentation.
8c4ff27
%endif
8c4ff27
c3f89bf
8c4ff27
%if %{with ghc_prof}
8c4ff27
%package prof
8c4ff27
Summary:        Haskell %{pkg_name} profiling library
8c4ff27
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
ab7e450
Supplements:    (%{name}-devel and ghc-prof)
c3f89bf
8c4ff27
%description prof
8c4ff27
This package provides the Haskell %{pkg_name} profiling library.
8c4ff27
%endif
c3f89bf
c3f89bf
16121e6
%global main_version %{version}
16121e6
16121e6
%if %{defined ghclibdir}
16121e6
%ghc_lib_subpackage %{lifttype}
16121e6
%endif
16121e6
16121e6
%global version %{main_version}
16121e6
16121e6
c3f89bf
%prep
0b7c619
# Begin cabal-rpm setup:
16121e6
%setup -q -n %{pkgver} -a1
d66fe3b
cp -bp %{SOURCE2} %{pkg_name}.cabal
0b7c619
# End cabal-rpm setup
c3f89bf
c3f89bf
c3f89bf
%build
0b7c619
# Begin cabal-rpm build:
16121e6
%ghc_libs_build %{subpkgs}
c3f89bf
%ghc_lib_build
0b7c619
# End cabal-rpm build
c3f89bf
c3f89bf
c3f89bf
%install
0b7c619
# Begin cabal-rpm install
16121e6
%ghc_libs_install %{subpkgs}
c3f89bf
%ghc_lib_install
0b7c619
# End cabal-rpm install
c3f89bf
c3f89bf
c3f89bf
%files -f %{name}.files
0b7c619
# Begin cabal-rpm files:
c3f89bf
%license LICENSE
0b7c619
# End cabal-rpm files
c3f89bf
c3f89bf
8c4ff27
%files devel -f %{name}-devel.files
c3f89bf
%doc ChangeLog.md README.md
c3f89bf
c3f89bf
8c4ff27
%if %{with haddock}
8c4ff27
%files doc -f %{name}-doc.files
ab7e450
%license LICENSE
8c4ff27
%endif
8c4ff27
8c4ff27
8c4ff27
%if %{with ghc_prof}
8c4ff27
%files prof -f %{name}-prof.files
72113f2
%endif
c3f89bf
c3f89bf
c3f89bf
%changelog
a5f3491
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.5.1-9
a5f3491
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a5f3491
90e591e
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.5.1-8
90e591e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
90e591e
d66fe3b
* Sun Jul 23 2023 Jens Petersen <petersen@redhat.com> - 2.14.5.1-7
d66fe3b
- https://hackage.haskell.org/package/persistent-2.14.5.1/changelog
d66fe3b
6a647ce
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.3.5-6
6a647ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
6a647ce
b3f53d7
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 2.13.3.5-5
b3f53d7
- https://hackage.haskell.org/package/persistent-2.13.3.5/changelog
b3f53d7
- refresh to cabal-rpm-2.1.0 with SPDX migration
b3f53d7
1b17bae
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.3.0-4
1b17bae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1b17bae
d4a1024
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 2.13.3.0-3
d4a1024
- https://hackage.haskell.org/package/persistent-2.13.3.0/changelog
d4a1024
8308be0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1.1-2
8308be0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
8308be0
768a9a5
* Thu Aug  5 2021 Jens Petersen <petersen@redhat.com> - 2.13.1.1-1
768a9a5
- update to 2.13.1.1
16121e6
- subpackage lift-type
768a9a5
7f6f254
* Thu Aug  5 2021 Jens Petersen <petersen@redhat.com> - 2.11.0.2-1
7f6f254
- update to 2.11.0.2
7f6f254
ff999eb
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.5.2-5
ff999eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ff999eb
6bfde6c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.5.2-4
6bfde6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6bfde6c
0484a13
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.5.2-3
0484a13
- Second attempt - Rebuilt for
0484a13
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0484a13
108bd2f
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.5.2-2
108bd2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
108bd2f
258614e
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 2.10.5.2-1
258614e
- update to 2.10.5.2
258614e
ab7e450
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 2.9.2-3
ab7e450
- refresh to cabal-rpm-2.0.2
ab7e450
6787485
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-2
6787485
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6787485
a1c8423
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 2.9.2-1
a1c8423
- update to 2.9.2
a1c8423
15bad7c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-6
15bad7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
15bad7c
0b7c619
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 2.8.2-5
0b7c619
- refresh to cabal-rpm-0.13
0b7c619
a949826
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-4
a949826
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a949826
ed6e09c
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 2.8.2-3
ed6e09c
- revise .cabal
ed6e09c
2abe5e8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-2
2abe5e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2abe5e8
a6ffcd1
* Mon Jul 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.2-1
a6ffcd1
- update to 2.8.2
a6ffcd1
aaf3497
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-4
aaf3497
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aaf3497
12be4a7
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 2.7.1-3
12be4a7
- rebuild
12be4a7
af9442c
* Tue Nov 07 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.7.1-2
af9442c
- rebuilt
af9442c
502849e
* Sat Nov 04 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.7.1-1
502849e
- Update to latest version.
502849e
4c98b4c
* Mon Oct 23 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.7.0-4
4c98b4c
- rebuilt
4c98b4c
c3f89bf
* Mon Sep 04 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.7.0-3
c3f89bf
- Split docs into subpackage.
c3f89bf
c3f89bf
* Sun Sep 03 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.7.0-2
c3f89bf
- Add a real description.
c3f89bf
- Update to latest spec template.
c3f89bf
c3f89bf
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.7.0-1
c3f89bf
- Update to latest version.
c3f89bf
c3f89bf
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.2.4.1-6
c3f89bf
- Bump for Fedora 26.
c3f89bf
c3f89bf
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.4.1-5
c3f89bf
- Bump to rebuild against new dependencies
c3f89bf
c3f89bf
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.4.1-4
c3f89bf
- Update release to be newer than previous builds
c3f89bf
c3f89bf
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.2.4.1-1
c3f89bf
- spec file generated by cabal-rpm-0.10.0