|
|
5d1ae9b |
# generated by cabal-rpm-2.0.10 --subpackage
|
|
|
9d71114 |
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
d81427a |
|
|
|
d81427a |
%global pkg_name skylighting
|
|
|
d81427a |
%global pkgver %{pkg_name}-%{version}
|
|
|
d81427a |
|
|
|
5d1ae9b |
%global skylightingcore skylighting-core-0.10.5.2
|
|
|
6d4004c |
%global subpkgs %{skylightingcore}
|
|
|
6d4004c |
|
|
|
d81427a |
Name: ghc-%{pkg_name}
|
|
|
5d1ae9b |
Version: 0.10.5.2
|
|
|
6d4004c |
# can only be reset when all subpkgs bumped
|
|
|
8d8c332 |
Release: 4%{?dist}
|
|
|
d81427a |
Summary: Syntax highlighting library
|
|
|
d81427a |
|
|
|
d81427a |
License: GPLv2+
|
|
|
d81427a |
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
14e08aa |
# Begin cabal-rpm sources:
|
|
|
d81427a |
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
6d4004c |
Source1: https://hackage.haskell.org/package/%{skylightingcore}/%{skylightingcore}.tar.gz
|
|
|
14e08aa |
# End cabal-rpm sources
|
|
|
d81427a |
|
|
|
14e08aa |
# Begin cabal-rpm deps:
|
|
|
d81427a |
BuildRequires: ghc-Cabal-devel
|
|
|
6d4004c |
BuildRequires: ghc-rpm-macros-extra
|
|
|
2beed14 |
BuildRequires: ghc-base-prof
|
|
|
2beed14 |
BuildRequires: ghc-binary-prof
|
|
|
2beed14 |
BuildRequires: ghc-containers-prof
|
|
|
2beed14 |
#BuildRequires: ghc-skylighting-core-prof
|
|
|
2beed14 |
# for missing dep 'skylighting-core':
|
|
|
9514ffa |
BuildRequires: ghc-aeson-prof
|
|
|
9514ffa |
BuildRequires: ghc-ansi-terminal-prof
|
|
|
9514ffa |
BuildRequires: ghc-attoparsec-prof
|
|
|
9514ffa |
BuildRequires: ghc-base64-bytestring-prof
|
|
|
9514ffa |
BuildRequires: ghc-blaze-html-prof
|
|
|
5d1ae9b |
BuildRequires: ghc-bytestring-prof
|
|
|
9514ffa |
BuildRequires: ghc-case-insensitive-prof
|
|
|
9514ffa |
BuildRequires: ghc-colour-prof
|
|
|
9514ffa |
BuildRequires: ghc-directory-prof
|
|
|
9514ffa |
BuildRequires: ghc-filepath-prof
|
|
|
9514ffa |
BuildRequires: ghc-mtl-prof
|
|
|
9514ffa |
BuildRequires: ghc-safe-prof
|
|
|
9514ffa |
BuildRequires: ghc-text-prof
|
|
|
f62c01f |
BuildRequires: ghc-transformers-prof
|
|
|
2beed14 |
BuildRequires: ghc-utf8-string-prof
|
|
|
8418820 |
BuildRequires: ghc-xml-conduit-prof
|
|
|
d81427a |
# End cabal-rpm deps
|
|
|
d81427a |
|
|
|
d81427a |
%description
|
|
|
d81427a |
Skylighting is a syntax highlighting library with support for over one hundred
|
|
|
d81427a |
languages. It derives its tokenizers from XML syntax definitions used by KDE's
|
|
|
d81427a |
KSyntaxHighlighting framework, so any syntax supported by that framework can be
|
|
|
d81427a |
added. An optional command-line program is provided. Skylighting is intended to
|
|
|
672b6cc |
be the successor to highlighting-kate. This package provides generated syntax
|
|
|
672b6cc |
modules based on the KDE XML definitions provided by the 'skylighting-core'
|
|
|
672b6cc |
package. As a result this package is licensed under the GPL.
|
|
|
d81427a |
|
|
|
d81427a |
|
|
|
d81427a |
%package devel
|
|
|
d81427a |
Summary: Haskell %{pkg_name} library development files
|
|
|
d81427a |
Provides: %{name}-static = %{version}-%{release}
|
|
|
9514ffa |
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
|
|
8f30472 |
%if %{defined ghc_version}
|
|
|
d81427a |
Requires: ghc-compiler = %{ghc_version}
|
|
|
8f30472 |
%endif
|
|
|
d81427a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
d81427a |
|
|
|
d81427a |
%description devel
|
|
|
d81427a |
This package provides the Haskell %{pkg_name} library development files.
|
|
|
d81427a |
|
|
|
d81427a |
|
|
|
4f586c1 |
%if %{with haddock}
|
|
|
4f586c1 |
%package doc
|
|
|
4f586c1 |
Summary: Haskell %{pkg_name} library documentation
|
|
|
f62c01f |
BuildArch: noarch
|
|
|
8418820 |
Requires: ghc-filesystem
|
|
|
4f586c1 |
|
|
|
4f586c1 |
%description doc
|
|
|
4f586c1 |
This package provides the Haskell %{pkg_name} library documentation.
|
|
|
4f586c1 |
%endif
|
|
|
4f586c1 |
|
|
|
4f586c1 |
|
|
|
4f586c1 |
%if %{with ghc_prof}
|
|
|
4f586c1 |
%package prof
|
|
|
4f586c1 |
Summary: Haskell %{pkg_name} profiling library
|
|
|
4f586c1 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
f62c01f |
Supplements: (%{name}-devel and ghc-prof)
|
|
|
4f586c1 |
|
|
|
4f586c1 |
%description prof
|
|
|
4f586c1 |
This package provides the Haskell %{pkg_name} profiling library.
|
|
|
4f586c1 |
%endif
|
|
|
4f586c1 |
|
|
|
4f586c1 |
|
|
|
6d4004c |
%global main_version %{version}
|
|
|
6d4004c |
|
|
|
6d4004c |
%if %{defined ghclibdir}
|
|
|
6d4004c |
%ghc_lib_subpackage %{skylightingcore}
|
|
|
6d4004c |
%endif
|
|
|
6d4004c |
|
|
|
6d4004c |
%global version %{main_version}
|
|
|
6d4004c |
|
|
|
6d4004c |
|
|
|
d81427a |
%prep
|
|
|
14e08aa |
# Begin cabal-rpm setup:
|
|
|
6d4004c |
%setup -q -n %{pkgver} -a1
|
|
|
14e08aa |
# End cabal-rpm setup
|
|
|
d81427a |
|
|
|
d81427a |
|
|
|
d81427a |
%build
|
|
|
14e08aa |
# Begin cabal-rpm build:
|
|
|
6d4004c |
%ghc_libs_build %{subpkgs}
|
|
|
d81427a |
%ghc_lib_build
|
|
|
14e08aa |
# End cabal-rpm build
|
|
|
d81427a |
|
|
|
d81427a |
|
|
|
d81427a |
%install
|
|
|
14e08aa |
# Begin cabal-rpm install
|
|
|
6d4004c |
%ghc_libs_install %{subpkgs}
|
|
|
d81427a |
%ghc_lib_install
|
|
|
14e08aa |
# End cabal-rpm install
|
|
|
d81427a |
|
|
|
d81427a |
|
|
|
d81427a |
%files -f %{name}.files
|
|
|
14e08aa |
# Begin cabal-rpm files:
|
|
|
d81427a |
%license LICENSE
|
|
|
14e08aa |
# End cabal-rpm files
|
|
|
d81427a |
|
|
|
d81427a |
|
|
|
d81427a |
%files devel -f %{name}-devel.files
|
|
|
d81427a |
%doc README.md changelog.md
|
|
|
d81427a |
|
|
|
d81427a |
|
|
|
4f586c1 |
%if %{with haddock}
|
|
|
4f586c1 |
%files doc -f %{name}-doc.files
|
|
|
f62c01f |
%license LICENSE
|
|
|
4f586c1 |
%endif
|
|
|
4f586c1 |
|
|
|
4f586c1 |
|
|
|
4f586c1 |
%if %{with ghc_prof}
|
|
|
4f586c1 |
%files prof -f %{name}-prof.files
|
|
|
4f586c1 |
%endif
|
|
|
4f586c1 |
|
|
|
4f586c1 |
|
|
|
d81427a |
%changelog
|
|
|
8d8c332 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5.2-4
|
|
|
8d8c332 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
8d8c332 |
|
|
|
10201cf |
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.10.5.2-3
|
|
|
10201cf |
- rebuild
|
|
|
10201cf |
|
|
|
87b5ac3 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5.2-2
|
|
|
87b5ac3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
87b5ac3 |
|
|
|
5d1ae9b |
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.10.5.2-6
|
|
|
5d1ae9b |
- update to 0.10.5.2
|
|
|
5d1ae9b |
|
|
|
8418820 |
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.10.2-5
|
|
|
8418820 |
- update to 0.10.2
|
|
|
8418820 |
|
|
|
aa6b0ad |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-5
|
|
|
aa6b0ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
aa6b0ad |
|
|
|
2dd3e93 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-4
|
|
|
2dd3e93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2dd3e93 |
|
|
|
02de987 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-3
|
|
|
02de987 |
- Second attempt - Rebuilt for
|
|
|
02de987 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
02de987 |
|
|
|
a85c65f |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-2
|
|
|
a85c65f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a85c65f |
|
|
|
31e4efb |
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.8.5-1
|
|
|
31e4efb |
- update to 0.8.5
|
|
|
31e4efb |
|
|
|
d013004 |
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.8.4-2
|
|
|
d013004 |
- update to 0.8.4
|
|
|
d013004 |
|
|
|
2beed14 |
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.8.2.1-5
|
|
|
2beed14 |
- update to 0.8.2.1
|
|
|
2beed14 |
|
|
|
5d90c0d |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-4
|
|
|
5d90c0d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5d90c0d |
|
|
|
8931243 |
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.7.7-3
|
|
|
8931243 |
- update to 0.7.7
|
|
|
8931243 |
|
|
|
ea8c4c2 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-2
|
|
|
ea8c4c2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ea8c4c2 |
|
|
|
672b6cc |
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.7.5-1
|
|
|
672b6cc |
- update to 0.7.5
|
|
|
6d4004c |
- subpackage skylightlighting-core
|
|
|
672b6cc |
|
|
|
14e08aa |
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6-3
|
|
|
14e08aa |
- refresh to cabal-rpm-0.13
|
|
|
14e08aa |
|
|
|
8d3867d |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-2
|
|
|
8d3867d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8d3867d |
|
|
|
f5ecaaa |
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.6-1
|
|
|
f5ecaaa |
- update to 0.6
|
|
|
f5ecaaa |
|
|
|
ae5a1d8 |
* Mon Jul 23 2018 Miro HronĨok <mhroncok@redhat.com> - 0.5.0.1-4
|
|
|
ae5a1d8 |
- Rebuilt for #1607054
|
|
|
ae5a1d8 |
|
|
|
456f6a0 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.1-3
|
|
|
456f6a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
456f6a0 |
|
|
|
a869b22 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0.1-2
|
|
|
a869b22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a869b22 |
|
|
|
23155c2 |
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.5.0.1-1
|
|
|
23155c2 |
- update to 0.5.0.1
|
|
|
23155c2 |
|
|
|
8f30472 |
* Tue Dec 5 2017 Jens Petersen <petersen@redhat.com> - 0.3.3.1-1
|
|
|
8f30472 |
- update to 0.3.3.1
|
|
|
8f30472 |
- reenable prof everywhere
|
|
|
8f30472 |
- use system-pcre flag
|
|
|
8f30472 |
|
|
|
d81427a |
* Mon Nov 13 2017 Jens Petersen <petersen@redhat.com> - 0.1.1.5-3
|
|
|
d81427a |
- add comment for the regex-pcre patch
|
|
|
d81427a |
|
|
|
d81427a |
* Fri Nov 10 2017 Jens Petersen <petersen@redhat.com> - 0.1.1.5-2
|
|
|
d81427a |
- disable prof on aarch64, armv7hl, and s390
|
|
|
d81427a |
- build with regex-pcre
|
|
|
d81427a |
|
|
|
d81427a |
* Tue Nov 7 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.1.1.5-1
|
|
|
d81427a |
- spec file generated by cabal-rpm-0.11.2
|