2019-07-25 04:25:10 +00:00
|
|
|
# generated by cabal-rpm-1.0.0
|
2017-09-06 19:22:48 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
2017-09-06 19:25:40 +00:00
|
|
|
%global pkg_name persistent-sqlite
|
2018-01-24 13:11:45 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
2017-09-06 19:22:48 +00:00
|
|
|
|
2018-01-24 13:11:45 +00:00
|
|
|
%bcond_without tests
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2019-07-25 16:22:34 +00:00
|
|
|
Version: 2.9.3
|
|
|
|
Release: 1%{?dist}
|
2017-09-06 19:25:40 +00:00
|
|
|
Summary: Backend for the persistent library using sqlite3
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
License: MIT
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
2019-02-17 14:46:40 +00:00
|
|
|
# Begin cabal-rpm sources:
|
2018-01-24 13:11:45 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2019-02-17 14:46:40 +00:00
|
|
|
# End cabal-rpm sources
|
2017-09-06 19:22:48 +00:00
|
|
|
|
2019-02-17 14:46:40 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2019-07-25 04:25:10 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
BuildRequires: ghc-doc
|
|
|
|
%endif
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
BuildRequires: ghc-prof
|
|
|
|
%endif
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: ghc-aeson-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
2017-09-06 19:25:40 +00:00
|
|
|
BuildRequires: ghc-conduit-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-containers-devel
|
2017-09-06 19:25:40 +00:00
|
|
|
BuildRequires: ghc-microlens-th-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-monad-logger-devel
|
2017-09-06 19:25:40 +00:00
|
|
|
BuildRequires: ghc-old-locale-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-persistent-devel
|
2017-09-06 19:25:40 +00:00
|
|
|
BuildRequires: ghc-resource-pool-devel
|
|
|
|
BuildRequires: ghc-resourcet-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-text-devel
|
2017-09-06 19:25:40 +00:00
|
|
|
BuildRequires: ghc-time-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-transformers-devel
|
2018-07-09 05:03:08 +00:00
|
|
|
BuildRequires: ghc-unliftio-core-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
BuildRequires: ghc-unordered-containers-devel
|
2018-02-15 04:16:30 +00:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: sqlite-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-hspec-devel
|
2017-09-06 19:25:40 +00:00
|
|
|
BuildRequires: ghc-persistent-template-devel
|
|
|
|
BuildRequires: ghc-temporary-devel
|
2017-09-06 19:22:48 +00:00
|
|
|
%endif
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description
|
2017-09-06 19:25:40 +00:00
|
|
|
This package includes a thin sqlite3 wrapper based on the direct-sqlite
|
|
|
|
package.
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2018-01-24 13:11:45 +00:00
|
|
|
%if %{defined ghc_version}
|
2017-09-06 19:22:48 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
2018-01-24 13:11:45 +00:00
|
|
|
%endif
|
2017-09-06 19:22:48 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2017-09-06 19:25:40 +00:00
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
Requires: glibc-devel%{?_isa}
|
2018-01-24 13:11:45 +00:00
|
|
|
Requires: sqlite-devel%{?_isa}
|
2017-09-06 19:25:40 +00:00
|
|
|
# End cabal-rpm deps
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development
|
|
|
|
files.
|
|
|
|
|
|
|
|
|
2019-07-25 04:25:10 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%package doc
|
|
|
|
Summary: Haskell %{pkg_name} library documentation
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package provides the Haskell %{pkg_name} library documentation.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%package prof
|
|
|
|
Summary: Haskell %{pkg_name} profiling library
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description prof
|
|
|
|
This package provides the Haskell %{pkg_name} profiling library.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2017-09-06 19:22:48 +00:00
|
|
|
%prep
|
2018-01-24 13:11:45 +00:00
|
|
|
%autosetup -n %{pkgver} -p2
|
2018-07-21 15:45:17 +00:00
|
|
|
|
2017-09-06 19:25:40 +00:00
|
|
|
cabal-tweak-flag systemlib True
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2019-02-17 14:46:40 +00:00
|
|
|
# Begin cabal-rpm build:
|
2017-09-06 19:22:48 +00:00
|
|
|
%ghc_lib_build
|
2019-02-17 14:46:40 +00:00
|
|
|
# End cabal-rpm build
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-02-17 14:46:40 +00:00
|
|
|
# Begin cabal-rpm install
|
2017-09-06 19:22:48 +00:00
|
|
|
%ghc_lib_install
|
2019-02-17 14:46:40 +00:00
|
|
|
# End cabal-rpm install
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2019-02-17 14:46:40 +00:00
|
|
|
# Begin cabal-rpm files:
|
2017-09-06 19:22:48 +00:00
|
|
|
%license LICENSE
|
2019-02-17 14:46:40 +00:00
|
|
|
# End cabal-rpm files
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
2017-09-06 19:25:40 +00:00
|
|
|
%doc ChangeLog.md
|
2017-09-06 19:22:48 +00:00
|
|
|
|
|
|
|
|
2019-07-25 04:25:10 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%files doc -f %{name}-doc.files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%files prof -f %{name}-prof.files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2017-09-06 19:22:48 +00:00
|
|
|
%changelog
|
2019-07-25 16:22:34 +00:00
|
|
|
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 2.9.3-1
|
|
|
|
- update to 2.9.3
|
|
|
|
|
2019-07-25 02:51:09 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-21 04:08:24 +00:00
|
|
|
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 2.8.2-1
|
|
|
|
- update to 2.8.2
|
|
|
|
|
2019-02-17 14:46:40 +00:00
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 2.8.1.2-6
|
|
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
|
2019-01-31 21:52:20 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-18 12:28:28 +00:00
|
|
|
* Sat Aug 18 2018 Jens Petersen <petersen@redhat.com> - 2.8.1.2-4
|
|
|
|
- rebuild
|
|
|
|
|
2018-07-28 16:06:23 +00:00
|
|
|
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 2.8.1.2-3
|
|
|
|
- rebuild
|
|
|
|
|
2018-07-13 02:02:18 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-09 05:03:08 +00:00
|
|
|
* Mon Jul 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.8.1.2-1
|
|
|
|
- update to 2.8.1.2
|
|
|
|
|
2018-04-06 03:59:05 +00:00
|
|
|
* Fri Apr 06 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.4-4
|
|
|
|
- rebuilt
|
|
|
|
|
2018-02-15 04:16:30 +00:00
|
|
|
* Wed Feb 14 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.4-3
|
|
|
|
- Remove arch from BRs.
|
|
|
|
|
2018-02-07 11:59:40 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-24 14:46:17 +00:00
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 2.6.4-1
|
|
|
|
- update to 2.6.4
|
|
|
|
|
2017-11-07 07:49:47 +00:00
|
|
|
* Tue Nov 07 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.3-2
|
|
|
|
- rebuilt
|
|
|
|
|
2017-11-04 07:25:14 +00:00
|
|
|
* Sat Nov 04 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.3-1
|
|
|
|
- Update to latest version.
|
|
|
|
|
2017-10-23 20:21:15 +00:00
|
|
|
* Mon Oct 23 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.2-6
|
|
|
|
- rebuilt
|
|
|
|
|
2017-10-01 02:07:37 +00:00
|
|
|
* Sat Sep 30 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.6.2-5
|
|
|
|
- Fix small typo.
|
|
|
|
|
2017-10-01 01:48:30 +00:00
|
|
|
* Sat Sep 30 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.6.2-4
|
|
|
|
- Add sqlite3-devel to -devel Requires.
|
|
|
|
|
2017-09-30 00:10:07 +00:00
|
|
|
* Fri Sep 29 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.6.2-3
|
|
|
|
- Use pkg-config to build against system sqlite library.
|
|
|
|
|
2017-09-06 19:25:40 +00:00
|
|
|
* Tue Sep 05 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.6.2-2
|
|
|
|
- Build against system sqlite library.
|
2017-09-06 19:22:48 +00:00
|
|
|
|
2017-09-06 19:25:40 +00:00
|
|
|
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.6.2-1
|
2017-09-06 19:22:48 +00:00
|
|
|
- Update to latest version.
|
|
|
|
|
2017-09-06 19:25:40 +00:00
|
|
|
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.2.1-5
|
2017-09-06 19:22:48 +00:00
|
|
|
- Bump for Fedora 26.
|
|
|
|
|
2017-09-06 19:25:40 +00:00
|
|
|
* Sat Dec 17 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.1-4
|
2017-09-06 19:22:48 +00:00
|
|
|
- Update release to be newer than previous builds
|
|
|
|
|
2017-09-06 19:25:40 +00:00
|
|
|
* Sat Dec 17 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.2.1-1
|
2017-09-06 19:22:48 +00:00
|
|
|
- spec file generated by cabal-rpm-0.10.0
|