Accepting request 848354 from home:dancermak:branches:devel:languages:perl
Submission of Perl-LanguageServer OBS-URL: https://build.opensuse.org/request/show/848354 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-LanguageServer?expand=0&rev=1
This commit is contained in:
80
perl-Perl-LanguageServer.spec
Normal file
80
perl-Perl-LanguageServer.spec
Normal file
@@ -0,0 +1,80 @@
|
||||
#
|
||||
# spec file for package perl-Perl-LanguageServer
|
||||
#
|
||||
# Copyright (c) 2020 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.1.0
|
||||
Release: 0
|
||||
Summary: Language Server and Debug Protocol Adapter for Perl
|
||||
License: Artistic-2.0
|
||||
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(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(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
|
||||
# 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 Changes README
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user