Group :: Development/Other
RPM: perl-Syntax-Highlight-Engine-Kate
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: gcc-c++ perl(CPAN.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(Path/Tiny.pm) perl(YAML/Tiny.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Syntax-Highlight-Engine-Kate
Version: 0.14
Release: alt1_3
Summary: Port to Perl of the syntax highlight engine of the Kate text editor
License: GPL+ or Artistic
Group: Development/Other
URL: https://metacpan.org/release/Syntax-Highlight-Engine-Kate
Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/Syntax-Highlight-Engine-Kate-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(inc/Module/Install.pm)
BuildRequires: perl(Module/Install/Metadata.pm)
BuildRequires: perl(Module/Install/WriteAll.pm)
BuildRequires: sed
# Run-time:
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(File/Basename.pm)
# lib not used
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Term::ANSIColor not used
BuildRequires: perl(XML/Dumper.pm)
BuildRequires: perl(XML/TokeParser.pm)
# Tests:
BuildRequires: perl(constant.pm)
BuildRequires: perl(diagnostics.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(File/Find.pm)
BuildRequires: perl(File/Spec/Functions.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(List/Util.pm)
BuildRequires: perl(Term/ANSIColor.pm)
BuildRequires: perl(Test/Differences.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Warn.pm)
BuildRequires: perl(Time/HiRes.pm)
# Optional tests:
# Test::Pod 1.00 not used
Requires: perl(base.pm)
Source44: import.info
%description
Syntax::Highlight::Engine::Kate is a port to perl of the syntax highlight
engine of the Kate text editor.
%prep
%setup -q -n Syntax-Highlight-Engine-Kate-%{version}
find -type f -exec chmod -c -x {} +
# Remove bundled modules
rm -rf ./inc
sed -i '/^inc\//d' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README REGISTERED
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
BuildRequires(pre): rpm-build-perl
BuildRequires: gcc-c++ perl(CPAN.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(Path/Tiny.pm) perl(YAML/Tiny.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Syntax-Highlight-Engine-Kate
Version: 0.14
Release: alt1_3
Summary: Port to Perl of the syntax highlight engine of the Kate text editor
License: GPL+ or Artistic
Group: Development/Other
URL: https://metacpan.org/release/Syntax-Highlight-Engine-Kate
Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/Syntax-Highlight-Engine-Kate-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(inc/Module/Install.pm)
BuildRequires: perl(Module/Install/Metadata.pm)
BuildRequires: perl(Module/Install/WriteAll.pm)
BuildRequires: sed
# Run-time:
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(File/Basename.pm)
# lib not used
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Term::ANSIColor not used
BuildRequires: perl(XML/Dumper.pm)
BuildRequires: perl(XML/TokeParser.pm)
# Tests:
BuildRequires: perl(constant.pm)
BuildRequires: perl(diagnostics.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(File/Find.pm)
BuildRequires: perl(File/Spec/Functions.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(List/Util.pm)
BuildRequires: perl(Term/ANSIColor.pm)
BuildRequires: perl(Test/Differences.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Warn.pm)
BuildRequires: perl(Time/HiRes.pm)
# Optional tests:
# Test::Pod 1.00 not used
Requires: perl(base.pm)
Source44: import.info
%description
Syntax::Highlight::Engine::Kate is a port to perl of the syntax highlight
engine of the Kate text editor.
%prep
%setup -q -n Syntax-Highlight-Engine-Kate-%{version}
find -type f -exec chmod -c -x {} +
# Remove bundled modules
rm -rf ./inc
sed -i '/^inc\//d' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README REGISTERED
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here