Files
perl-Perl-LanguageServer/perl-Perl-LanguageServer.spec

104 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Perl-LanguageServer
#
# Copyright (c) 2023 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 Perl-LanguageServer
Name: perl-Perl-LanguageServer
Version: 2.6.1
Release: 0
License: Artistic-2.0
Summary: Language Server and Debug Protocol Adapter for Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GR/GRICHTER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(AnyEvent)
BuildRequires: perl(AnyEvent::AIO)
BuildRequires: perl(Class::Refresh)
BuildRequires: perl(Compiler::Lexer) >= 0.23
BuildRequires: perl(Coro)
BuildRequires: perl(Data::Dump)
BuildRequires: perl(Encode::Locale)
BuildRequires: perl(Hash::SafeKeys)
BuildRequires: perl(IO::AIO)
BuildRequires: perl(JSON)
BuildRequires: perl(Moose)
BuildRequires: perl(PadWalker)
Requires: perl(AnyEvent)
Requires: perl(AnyEvent::AIO)
Requires: perl(Class::Refresh)
Requires: perl(Compiler::Lexer) >= 0.23
Requires: perl(Coro)
Requires: perl(Data::Dump)
Requires: perl(Encode::Locale)
Requires: perl(Hash::SafeKeys)
Requires: perl(IO::AIO)
Requires: perl(JSON)
Requires: perl(Moose)
Requires: perl(PadWalker)
Provides: perl(DB) = 1.70.0
Provides: perl(Perl::LanguageServer) = 2.6.1
Provides: perl(Perl::LanguageServer::DebuggerBridge)
Provides: perl(Perl::LanguageServer::DebuggerInterface)
Provides: perl(Perl::LanguageServer::DebuggerProcess)
Provides: perl(Perl::LanguageServer::DevTool)
Provides: perl(Perl::LanguageServer::IO)
Provides: perl(Perl::LanguageServer::Methods)
Provides: perl(Perl::LanguageServer::Methods::DebugAdapter)
Provides: perl(Perl::LanguageServer::Methods::DebugAdapterInterface)
Provides: perl(Perl::LanguageServer::Methods::textDocument)
Provides: perl(Perl::LanguageServer::Methods::workspace)
Provides: perl(Perl::LanguageServer::Parser)
Provides: perl(Perl::LanguageServer::Req)
Provides: perl(Perl::LanguageServer::SyntaxChecker)
Provides: perl(Perl::LanguageServer::Workspace)
%define __perllib_provides /bin/true
%{perl_requires}
# MANUAL BEGIN
BuildRequires: dos2unix
# MANUAL END
%description
Language Server and Debug Protocol Adapter for Perl
%prep
%autosetup -n %{cpan_name}-%{version}
# MANUAL BEGIN
dos2unix README.pod
# MANUAL END
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc README.pod
%license LICENSE
%changelog