7f0179e
# generated by cabal-rpm-2.0.6
8ffce99
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
fc03e86
fc03e86
%global pkg_name terminal-size
6618110
%global pkgver %{pkg_name}-%{version}
fc03e86
fc03e86
Name:           ghc-%{pkg_name}
fc03e86
Version:        0.3.2.1
eba9146
Release:        15%{?dist}
fc03e86
Summary:        Get terminal window height and width
fc03e86
fc03e86
License:        BSD
fc03e86
Url:            https://hackage.haskell.org/package/%{pkg_name}
7e17197
# Begin cabal-rpm sources:
6618110
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
7e17197
# End cabal-rpm sources
fc03e86
7e17197
# Begin cabal-rpm deps:
fc03e86
BuildRequires:  ghc-Cabal-devel
fc03e86
BuildRequires:  ghc-rpm-macros
43040ae
BuildRequires:  ghc-base-prof
7e17197
# End cabal-rpm deps
fc03e86
fc03e86
%description
fc03e86
Get terminal window height and width without ncurses dependency.
fc03e86
fc03e86
fc03e86
%package devel
fc03e86
Summary:        Haskell %{pkg_name} library development files
fc03e86
Provides:       %{name}-static = %{version}-%{release}
43040ae
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
6618110
%if %{defined ghc_version}
fc03e86
Requires:       ghc-compiler = %{ghc_version}
6618110
%endif
fc03e86
Requires:       %{name}%{?_isa} = %{version}-%{release}
fc03e86
fc03e86
%description devel
fc03e86
This package provides the Haskell %{pkg_name} library development files.
fc03e86
fc03e86
67c3980
%if %{with haddock}
67c3980
%package doc
67c3980
Summary:        Haskell %{pkg_name} library documentation
f6aeb11
BuildArch:      noarch
67c3980
67c3980
%description doc
67c3980
This package provides the Haskell %{pkg_name} library documentation.
67c3980
%endif
67c3980
67c3980
67c3980
%if %{with ghc_prof}
67c3980
%package prof
67c3980
Summary:        Haskell %{pkg_name} profiling library
67c3980
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
f6aeb11
Supplements:    (%{name}-devel and ghc-prof)
67c3980
67c3980
%description prof
67c3980
This package provides the Haskell %{pkg_name} profiling library.
67c3980
%endif
67c3980
67c3980
fc03e86
%prep
7e17197
# Begin cabal-rpm setup:
6618110
%setup -q -n %{pkgver}
7e17197
# End cabal-rpm setup
fc03e86
fc03e86
fc03e86
%build
7e17197
# Begin cabal-rpm build:
fc03e86
%ghc_lib_build
7e17197
# End cabal-rpm build
fc03e86
fc03e86
fc03e86
%install
7e17197
# Begin cabal-rpm install
fc03e86
%ghc_lib_install
7e17197
# End cabal-rpm install
fc03e86
fc03e86
fc03e86
%files -f %{name}.files
7e17197
# Begin cabal-rpm files:
fc03e86
%license LICENSE
7e17197
# End cabal-rpm files
fc03e86
fc03e86
fc03e86
%files devel -f %{name}-devel.files
fc03e86
%doc CHANGELOG.markdown README.markdown
fc03e86
fc03e86
67c3980
%if %{with haddock}
67c3980
%files doc -f %{name}-doc.files
f6aeb11
%license LICENSE
67c3980
%endif
67c3980
67c3980
67c3980
%if %{with ghc_prof}
67c3980
%files prof -f %{name}-prof.files
67c3980
%endif
67c3980
67c3980
fc03e86
%changelog
eba9146
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.1-15
eba9146
- Second attempt - Rebuilt for
eba9146
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
eba9146
7ef1864
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.1-14
7ef1864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7ef1864
3f24e5a
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.3.2.1-13
3f24e5a
- refresh to cabal-rpm-2.0.6
3f24e5a
fb3e30a
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.1-12
fb3e30a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fb3e30a
67c3980
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 0.3.2.1-11
67c3980
- add doc and prof subpackages (cabal-rpm-1.0.0)
67c3980
256bfbb
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.1-10
256bfbb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
256bfbb
7e17197
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.3.2.1-9
7e17197
- refresh to cabal-rpm-0.13
7e17197
a2e8afa
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.1-8
a2e8afa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a2e8afa
e0552d4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.1-7
e0552d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e0552d4
b4d09ae
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2.1-6
b4d09ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b4d09ae
2b73bca
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.3.2.1-5
2b73bca
- rebuild
2b73bca
fc03e86
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.2.1-4
fc03e86
- Re-add dist tag to release numbers.
fc03e86
fc03e86
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.2.1-3
fc03e86
- Bump for Fedora 26.
fc03e86
fc03e86
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.2.1-2
fc03e86
- Update release to be newer than previous builds
fc03e86
fc03e86
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.2.1-1
fc03e86
- spec file generated by cabal-rpm-0.10.0