Files
perl-Perl-LanguageServer/perl-Perl-LanguageServer.spec
2025-08-12 18:16:30 +02:00

88 lines
2.4 KiB
RPMSpec

#
# 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.2
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
Source100: README.md
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)
%{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