Name: perl-Web-Machine Version: 0.17 Release: 5%{?dist} Summary: Perl port of Webmachine License: GPL+ or Artistic URL: https://metacpan.org/dist/Web-Machine Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Web-Machine-%{version}.tar.gz BuildArch: noarch # build requirements BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # runtime requirements BuildRequires: perl(B) BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Encode) BuildRequires: perl(HTTP::Headers::ActionPack) >= 0.07 BuildRequires: perl(HTTP::Status) BuildRequires: perl(Hash::MultiValue) BuildRequires: perl(IO::Handle::Util) BuildRequires: perl(List::Util) BuildRequires: perl(Locale::Maketext) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Plack::Component) BuildRequires: perl(Plack::Request) BuildRequires: perl(Plack::Response) BuildRequires: perl(Plack::Util) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Try::Tiny) BuildRequires: perl(parent) BuildRequires: perl(strict) # test requirements BuildRequires: perl(File::Spec) BuildRequires: perl(FindBin) BuildRequires: perl(GD::Simple) BuildRequires: perl(HTTP::Message::PSGI) BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(HTTP::Response) BuildRequires: perl(JSON::XS) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Net::HTTP) BuildRequires: perl(Path::Class) BuildRequires: perl(Plack::Runner) BuildRequires: perl(Plack::Test) BuildRequires: perl(Test::FailWarnings) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::TCP) BuildRequires: perl(base) BuildRequires: perl(lib) BuildRequires: perl(utf8) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) %description Web::Machine provides a RESTful web framework modeled as a state machine. You define one or more resource classes. Each resource represents a single RESTful URI end point, such as a user, an email, etc. The resource class can also be the target for POST requests to create a new user, email, etc. %prep %setup -q -n Web-Machine-%{version} %build /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check %{make_build} test %files %doc Changes CONTRIBUTING.md README.md %license LICENSE %{perl_vendorlib}/Web* %{_mandir}/man3/Web* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.17-4 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 20 2021 Emmanuel Seyman - 0.17-2 - Take into account review feedback (#2001699) * Mon Aug 30 2021 Emmanuel Seyman - 0.17-1 - Initial specfile, based on the one autogenerated by cpanspec 1.78.