|
|
@ -4,11 +4,9 @@
|
|
|
|
%global pkg_name skylighting
|
|
|
|
%global pkg_name skylighting
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.6
|
|
|
|
Version: 0.7.5
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Syntax highlighting library
|
|
|
|
Summary: Syntax highlighting library
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
@ -36,19 +34,9 @@ BuildRequires: ghc-hxt-devel
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-regex-pcre-devel
|
|
|
|
BuildRequires: ghc-regex-pcre-devel
|
|
|
|
BuildRequires: ghc-safe-devel
|
|
|
|
BuildRequires: ghc-safe-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-skylighting-core-devel
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
BuildRequires: ghc-utf8-string-devel
|
|
|
|
BuildRequires: ghc-utf8-string-devel
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
BuildRequires: ghc-Diff-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-pretty-show-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-random-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-tasty-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-tasty-golden-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-tasty-hunit-devel
|
|
|
|
|
|
|
|
BuildRequires: ghc-tasty-quickcheck-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -56,7 +44,9 @@ Skylighting is a syntax highlighting library with support for over one hundred
|
|
|
|
languages. It derives its tokenizers from XML syntax definitions used by KDE's
|
|
|
|
languages. It derives its tokenizers from XML syntax definitions used by KDE's
|
|
|
|
KSyntaxHighlighting framework, so any syntax supported by that framework can be
|
|
|
|
KSyntaxHighlighting framework, so any syntax supported by that framework can be
|
|
|
|
added. An optional command-line program is provided. Skylighting is intended to
|
|
|
|
added. An optional command-line program is provided. Skylighting is intended to
|
|
|
|
be the successor to highlighting-kate.
|
|
|
|
be the successor to highlighting-kate. This package provides generated syntax
|
|
|
|
|
|
|
|
modules based on the KDE XML definitions provided by the 'skylighting-core'
|
|
|
|
|
|
|
|
package. As a result this package is licensed under the GPL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
@ -93,10 +83,6 @@ cabal-tweak-flag system-pcre True
|
|
|
|
# End cabal-rpm install
|
|
|
|
# End cabal-rpm install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
@ -116,6 +102,9 @@ cabal-tweak-flag system-pcre True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.7.5-1
|
|
|
|
|
|
|
|
- update to 0.7.5
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6-3
|
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6-3
|
|
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
|
|
|
|
|
|
|
|