c5c9ad6
# generated by cabal-rpm-1.0.1
1f3cb8c
# https://fedoraproject.org/wiki/Packaging:Haskell
1f3cb8c
1f3cb8c
%global pkg_name gi-ggit
1f3cb8c
%global pkgver %{pkg_name}-%{version}
1f3cb8c
1f3cb8c
Name:           ghc-%{pkg_name}
bbeb24d
Version:        1.0.5
d501630
Release:        1%{?dist}
1f3cb8c
Summary:        Libgit2-glib bindings
1f3cb8c
1f3cb8c
License:        LGPLv2+
1f3cb8c
Url:            https://hackage.haskell.org/package/%{pkg_name}
f985386
# Begin cabal-rpm sources:
1f3cb8c
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
f985386
# End cabal-rpm sources
1f3cb8c
f985386
# Begin cabal-rpm deps:
1f3cb8c
BuildRequires:  ghc-Cabal-devel
1f3cb8c
BuildRequires:  ghc-rpm-macros
c5c9ad6
BuildRequires:  ghc-base-prof
c5c9ad6
BuildRequires:  ghc-bytestring-prof
c5c9ad6
BuildRequires:  ghc-containers-prof
c5c9ad6
BuildRequires:  ghc-gi-gio-prof
c5c9ad6
BuildRequires:  ghc-gi-glib-prof
c5c9ad6
BuildRequires:  ghc-gi-gobject-prof
c5c9ad6
BuildRequires:  ghc-haskell-gi-prof
c5c9ad6
BuildRequires:  ghc-haskell-gi-base-prof
e730ba4
BuildRequires:  ghc-haskell-gi-overloading-devel
c5c9ad6
BuildRequires:  ghc-text-prof
c5c9ad6
BuildRequires:  ghc-transformers-prof
1f3cb8c
BuildRequires:  pkgconfig(libgit2-glib-1.0)
1f3cb8c
# End cabal-rpm deps
1f3cb8c
1f3cb8c
%description
1f3cb8c
Bindings for libgit2-glib, autogenerated by haskell-gi.
1f3cb8c
1f3cb8c
1f3cb8c
%package devel
1f3cb8c
Summary:        Haskell %{pkg_name} library development files
1f3cb8c
Provides:       %{name}-static = %{version}-%{release}
c5c9ad6
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
dd32b39
%if %{defined ghc_version}
1f3cb8c
Requires:       ghc-compiler = %{ghc_version}
dd32b39
%endif
920cad1
Requires:       %{name}%{?_isa} = %{version}-%{release}
1f3cb8c
# Begin cabal-rpm deps:
1f3cb8c
Requires:       pkgconfig(libgit2-glib-1.0)
1f3cb8c
# End cabal-rpm deps
1f3cb8c
1f3cb8c
%description devel
1f3cb8c
This package provides the Haskell %{pkg_name} library development files.
1f3cb8c
1f3cb8c
20675ce
%if %{with haddock}
20675ce
%package doc
20675ce
Summary:        Haskell %{pkg_name} library documentation
20675ce
20675ce
%description doc
20675ce
This package provides the Haskell %{pkg_name} library documentation.
20675ce
%endif
20675ce
20675ce
20675ce
%if %{with ghc_prof}
20675ce
%package prof
20675ce
Summary:        Haskell %{pkg_name} profiling library
20675ce
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
20675ce
20675ce
%description prof
20675ce
This package provides the Haskell %{pkg_name} profiling library.
20675ce
%endif
20675ce
20675ce
1f3cb8c
%prep
f985386
# Begin cabal-rpm setup:
1f3cb8c
%setup -q -n %{pkgver}
f985386
# End cabal-rpm setup
1f3cb8c
1f3cb8c
1f3cb8c
%build
f985386
# Begin cabal-rpm build:
920cad1
%ghc_lib_build
f985386
# End cabal-rpm build
1f3cb8c
1f3cb8c
1f3cb8c
%install
f985386
# Begin cabal-rpm install
1f3cb8c
%ghc_lib_install
f985386
# End cabal-rpm install
1f3cb8c
1f3cb8c
920cad1
%files -f %{name}.files
f985386
# Begin cabal-rpm files:
1f3cb8c
%license LICENSE
f985386
# End cabal-rpm files
920cad1
920cad1
920cad1
%files devel -f %{name}-devel.files
1f3cb8c
%doc ChangeLog.md README.md
1f3cb8c
1f3cb8c
20675ce
%if %{with haddock}
20675ce
%files doc -f %{name}-doc.files
20675ce
%endif
20675ce
20675ce
20675ce
%if %{with ghc_prof}
20675ce
%files prof -f %{name}-prof.files
20675ce
%endif
20675ce
20675ce
1f3cb8c
%changelog
bbeb24d
* Sun Sep  8 2019 Jens Petersen <petersen@redhat.com> - 1.0.5-1
bbeb24d
- update to 1.0.5
d501630
448d9e3
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
448d9e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
448d9e3
f985386
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.2-9
f985386
- refresh to cabal-rpm-0.13
f985386
b96c044
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
b96c044
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b96c044
920cad1
* Sat Aug 18 2018 Jens Petersen <petersen@redhat.com> - 1.0.2-7
920cad1
- cabal-rpm now handles haskell-gi libraries
920cad1
0452254
* Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-6
0452254
- Rebuild for libgit2 0.27.x
0452254
dd90adb
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 1.0.2-5
dd90adb
- rebuild
dd90adb
640bac3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
640bac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
640bac3
b2c3d43
* Fri Mar  2 2018 David Shea <dshea@redhat.com> - 1.0.2-3
b2c3d43
- Rebuild against a new build of ghc-conduit-extra
b2c3d43
dde05da
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
dde05da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dde05da
8f82629
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.0.2-1
8f82629
- update to 1.0.2
8f82629
7d6c997
* Thu Dec 14 2017 David Shea <dshea@redhat.com> - 1.0.1-2
7d6c997
- Rebuild against new ghc-gi-glib
7d6c997
1f3cb8c
* Tue Sep 12 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.1-1
1f3cb8c
- spec file generated by cabal-rpm-0.11.2