commit 06a8356efaed7959463f2dc42d058181768c34eeafed1444b541ac2661be56ea Author: Stephan Kulow Date: Wed Aug 28 17:01:14 2019 +0000 Accepting request 721995 from home:tinita:branches:devel:languages:perl:CPAN-H Needed by HTTP-Entity-Parser which is needed by the newest Plack version OBS-URL: https://build.opensuse.org/request/show/721995 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-MultiPartParser?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/HTTP-MultiPartParser-0.02.tar.gz b/HTTP-MultiPartParser-0.02.tar.gz new file mode 100644 index 0000000..574e904 --- /dev/null +++ b/HTTP-MultiPartParser-0.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5eddda159f54d16f868e032440ac2b024e55aac48931871b62627f1a16d00b12 +size 30258 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-HTTP-MultiPartParser.changes b/perl-HTTP-MultiPartParser.changes new file mode 100644 index 0000000..c14e6a9 --- /dev/null +++ b/perl-HTTP-MultiPartParser.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Aug 9 11:46:27 UTC 2019 - Tina Mueller + +- initial package 0.02 + * created by cpanspec 1.78.09 diff --git a/perl-HTTP-MultiPartParser.spec b/perl-HTTP-MultiPartParser.spec new file mode 100644 index 0000000..120b8f1 --- /dev/null +++ b/perl-HTTP-MultiPartParser.spec @@ -0,0 +1,61 @@ +# +# spec file for package perl-HTTP-MultiPartParser +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: perl-HTTP-MultiPartParser +Version: 0.02 +Release: 0 +%define cpan_name HTTP-MultiPartParser +Summary: HTTP MultiPart Parser +License: Artistic-1.0 OR GPL-1.0-or-later +Group: Development/Libraries/Perl +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::More) >= 0.88 +%{perl_requires} + +%description +This class provides a low-level API for processing MultiPart MIME data +streams conforming to MultiPart types as defined in at +http://tools.ietf.org/html/rfc2616#section-3.7.2. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes README + +%changelog