Blame ghc-pretty-simple.spec

ac30257
# generated by cabal-rpm-2.0.9
c986bdf
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
c986bdf
c986bdf
%global pkg_name pretty-simple
c986bdf
%global pkgver %{pkg_name}-%{version}
c986bdf
c986bdf
%ifnarch s390x
c986bdf
%bcond_without tests
c986bdf
%endif
c986bdf
c986bdf
Name:           ghc-%{pkg_name}
a398162
Version:        4.1.1.0
3d4c477
Release:        2%{?dist}
c986bdf
Summary:        Pretty printer for data types with a 'Show' instance
c986bdf
c986bdf
License:        BSD
c986bdf
Url:            https://hackage.haskell.org/package/%{pkg_name}
c986bdf
# Begin cabal-rpm sources:
c986bdf
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
c986bdf
# End cabal-rpm sources
c986bdf
c986bdf
# Begin cabal-rpm deps:
c986bdf
BuildRequires:  ghc-Cabal-devel
c986bdf
BuildRequires:  ghc-cabal-doctest-devel
c986bdf
BuildRequires:  ghc-rpm-macros
c986bdf
BuildRequires:  ghc-base-prof
c986bdf
BuildRequires:  ghc-containers-prof
c986bdf
BuildRequires:  ghc-mtl-prof
a398162
BuildRequires:  ghc-optparse-applicative-prof
5764109
BuildRequires:  ghc-prettyprinter-prof
5764109
BuildRequires:  ghc-prettyprinter-ansi-terminal-prof
c986bdf
BuildRequires:  ghc-text-prof
c986bdf
BuildRequires:  ghc-transformers-prof
c986bdf
%if %{with tests}
c986bdf
BuildRequires:  ghc-Glob-devel
c986bdf
BuildRequires:  ghc-QuickCheck-devel
c986bdf
BuildRequires:  ghc-doctest-devel
c986bdf
BuildRequires:  ghc-template-haskell-devel
c986bdf
%endif
c986bdf
# End cabal-rpm deps
c986bdf
c986bdf
%description
c986bdf
Please see <https://github.com/cdepillabout/pretty-simple#readme README.md>.
c986bdf
c986bdf
c986bdf
%package devel
c986bdf
Summary:        Haskell %{pkg_name} library development files
c986bdf
Provides:       %{name}-static = %{version}-%{release}
c986bdf
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
c986bdf
%if %{defined ghc_version}
c986bdf
Requires:       ghc-compiler = %{ghc_version}
c986bdf
%endif
c986bdf
Requires:       %{name}%{?_isa} = %{version}-%{release}
c986bdf
c986bdf
%description devel
c986bdf
This package provides the Haskell %{pkg_name} library development files.
c986bdf
c986bdf
c986bdf
%if %{with haddock}
c986bdf
%package doc
c986bdf
Summary:        Haskell %{pkg_name} library documentation
c986bdf
BuildArch:      noarch
ac30257
Requires:       ghc-filesystem
c986bdf
c986bdf
%description doc
c986bdf
This package provides the Haskell %{pkg_name} library documentation.
c986bdf
%endif
c986bdf
c986bdf
c986bdf
%if %{with ghc_prof}
c986bdf
%package prof
c986bdf
Summary:        Haskell %{pkg_name} profiling library
c986bdf
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
c986bdf
Supplements:    (%{name}-devel and ghc-prof)
c986bdf
c986bdf
%description prof
c986bdf
This package provides the Haskell %{pkg_name} profiling library.
c986bdf
%endif
c986bdf
c986bdf
c986bdf
%prep
c986bdf
# Begin cabal-rpm setup:
c986bdf
%setup -q -n %{pkgver}
c986bdf
# End cabal-rpm setup
c986bdf
c986bdf
c986bdf
%build
c986bdf
# Begin cabal-rpm build:
c986bdf
%ghc_lib_build
c986bdf
# End cabal-rpm build
c986bdf
c986bdf
c986bdf
%install
c986bdf
# Begin cabal-rpm install
c986bdf
%ghc_lib_install
c986bdf
# End cabal-rpm install
c986bdf
c986bdf
c986bdf
%check
ac30257
%if %{with tests}
c986bdf
%cabal_test
ac30257
%endif
c986bdf
c986bdf
c986bdf
%files -f %{name}.files
c986bdf
# Begin cabal-rpm files:
c986bdf
%license LICENSE
c986bdf
# End cabal-rpm files
c986bdf
c986bdf
c986bdf
%files devel -f %{name}-devel.files
c986bdf
%doc CHANGELOG.md README.md example
a398162
%{_bindir}/%{pkg_name}
c986bdf
c986bdf
c986bdf
%if %{with haddock}
c986bdf
%files doc -f %{name}-doc.files
c986bdf
%license LICENSE
c986bdf
%endif
c986bdf
c986bdf
c986bdf
%if %{with ghc_prof}
c986bdf
%files prof -f %{name}-prof.files
c986bdf
%endif
c986bdf
c986bdf
c986bdf
%changelog
3d4c477
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1.0-2
3d4c477
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3d4c477
a398162
* Wed Jun 08 2022 Jens Petersen <petersen@redhat.com> - 4.1.1.0-1
a398162
- https://hackage.haskell.org/package/pretty-simple-4.1.1.0/changelog
a398162
a2f8395
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0.0-2
a2f8395
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a2f8395
5764109
* Thu Aug  5 2021 Jens Petersen <petersen@redhat.com> - 4.0.0.0-1
5764109
- update to 4.0.0.0
5764109
3095562
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3.0-3
3095562
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3095562
b7330fd
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3.0-2
b7330fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b7330fd
c986bdf
* Sun Aug 23 2020 Jens Petersen <petersen@redhat.com> - 3.2.3.0-1
c986bdf
- spec file generated by cabal-rpm-2.0.6