Blame ghc-silently.spec

2cd03f
# generated by cabal-rpm-0.13
4ddeec
# https://fedoraproject.org/wiki/Packaging:Haskell
4ddeec
4ddeec
%global pkg_name silently
6169a6
%global pkgver %{pkg_name}-%{version}
4ddeec
4ddeec
%bcond_with tests
4ddeec
4ddeec
Name:           ghc-%{pkg_name}
4ddeec
Version:        1.2.5
2cd03f
Release:        9%{?dist}
4ddeec
Summary:        Prevent or capture writing to stdout and other handles
4ddeec
4ddeec
License:        BSD
4ddeec
Url:            https://hackage.haskell.org/package/%{pkg_name}
2cd03f
# Begin cabal-rpm sources:
6169a6
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2cd03f
# End cabal-rpm sources
4ddeec
2cd03f
# Begin cabal-rpm deps:
4ddeec
BuildRequires:  ghc-Cabal-devel
4ddeec
BuildRequires:  ghc-rpm-macros
4ddeec
BuildRequires:  ghc-deepseq-devel
4ddeec
BuildRequires:  ghc-directory-devel
4ddeec
%if %{with tests}
4ddeec
BuildRequires:  ghc-nanospec-devel
4ddeec
BuildRequires:  ghc-temporary-devel
4ddeec
%endif
4ddeec
# End cabal-rpm deps
4ddeec
4ddeec
%description
4ddeec
Prevent or capture writing to stdout and other handles.
4ddeec
4ddeec
4ddeec
%package devel
4ddeec
Summary:        Haskell %{pkg_name} library development files
4ddeec
Provides:       %{name}-static = %{version}-%{release}
6169a6
Provides:       %{name}-doc = %{version}-%{release}
6169a6
%if %{defined ghc_version}
4ddeec
Requires:       ghc-compiler = %{ghc_version}
4ddeec
Requires(post): ghc-compiler = %{ghc_version}
4ddeec
Requires(postun): ghc-compiler = %{ghc_version}
6169a6
%endif
4ddeec
Requires:       %{name}%{?_isa} = %{version}-%{release}
4ddeec
4ddeec
%description devel
4ddeec
This package provides the Haskell %{pkg_name} library development files.
4ddeec
4ddeec
4ddeec
%prep
2cd03f
# Begin cabal-rpm setup:
6169a6
%setup -q -n %{pkgver}
2cd03f
# End cabal-rpm setup
4ddeec
4ddeec
4ddeec
%build
2cd03f
# Begin cabal-rpm build:
4ddeec
%ghc_lib_build
2cd03f
# End cabal-rpm build
4ddeec
4ddeec
4ddeec
%install
2cd03f
# Begin cabal-rpm install
4ddeec
%ghc_lib_install
2cd03f
# End cabal-rpm install
4ddeec
4ddeec
4ddeec
%check
4ddeec
%cabal_test
4ddeec
4ddeec
4ddeec
%post devel
4ddeec
%ghc_pkg_recache
4ddeec
4ddeec
4ddeec
%postun devel
4ddeec
%ghc_pkg_recache
4ddeec
4ddeec
4ddeec
%files -f %{name}.files
2cd03f
# Begin cabal-rpm files:
4ddeec
%license LICENSE
2cd03f
# End cabal-rpm files
4ddeec
4ddeec
4ddeec
%files devel -f %{name}-devel.files
4ddeec
4ddeec
4ddeec
%changelog
2cd03f
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.2.5-9
2cd03f
- refresh to cabal-rpm-0.13
2cd03f
3f56de
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-8
3f56de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3f56de
fb3c54
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-7
fb3c54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fb3c54
378841
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-6
378841
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
378841
823eff
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.2.5-5
823eff
- rebuild
823eff
4ddeec
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.2.5-4
4ddeec
- Re-add dist tag to release numbers.
4ddeec
4ddeec
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.2.5-3
4ddeec
- Bump for Fedora 26.
4ddeec
4ddeec
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.5-2
4ddeec
- Update release to be newer than previous builds
4ddeec
4ddeec
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.2.5-1
4ddeec
- spec file generated by cabal-rpm-0.10.0