Import PSGI and configure tito

This commit is contained in:
Daniel Berteaud 2022-02-20 21:39:07 +01:00
parent 9762263a37
commit 56e601f6b5
5 changed files with 56 additions and 2 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

1
.tito/releasers.conf Symbolic link
View File

@ -0,0 +1 @@
../../tito_libs/releasers.conf

View File

@ -1,5 +1,6 @@
[buildconfig]
builder = tito.builder.Builder
tagger = tito.tagger.VersionTagger
builder = dbd.builder.GitLfsBuilder
tagger = tito.tagger.ReleaseTagger
changelog_do_not_remove_cherrypick = 0
changelog_format = %s (%ae)
lib_dir = ../tito_libs

BIN
PSGI-1.102.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

48
perl-PSGI.spec Normal file
View File

@ -0,0 +1,48 @@
Name: perl-PSGI
Version: 1.102
Release: 1%{?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)
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
* Sun Feb 20 2022 Daniel Berteaud <dbd@ehtrace.com> 1.102-1
- Specfile autogenerated by cpanspec 1.78.