From f15de6e8d055675971924eb2372af75b7d3f0e83 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 5 Sep 2023 15:40:12 +0200 Subject: [PATCH] First commit --- .gitattributes | 1 + .tito/releasers.conf | 1 + .tito/tito.props | 5 ++-- PHP-Serialization-0.34.tar.gz | 3 +++ perl-PHP-Serialization.spec | 51 +++++++++++++++++++++++++++++++++++ 5 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 .gitattributes create mode 120000 .tito/releasers.conf create mode 100644 PHP-Serialization-0.34.tar.gz create mode 100644 perl-PHP-Serialization.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/PHP-Serialization-0.34.tar.gz b/PHP-Serialization-0.34.tar.gz new file mode 100644 index 0000000..04768cb --- /dev/null +++ b/PHP-Serialization-0.34.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b912d426e9aeba5491a5e502e7c5c039c5daa575428ac9bdc82afff39ec6f07a +size 7600 diff --git a/perl-PHP-Serialization.spec b/perl-PHP-Serialization.spec new file mode 100644 index 0000000..f13ec32 --- /dev/null +++ b/perl-PHP-Serialization.spec @@ -0,0 +1,51 @@ +Name: perl-PHP-Serialization +Version: 0.34 +Release: 1%{?dist} +Summary: Simple flexible means of converting the output of PHP's serialize() into the equivalent Perl memory structure, and vice versa +License: CHECK(Distributable) +Group: Development/Libraries +URL: http://search.cpan.org/dist/PHP-Serialization/ +Source0: http://www.cpan.org/authors/id/B/BO/BOBTFISH/PHP-Serialization-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Provides a simple, quick means of serializing perl memory structures +(including object data!) into a format that PHP can deserialize() and +access, and vice versa. + +%prep +%setup -q -n PHP-Serialization-%{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 +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Sep 5 2023 Daniel Berteaud 0.34-1 +- First build using cpanspec