First commit

This commit is contained in:
Daniel Berteaud 2023-09-05 15:40:12 +02:00
parent bde2d26bc6
commit f15de6e8d0
5 changed files with 59 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
PHP-Serialization-0.34.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -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 <dbd@ehtrace.com> 0.34-1
- First build using cpanspec