From 56e601f6b5b313c7a3ef589423291cf9cafac333 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 20 Feb 2022 21:39:07 +0100 Subject: [PATCH] Import PSGI and configure tito --- .gitattributes | 1 + .tito/releasers.conf | 1 + .tito/tito.props | 5 +++-- PSGI-1.102.tar.gz | 3 +++ perl-PSGI.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 .gitattributes create mode 120000 .tito/releasers.conf create mode 100644 PSGI-1.102.tar.gz create mode 100644 perl-PSGI.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.tito/releasers.conf b/.tito/releasers.conf new file mode 120000 index 0000000..867c32f --- /dev/null +++ b/.tito/releasers.conf @@ -0,0 +1 @@ +../../tito_libs/releasers.conf \ No newline at end of file diff --git a/.tito/tito.props b/.tito/tito.props index eab3f19..4c3685b 100644 --- a/.tito/tito.props +++ b/.tito/tito.props @@ -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 diff --git a/PSGI-1.102.tar.gz b/PSGI-1.102.tar.gz new file mode 100644 index 0000000..f40043c --- /dev/null +++ b/PSGI-1.102.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a56c446740917da86925c29fc6633b9df839b21cf98f6a27086598ed90ee1f47 +size 36710 diff --git a/perl-PSGI.spec b/perl-PSGI.spec new file mode 100644 index 0000000..bbc0a25 --- /dev/null +++ b/perl-PSGI.spec @@ -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 1.102-1 +- Specfile autogenerated by cpanspec 1.78.