perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.spec

54 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: perl-Mojolicious-Plugin-I18N
Version: 1.6
Release: 1%{?dist}
Summary: Internationalization Plugin for Mojolicious
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Mojolicious-Plugin-I18N/
Source0: http://www.cpan.org/authors/id/S/SH/SHARIFULN/Mojolicious-Plugin-I18N-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 0:5.010001
BuildRequires: perl(I18N::LangTags) >= 0.35
BuildRequires: perl(Module::Build)
BuildRequires: perl(Mojolicious) >= 5
BuildRequires: perl(Test::More)
Requires: perl(I18N::LangTags) >= 0.35
Requires: perl(Mojolicious) >= 5
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Mojolicious::Plugin::I18N is internationalization plugin for Mojolicious It
works with Mojolicious 4.0+.
%prep
%setup -q -n Mojolicious-Plugin-I18N-%{version}
%build
%{__perl} Build.PL --installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes META.json script
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Mar 24 2024 Trevor Batley <trevor@batley.id.au> 1.6-1
- Specfile autogenerated by cpanspec 1.78.