217 lines
13 KiB
RPMSpec
217 lines
13 KiB
RPMSpec
#
|
|
# spec file for package perl-Syntax-Highlight-Engine-Kate
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Syntax-Highlight-Engine-Kate
|
|
Name: perl-Syntax-Highlight-Engine-Kate
|
|
Version: 0.140.0
|
|
Release: 0
|
|
# 0.14 -> normalize -> 0.140.0
|
|
%define cpan_version 0.14
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Port to Perl of the syntax highlight engine of the Kate text editor
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
|
BuildRequires: perl(Path::Tiny)
|
|
BuildRequires: perl(Test::Differences) >= 0.61
|
|
BuildRequires: perl(Test::More) >= 1.00
|
|
BuildRequires: perl(Test::Warn) >= 0.30
|
|
Requires: perl(Path::Tiny)
|
|
Provides: perl(Syntax::Highlight::Engine::Kate) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ABC) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::AHDL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ANSI_C89) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ASP) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::AVR_Assembler) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::AWK) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Ada) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Alerts) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::All) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Ansys) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Apache_Configuration) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Asm6502) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::BaseTest) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::BaseTestchild) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Bash) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::BibTeX) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::C) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::CGiS) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::CMake) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::CSS) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::CSS_PHP) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::CUE_Sheet) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Cdash) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Cg) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ChangeLog) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Cisco) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Clipper) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ColdFusion) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Common_Lisp) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ComponentminusPascal) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Convert::ToolKit) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Convert::XMLData) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Cplusplus) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::D) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::De_DE) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Debian_Changelog) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Debian_Control) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Desktop) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Diff) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Doxygen) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::E_Language) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Eiffel) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Email) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::En_US) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Euphoria) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Ferite) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Fortran) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::FourGL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::FourGLminusPER) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::FreeBASIC) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::GDL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::GLSL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::GNU_Assembler) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::GNU_Gettext) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::HTML) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Haskell) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::IDL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ILERPG) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::INI_Files) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Inform) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Intel_x86_NASM) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::JSP) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Java) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::JavaScript) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::JavaScript_PHP) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Javadoc) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::KBasic) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Kate_File_Template) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::LDIF) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::LPC) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::LaTeX) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Lex_Flex) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::LilyPond) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Literate_Haskell) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Logtalk) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Lua) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::M3U) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::MABminusDB) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::MIPS_Assembler) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Makefile) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Mason) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Matlab) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Modulaminus2) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Music_Publisher) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Nl) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Objective_Caml) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::ObjectiveminusC) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Octave) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::PHP_HTML) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::PHP_PHP) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::POVminusRay) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Pascal) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Perl) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Perl6) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::PicAsm) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Pike) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::PostScript) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Progress) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Prolog) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::PureBasic) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Python) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Quake_Script) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::REXX) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::RPM_Spec) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::RSI_IDL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::R_Script) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::RenderMan_RIB) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Ruby) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::SGML) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::SML) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::SQL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::SQL_MySQL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::SQL_PostgreSQL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Sather) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Scheme) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Scilab) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Sieve) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Spice) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Stata) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::TI_Basic) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::TaskJuggler) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Tcl_Tk) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Template) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Txt2tags) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::UnrealScript) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::VHDL) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::VRML) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Velocity) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Verilog) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::WINE_Config) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Wikimedia) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::XHarbour) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::XML) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::XML_Debug) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Xorg_Configuration) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Xslt) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Yacas) = %{version}
|
|
Provides: perl(Syntax::Highlight::Engine::Kate::Yacc_Bison) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
*This module is now deprecated*.
|
|
|
|
It is superseded and replaced by *Syntax::Kamelon*. Best use
|
|
*Syntax::Kamelon* for new projects.
|
|
|
|
Syntax::Highlight::Engine::Kate is a port to Perl of the syntax highlight
|
|
engine of the Kate text editor.
|
|
|
|
The language XML files of Kate have been rewritten to Perl modules using a
|
|
script. These modules function as plugins to this module.
|
|
|
|
Syntax::Highlight::Engine::Kate inherits
|
|
Syntax::Highlight::Engine::Kate::Template.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
|
|
%build
|
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes README REGISTERED samples
|
|
|
|
%changelog
|