commit
39725808e5
@ -0,0 +1 @@
|
|||||||
|
3159a8b6e50dc47db476996c239b1c01032c2c65 SOURCES/cabal-doctest-1.0.9.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
SOURCES/cabal-doctest-1.0.9.tar.gz
|
@ -0,0 +1,60 @@
|
|||||||
|
name: cabal-doctest
|
||||||
|
version: 1.0.9
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: A Setup.hs helper for running doctests
|
||||||
|
description:
|
||||||
|
As of now (end of 2021), there isn't @cabal doctest@
|
||||||
|
command. Yet, to properly work, @doctest@ needs plenty of configuration.
|
||||||
|
This library provides the common bits for writing a custom @Setup.hs@.
|
||||||
|
|
||||||
|
homepage: https://github.com/haskellari/cabal-doctest
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Oleg Grenrus <oleg.grenrus@iki.fi>
|
||||||
|
maintainer: Andreas Abel
|
||||||
|
copyright: (c) 2017 Oleg Grenrus
|
||||||
|
category: Distribution
|
||||||
|
build-type: Simple
|
||||||
|
cabal-version: >=1.10
|
||||||
|
extra-source-files:
|
||||||
|
ChangeLog.md
|
||||||
|
README.md
|
||||||
|
|
||||||
|
tested-with:
|
||||||
|
GHC == 9.4.1
|
||||||
|
GHC == 9.2.3
|
||||||
|
GHC == 9.0.2
|
||||||
|
GHC == 8.10.7
|
||||||
|
GHC == 8.8.4
|
||||||
|
GHC == 8.6.5
|
||||||
|
GHC == 8.4.4
|
||||||
|
GHC == 8.2.2
|
||||||
|
GHC == 8.0.2
|
||||||
|
GHC == 7.10.3
|
||||||
|
GHC == 7.8.4
|
||||||
|
GHC == 7.6.3
|
||||||
|
GHC == 7.4.2
|
||||||
|
GHC == 7.2.2
|
||||||
|
GHC == 7.0.4
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/haskellari/cabal-doctest
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules: Distribution.Extra.Doctest
|
||||||
|
other-modules:
|
||||||
|
other-extensions:
|
||||||
|
build-depends:
|
||||||
|
base >=4.3 && <5
|
||||||
|
, Cabal >=1.10 && <3.8
|
||||||
|
, directory
|
||||||
|
, filepath
|
||||||
|
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
if !impl(ghc >=7.2)
|
||||||
|
-- Work around a pattern-match coverage checking bug in GHC 7.0
|
||||||
|
ghc-options: -fno-warn-overlapping-patterns
|
@ -0,0 +1,149 @@
|
|||||||
|
# generated by cabal-rpm-2.0.9
|
||||||
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
|
%global pkg_name cabal-doctest
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 1.0.9
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: A Setup.hs helper for running doctests
|
||||||
|
|
||||||
|
License: BSD
|
||||||
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
|
# Begin cabal-rpm sources:
|
||||||
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
|
# End cabal-rpm sources
|
||||||
|
|
||||||
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-Cabal-prof
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
|
BuildRequires: ghc-directory-prof
|
||||||
|
BuildRequires: ghc-filepath-prof
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
|
%description
|
||||||
|
As of now (end of 2021), there isn't 'cabal doctest' command. Yet, to properly
|
||||||
|
work, 'doctest' needs plenty of configuration. This library provides the common
|
||||||
|
bits for writing a custom 'Setup.hs'.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
|
%if %{defined ghc_version}
|
||||||
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
%endif
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%package doc
|
||||||
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: ghc-filesystem
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%package prof
|
||||||
|
Summary: Haskell %{pkg_name} profiling library
|
||||||
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (%{name}-devel and ghc-prof)
|
||||||
|
|
||||||
|
%description prof
|
||||||
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
# Begin cabal-rpm setup:
|
||||||
|
%setup -q -n %{pkgver}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
|
%ghc_lib_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# Begin cabal-rpm install
|
||||||
|
%ghc_lib_install
|
||||||
|
# End cabal-rpm install
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
|
%license LICENSE
|
||||||
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
|
%doc ChangeLog.md README.md
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%files doc -f %{name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%files prof -f %{name}-prof.files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Jan 14 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.9-1
|
||||||
|
- Rebuilt for MSVSphere 9.3
|
||||||
|
|
||||||
|
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 1.0.9-1
|
||||||
|
- https://hackage.haskell.org/package/cabal-doctest-1.0.9/changelog
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 1.0.8-6
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 1.0.8-2
|
||||||
|
- refresh to cabal-rpm-2.0.6
|
||||||
|
|
||||||
|
* Sun Feb 09 2020 Jens Petersen <petersen@redhat.com> - 1.0.8-1
|
||||||
|
- update to 1.0.8
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 1.0.6-14
|
||||||
|
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Mar 10 2019 Jens Petersen <petersen@redhat.com> - 1.0.6-12
|
||||||
|
- bump over distributive
|
||||||
|
|
||||||
|
* Fri Mar 1 2019 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.6-1
|
||||||
|
- spec file generated by cabal-rpm-0.13.1
|
Loading…
Reference in new issue