perl-PSGI/perl-PSGI.spec

56 lines
1.4 KiB
RPMSpec

Name: perl-PSGI
Version: 1.102
Release: 3%{?dist}
Summary: PSGI Perl module
License: CHECK(Distributable)
Group: Development/Libraries
URL: http://search.cpan.org/dist/PSGI/
Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/PSGI-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(inc::Module::Install)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
PSGI Perl module
%prep
%setup -q -n PSGI-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Oct 07 2022 Daniel Berteaud <dbd@ehtrace.com> 1.102-3
- Release bump for new GPG key
* Sun Feb 20 2022 Daniel Berteaud <dbd@ehtrace.com> 1.102-2
- new package built with tito
* Sun Feb 20 2022 Daniel Berteaud <dbd@ehtrace.com> 1.102-1
- Specfile autogenerated by cpanspec 1.78.