Files
perl-HTTP-Server-Simple-Mason/perl-HTTP-Server-Simple-Mason.spec

66 lines
2.1 KiB
RPMSpec

#
# spec file for package perl-HTTP-Server-Simple-Mason
#
# Copyright (c) 2021 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 HTTP-Server-Simple-Mason
Name: perl-HTTP-Server-Simple-Mason
Version: 0.14
Release: 0
Summary: An abstract baseclass for a standalone mason server
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://search.cpan.org/dist/HTTP-Server-Simple-Mason/
#Source: http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-Mason-%%{version}.tar.gz
Source0: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::Mason) >= 1.25
BuildRequires: perl(HTTP::Server::Simple) >= 0.04
BuildRequires: perl(Hook::LexWrap)
BuildRequires: perl(LWP::Simple)
BuildRequires: perl(Log::Any)
BuildRequires: perl(Module::Install)
Requires: perl(HTML::Mason) >= 1.25
Requires: perl(HTTP::Server::Simple) >= 0.04
Requires: perl(Hook::LexWrap)
BuildArch: noarch
%{perl_requires}
%description
HTTP::Server::Simple::Mason - An abstract baseclass for a standalone mason server.
For details see HTTP::Server::Simple package and the documentation in the perldoc manual.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%make_build test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes
%changelog