Blame ghc-gi-gio.spec

a453764
# generated by cabal-rpm-1.0.1
3f4e10c
# https://fedoraproject.org/wiki/Packaging:Haskell
3f4e10c
3f4e10c
%global pkg_name gi-gio
3f4e10c
%global pkgver %{pkg_name}-%{version}
3f4e10c
3f4e10c
Name:           ghc-%{pkg_name}
3dd1119
Version:        2.0.19
3dd1119
Release:        1%{?dist}
3f4e10c
Summary:        Gio bindings
3f4e10c
3f4e10c
License:        LGPLv2+
3f4e10c
Url:            https://hackage.haskell.org/package/%{pkg_name}
db58533
# Begin cabal-rpm sources:
3f4e10c
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
db58533
# End cabal-rpm sources
3f4e10c
db58533
# Begin cabal-rpm deps:
3f4e10c
BuildRequires:  ghc-Cabal-devel
3f4e10c
BuildRequires:  ghc-rpm-macros
a453764
BuildRequires:  ghc-base-prof
a453764
BuildRequires:  ghc-bytestring-prof
a453764
BuildRequires:  ghc-containers-prof
a453764
BuildRequires:  ghc-gi-glib-prof
a453764
BuildRequires:  ghc-gi-gobject-prof
a453764
BuildRequires:  ghc-haskell-gi-prof
a453764
BuildRequires:  ghc-haskell-gi-base-prof
a453764
BuildRequires:  ghc-haskell-gi-overloading-prof
a453764
BuildRequires:  ghc-text-prof
a453764
BuildRequires:  ghc-transformers-prof
3f4e10c
BuildRequires:  pkgconfig(gio-2.0)
3f4e10c
# End cabal-rpm deps
3f4e10c
3f4e10c
%description
3f4e10c
Bindings for Gio, autogenerated by haskell-gi.
3f4e10c
3f4e10c
3f4e10c
%package devel
3f4e10c
Summary:        Haskell %{pkg_name} library development files
3f4e10c
Provides:       %{name}-static = %{version}-%{release}
a453764
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
6f30c8b
%if %{defined ghc_version}
3f4e10c
Requires:       ghc-compiler = %{ghc_version}
6f30c8b
%endif
21c0780
Requires:       %{name}%{?_isa} = %{version}-%{release}
3f4e10c
# Begin cabal-rpm deps:
3f4e10c
Requires:       pkgconfig(gio-2.0)
3f4e10c
# End cabal-rpm deps
3f4e10c
3f4e10c
%description devel
3f4e10c
This package provides the Haskell %{pkg_name} library development files.
3f4e10c
3f4e10c
ad0cb12
%if %{with haddock}
ad0cb12
%package doc
ad0cb12
Summary:        Haskell %{pkg_name} library documentation
ad0cb12
ad0cb12
%description doc
ad0cb12
This package provides the Haskell %{pkg_name} library documentation.
ad0cb12
%endif
ad0cb12
ad0cb12
ad0cb12
%if %{with ghc_prof}
ad0cb12
%package prof
ad0cb12
Summary:        Haskell %{pkg_name} profiling library
ad0cb12
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
ad0cb12
ad0cb12
%description prof
ad0cb12
This package provides the Haskell %{pkg_name} profiling library.
ad0cb12
%endif
ad0cb12
ad0cb12
3f4e10c
%prep
db58533
# Begin cabal-rpm setup:
3f4e10c
%setup -q -n %{pkgver}
db58533
# End cabal-rpm setup
3f4e10c
3f4e10c
3f4e10c
%build
db58533
# Begin cabal-rpm build:
21c0780
%ghc_lib_build
db58533
# End cabal-rpm build
3f4e10c
3f4e10c
3f4e10c
%install
db58533
# Begin cabal-rpm install
3f4e10c
%ghc_lib_install
db58533
# End cabal-rpm install
3f4e10c
3f4e10c
21c0780
%files -f %{name}.files
db58533
# Begin cabal-rpm files:
3f4e10c
%license LICENSE
db58533
# End cabal-rpm files
21c0780
21c0780
21c0780
%files devel -f %{name}-devel.files
3f4e10c
%doc ChangeLog.md README.md
3f4e10c
3f4e10c
ad0cb12
%if %{with haddock}
ad0cb12
%files doc -f %{name}-doc.files
ad0cb12
%endif
ad0cb12
ad0cb12
ad0cb12
%if %{with ghc_prof}
ad0cb12
%files prof -f %{name}-prof.files
ad0cb12
%endif
ad0cb12
ad0cb12
3f4e10c
%changelog
3dd1119
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 2.0.19-1
3dd1119
- update to 2.0.19
3dd1119
ccfd2b8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.18-4
ccfd2b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ccfd2b8
db58533
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 2.0.18-3
db58533
- refresh to cabal-rpm-0.13
db58533
34058c6
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.18-2
34058c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
34058c6
1e0a79b
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 2.0.18-1
1e0a79b
- update to 2.0.18
1e0a79b
623ecd8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-4
623ecd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
623ecd8
7d2030b
* Fri Mar  2 2018 David Shea <dshea@redhat.com> - 2.0.15-3
7d2030b
- Rebuild against a new build of ghc-conduit-extra
7d2030b
aeb0c33
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-2
aeb0c33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aeb0c33
e1f2647
* Mon Feb  5 2018 David Shea <dshea@redhat.com> - 2.0.15-1
e1f2647
- Update to gi-gio-2.0.15
e1f2647
92c2bcd
* Thu Feb  1 2018 Jens Petersen <petersen@redhat.com> - 2.0.14-3
92c2bcd
- rebuild
92c2bcd
8497879
* Thu Dec 14 2017 David Shea <dshea@redhat.com> - 2.0.14-2
8497879
- Rebuild against new ghc-gi-glib
8497879
3f4e10c
* Tue Sep 12 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.0.14-1
3f4e10c
- spec file generated by cabal-rpm-0.11.2