03caec8
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(I18N::LangTags\\)$
03caec8
03caec8
Name:           perl-Mojolicious-Plugin-I18N
03caec8
Version:        1.6
a15c491
Release:        2%{?dist}
03caec8
Summary:        Internationalization Plugin for Mojolicious
03caec8
License:        Artistic 2.0
03caec8
URL:            http://search.cpan.org/dist/Mojolicious-Plugin-I18N/
03caec8
Source0:        https://www.cpan.org/authors/id/S/SH/SHARIFULN/Mojolicious-Plugin-I18N-%{version}.tar.gz
03caec8
BuildArch:      noarch
c25da68
BuildRequires:  perl >= 0:5.010001
03caec8
BuildRequires:  perl-generators
03caec8
BuildRequires:  perl-interpreter
03caec8
BuildRequires:  perl(base)
03caec8
BuildRequires:  perl(constant)
03caec8
BuildRequires:  perl(I18N::LangTags) >= 0.35
03caec8
BuildRequires:  perl(I18N::LangTags::Detect)
03caec8
BuildRequires:  perl(lib)
03caec8
BuildRequires:  perl(Locale::Maketext)
03caec8
BuildRequires:  perl(Module::Build)
03caec8
BuildRequires:  perl(Mojo::Base)
03caec8
BuildRequires:  perl(Mojo::URL)
03caec8
BuildRequires:  perl(Mojolicious) >= 5
03caec8
BuildRequires:  perl(Mojolicious::Lite)
03caec8
BuildRequires:  perl(Mojolicious::Plugin)
03caec8
BuildRequires:  perl(strict)
03caec8
BuildRequires:  perl(Test::More)
03caec8
BuildRequires:  perl(Test::Mojo)
03caec8
BuildRequires:  perl(utf8)
03caec8
BuildRequires:  perl(warnings)
03caec8
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
03caec8
Requires:       perl(I18N::LangTags) >= 0.35
03caec8
Requires:       perl(Mojolicious) >= 5
03caec8
Requires:       perl(Mojolicious::Plugin)
03caec8
Requires:       perl(strict)
03caec8
Requires:       perl(warnings)
03caec8
03caec8
%description
03caec8
Mojolicious::Plugin::I18N is internationalization plugin for Mojolicious. It
03caec8
works with Mojolicious 4.0+.
03caec8
03caec8
%prep
03caec8
%autosetup -n Mojolicious-Plugin-I18N-%{version}
f6a7dfc
sed -i "s|0.42|0.4005|" Build.PL META.json META.yml
03caec8
03caec8
%build
03caec8
%{__perl} Build.PL --installdirs=vendor
03caec8
./Build
03caec8
03caec8
%install
03caec8
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
03caec8
%{_fixperms} $RPM_BUILD_ROOT/*
03caec8
03caec8
%check
03caec8
./Build test
03caec8
03caec8
%files
03caec8
%doc Changes script
03caec8
%{perl_vendorlib}/*
03caec8
%{_mandir}/man3/*
03caec8
03caec8
%changelog
a15c491
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
a15c491
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a15c491
03caec8
* Mon Dec 04 2017 Robert-André Mauchin <zebob.m@gmail.com> - 1.6-1
03caec8
- Specfile autogenerated by cpanspec 1.78.