2010-09-22 21:44:38 +00:00
|
|
|
#
|
2015-04-17 05:50:02 +00:00
|
|
|
# spec file for package perl-Dancer-Plugin-REST
|
2010-09-22 21:44:38 +00:00
|
|
|
#
|
2026-01-26 05:50:51 +00:00
|
|
|
# Copyright (c) 2026 SUSE LLC and contributors
|
2010-09-22 21:44:38 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2024-07-20 19:59:41 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-09-22 21:44:38 +00:00
|
|
|
#
|
|
|
|
|
|
2015-04-17 05:50:02 +00:00
|
|
|
|
2024-07-20 19:59:41 +00:00
|
|
|
%define cpan_name Dancer-Plugin-REST
|
2010-09-22 21:44:38 +00:00
|
|
|
Name: perl-Dancer-Plugin-REST
|
2026-01-26 05:50:51 +00:00
|
|
|
Version: 0.120.0
|
2015-04-17 05:50:02 +00:00
|
|
|
Release: 0
|
2026-01-26 05:50:51 +00:00
|
|
|
# 0.12 -> normalize -> 0.120.0
|
|
|
|
|
%define cpan_version 0.12
|
2024-07-20 19:59:41 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
|
Summary: Plugin for writing RESTful apps with Dancer
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-17 05:50:02 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:58 +02:00
|
|
|
Source100: README.md
|
2010-09-22 21:44:38 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
2024-07-20 19:59:41 +00:00
|
|
|
BuildRequires: perl(Dancer) >= 1.311.100
|
2026-01-26 05:50:51 +00:00
|
|
|
BuildRequires: perl(Dancer::HTTP)
|
2015-04-17 05:50:02 +00:00
|
|
|
BuildRequires: perl(Dancer::ModuleLoader)
|
|
|
|
|
BuildRequires: perl(Dancer::Plugin)
|
|
|
|
|
BuildRequires: perl(Dancer::Test)
|
|
|
|
|
BuildRequires: perl(HTTP::Headers)
|
2026-01-26 05:50:51 +00:00
|
|
|
BuildRequires: perl(Test2::Bundle::More)
|
|
|
|
|
BuildRequires: perl(Test2::V0)
|
2024-07-20 19:59:41 +00:00
|
|
|
Requires: perl(Dancer) >= 1.311.100
|
2026-01-26 05:50:51 +00:00
|
|
|
Requires: perl(Dancer::HTTP)
|
2015-04-17 05:50:02 +00:00
|
|
|
Requires: perl(Dancer::Plugin)
|
2024-07-20 19:59:41 +00:00
|
|
|
Provides: perl(Dancer::Plugin::REST) = %{version}
|
|
|
|
|
%undefine __perllib_provides
|
2011-04-05 11:49:07 +00:00
|
|
|
%{perl_requires}
|
2010-09-22 21:44:38 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This plugin helps you write a RESTful webservice with Dancer.
|
|
|
|
|
|
|
|
|
|
%prep
|
2026-01-26 05:50:51 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
2010-09-22 21:44:38 +00:00
|
|
|
|
|
|
|
|
%build
|
2026-01-26 05:50:51 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%make_build
|
2010-09-22 21:44:38 +00:00
|
|
|
|
|
|
|
|
%check
|
2026-01-26 05:50:51 +00:00
|
|
|
make test
|
2010-09-22 21:44:38 +00:00
|
|
|
|
|
|
|
|
%install
|
2026-01-26 05:50:51 +00:00
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
2010-09-22 21:44:38 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2026-01-26 05:50:51 +00:00
|
|
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS doap.xml README README.mkdn SECURITY.md
|
2024-07-20 19:59:41 +00:00
|
|
|
%license LICENSE
|
2010-09-22 21:44:38 +00:00
|
|
|
|
|
|
|
|
%changelog
|