Compare commits
21 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0cfbe71551 | ||
|
916f88289b | ||
|
65bc7c7812 | ||
|
4fdbb72e49 | ||
|
aa9897a233 | ||
|
8a16cdd2a0 | ||
|
703781948f | ||
|
2527ec9966 | ||
|
63b650c504 | ||
|
173b247ba0 | ||
|
acb0e03b93 | ||
|
6eee43316f | ||
|
917f5b7655 | ||
|
c5c321c9a6 | ||
|
a4a14c430b | ||
|
3daa47cd64 | ||
|
9ed690448c | ||
|
39183068cb | ||
|
9b99f2388c | ||
|
8f6264aeb0 | ||
|
a37dbd357b |
4
.gitignore
vendored
4
.gitignore
vendored
@ -4,3 +4,7 @@
|
||||
/haddock-library-1.4.3.tar.gz
|
||||
/haddock-library-1.4.5.tar.gz
|
||||
/haddock-library-1.5.0.1.tar.gz
|
||||
/haddock-library-1.7.0.tar.gz
|
||||
/haddock-library-1.8.0.tar.gz
|
||||
/haddock-library-1.9.0.tar.gz
|
||||
/haddock-library-1.10.0.tar.gz
|
||||
|
87
changelog
Normal file
87
changelog
Normal file
@ -0,0 +1,87 @@
|
||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.10.0-5
|
||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 1.10.0-3
|
||||
- rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Aug 6 2021 Jens Petersen <petersen@redhat.com> - 1.10.0-1
|
||||
- update to 1.10.0
|
||||
|
||||
* Fri Aug 6 2021 Jens Petersen <petersen@redhat.com> - 1.9.0-1
|
||||
- update to 1.9.0
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun Jun 07 2020 Jens Petersen <petersen@redhat.com> - 1.8.0-1
|
||||
- update to 1.8.0
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 1.7.0-1
|
||||
- update to 1.7.0
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 1.5.0.1-1
|
||||
- update to 1.5.0.1
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.4.5-3
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 1.4.5-1
|
||||
- update to 1.4.5
|
||||
- disable haddock generation due to internal library
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.4.3-1
|
||||
- update to 1.4.3
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 1.4.2-1
|
||||
- update to 1.4.2
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Sep 17 2015 Jens Petersen <petersen@redhat.com> - 1.2.1-1
|
||||
- update to 1.2.1
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Jan 15 2015 Jens Petersen <petersen@redhat.com> - 1.1.1-1
|
||||
- use utf8 for build to avoid error with haddock-prolog7045.txt
|
||||
|
||||
* Thu Jan 15 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.1.1
|
||||
- spec file generated by cabal-rpm-0.9.2
|
@ -1,60 +1,57 @@
|
||||
# generated by cabal-rpm-0.13
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name haddock-library
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
# haddock breaks with internal libraries
|
||||
%global without_haddock 1
|
||||
# testsuite missing deps: tree-diff
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.5.0.1
|
||||
Release: 1%{?dist}
|
||||
Version: 1.10.0
|
||||
Release: %autorelease
|
||||
Summary: Library exposing some functionality of Haddock
|
||||
|
||||
License: BSD
|
||||
License: BSD-2-Clause
|
||||
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: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-attoparsec-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-parsec-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-base-compat-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
BuildRequires: ghc-optparse-applicative-devel
|
||||
BuildRequires: ghc-tree-diff-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-parsec-prof
|
||||
BuildRequires: ghc-text-prof
|
||||
BuildRequires: ghc-transformers-prof
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
Haddock is a documentation-generation tool for Haskell libraries.
|
||||
These modules expose some functionality of it without pulling in the GHC
|
||||
dependency. Please note that the API is likely to change so specify upper
|
||||
bounds in your project if you can't release often. For interacting with Haddock
|
||||
itself, see the ‘haddock’ package.
|
||||
dependency. Please note that the API is likely to change so be sure to specify
|
||||
upper bounds in your projects. For interacting with Haddock itself, see the
|
||||
[haddock package](https://hackage.haskell.org/package/haddock).
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Provides: %{name}-doc = %{version}-%{release}
|
||||
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||
%if %{defined ghc_version}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
%endif
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
@ -63,9 +60,32 @@ 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}
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
@ -81,22 +101,9 @@ files.
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
%license vendor/attoparsec-0.13.1.0/LICENSE
|
||||
# End cabal-rpm files
|
||||
|
||||
|
||||
@ -104,52 +111,16 @@ files.
|
||||
%doc CHANGES.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
|
||||
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 1.5.0.1-1
|
||||
- update to 1.5.0.1
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.4.5-3
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 1.4.5-1
|
||||
- update to 1.4.5
|
||||
- disable haddock generation due to internal library
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.4.3-1
|
||||
- update to 1.4.3
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 1.4.2-1
|
||||
- update to 1.4.2
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Sep 17 2015 Jens Petersen <petersen@redhat.com> - 1.2.1-1
|
||||
- update to 1.2.1
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Jan 15 2015 Jens Petersen <petersen@redhat.com> - 1.1.1-1
|
||||
- use utf8 for build to avoid error with haddock-prolog7045.txt
|
||||
|
||||
* Thu Jan 15 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.1.1
|
||||
- spec file generated by cabal-rpm-0.9.2
|
||||
%autochangelog
|
||||
|
127
haddock-library-1.10.0.cabal
Normal file
127
haddock-library-1.10.0.cabal
Normal file
@ -0,0 +1,127 @@
|
||||
cabal-version: 2.2
|
||||
name: haddock-library
|
||||
version: 1.10.0
|
||||
x-revision: 3
|
||||
synopsis: Library exposing some functionality of Haddock.
|
||||
|
||||
description: Haddock is a documentation-generation tool for Haskell
|
||||
libraries. These modules expose some
|
||||
functionality of it without pulling in the GHC
|
||||
dependency. Please note that the API is likely
|
||||
to change so be sure to specify upper bounds in
|
||||
your projects. For interacting with Haddock
|
||||
itself, see the [haddock package](https://hackage.haskell.org/package/haddock).
|
||||
|
||||
license: BSD-2-Clause
|
||||
license-file: LICENSE
|
||||
maintainer: Alec Theriault <alec.theriault@gmail.com>, Alex Biehl <alexbiehl@gmail.com>, Simon Hengel <sol@typeful.net>, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
|
||||
homepage: http://www.haskell.org/haddock/
|
||||
bug-reports: https://github.com/haskell/haddock/issues
|
||||
category: Documentation
|
||||
tested-with: GHC == 7.4.2
|
||||
, GHC == 7.6.3
|
||||
, GHC == 7.8.4
|
||||
, GHC == 7.10.3
|
||||
, GHC == 8.0.2
|
||||
, GHC == 8.2.2
|
||||
, GHC == 8.4.4
|
||||
, GHC == 8.6.5
|
||||
, GHC == 8.8.3
|
||||
, GHC == 8.10.1
|
||||
, GHC == 9.0.1
|
||||
|
||||
extra-source-files:
|
||||
CHANGES.md
|
||||
fixtures/examples/*.input
|
||||
fixtures/examples/*.parsed
|
||||
|
||||
common lib-defaults
|
||||
default-language: Haskell2010
|
||||
|
||||
build-depends:
|
||||
, base >= 4.5 && < 4.17
|
||||
, bytestring
|
||||
, containers ^>= 0.4.2.1 || ^>= 0.5.0.0 || ^>= 0.6.0.1
|
||||
, transformers
|
||||
, text ^>= 1.2.3.0 || ^>= 2.0
|
||||
, parsec ^>= 3.1.13.0
|
||||
|
||||
ghc-options: -funbox-strict-fields -Wall
|
||||
if impl(ghc >= 8.0)
|
||||
ghc-options: -Wcompat -Wnoncanonical-monad-instances
|
||||
|
||||
library
|
||||
import: lib-defaults
|
||||
|
||||
hs-source-dirs: src
|
||||
|
||||
exposed-modules:
|
||||
Documentation.Haddock.Doc
|
||||
Documentation.Haddock.Markup
|
||||
Documentation.Haddock.Parser
|
||||
Documentation.Haddock.Types
|
||||
|
||||
other-modules:
|
||||
CompatPrelude
|
||||
Documentation.Haddock.Parser.Util
|
||||
Documentation.Haddock.Parser.Monad
|
||||
Documentation.Haddock.Parser.Identifier
|
||||
|
||||
test-suite spec
|
||||
import: lib-defaults
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
hs-source-dirs:
|
||||
test
|
||||
src
|
||||
|
||||
other-modules:
|
||||
CompatPrelude
|
||||
Documentation.Haddock.Doc
|
||||
Documentation.Haddock.Markup
|
||||
Documentation.Haddock.Parser
|
||||
Documentation.Haddock.Parser.Monad
|
||||
Documentation.Haddock.Parser.Util
|
||||
Documentation.Haddock.Parser.UtilSpec
|
||||
Documentation.Haddock.ParserSpec
|
||||
Documentation.Haddock.Types
|
||||
Documentation.Haddock.Parser.Identifier
|
||||
|
||||
build-depends:
|
||||
, base-compat ^>= 0.9.3 || ^>= 0.11.0
|
||||
, QuickCheck ^>= 2.11 || ^>= 2.13.2 || ^>= 2.14
|
||||
, deepseq ^>= 1.3.0.0 || ^>= 1.4.0.0
|
||||
|
||||
-- NB: build-depends & build-tool-depends have independent
|
||||
-- install-plans, so it's best to limit to a single major
|
||||
-- version of `hspec` & `hspec-discover` to ensure
|
||||
-- intercompatibility
|
||||
build-depends:
|
||||
, hspec >= 2.4.4 && < 2.8
|
||||
|
||||
build-tool-depends:
|
||||
, hspec-discover:hspec-discover >= 2.4.4 && < 2.8
|
||||
|
||||
test-suite fixtures
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell2010
|
||||
main-is: Fixtures.hs
|
||||
ghc-options: -Wall
|
||||
hs-source-dirs: fixtures
|
||||
build-depends:
|
||||
-- intra-package dependency
|
||||
, haddock-library
|
||||
-- constraints inherited via lib:haddock-library component
|
||||
, base
|
||||
|
||||
-- extra dependencies
|
||||
, base-compat ^>= 0.9.3 || ^>= 0.11.0
|
||||
, directory ^>= 1.3.0.2
|
||||
, filepath ^>= 1.4.1.2
|
||||
, optparse-applicative ^>= 0.15
|
||||
, tree-diff ^>= 0.1
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
subdir: haddock-library
|
||||
location: https://github.com/haskell/haddock.git
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (haddock-library-1.5.0.1.tar.gz) = 832f21280ab2dce56c668dcf087c884bc450455d8198fb75ee856c19ce1b547f4a2c1403f4f20e044382f140fed848ae7657da9d05a0ab0f0752433b20397559
|
||||
SHA512 (haddock-library-1.10.0.tar.gz) = dac536a2b8e2764de1a1b1a16fc328e15455656c2992fb3b3bccdeae2bb6ac81fe94e164aa2a70cff7cea3b97347b8510aadb5fa1c0564bb2429947f0aace0d1
|
||||
|
Loading…
Reference in New Issue
Block a user