11
0

4 Commits
devel ... main

6 changed files with 90 additions and 34 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a6f710135ff44abd2ef1948fa8a24c4a9e99d071a750332d52aac08bd7570e7
size 29386

3
FCGI-Client-0.09.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d537cb09ce5aab3f447a6bb4415e46cc06efe01611cd56289b5582bdb46221e8
size 19488

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-FCGI-Client/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-FCGI-Client)

28
cpanspec.yml Normal file
View File

@@ -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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Jul 17 05:23:20 UTC 2018 - coolo@suse.com
- updated to 0.09
see /usr/share/doc/packages/perl-FCGI-Client/Changes
0.09 2018-07-16T14:23:14Z
- Switch to Minilla
https://github.com/tokuhirom/p5-fcgi-client/pull/2
- Switch to Moo
https://github.com/tokuhirom/p5-fcgi-client/pull/3
-------------------------------------------------------------------
Mon Oct 31 13:10:23 UTC 2011 - pascal.bleser@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-FCGI-Client
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,58 +12,61 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-FCGI-Client
Version: 0.08
Release: 1
License: GPL+ or Artistic
%define cpan_name FCGI-Client
Name: perl-FCGI-Client
Version: 0.90.0
Release: 0
# 0.09 -> normalize -> 0.90.0
%define cpan_version 0.09
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Client library for fastcgi protocol
Url: http://search.cpan.org/dist/FCGI-Client/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Moose)
BuildRequires: perl(Any::Moose) >= 0.13
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(IO::Socket::UNIX)
Requires: perl(Moose)
Requires: perl(Any::Moose) >= 0.13
Requires: perl(Filter::Util::Call)
Requires: perl(IO::Socket::UNIX)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Moo) >= 2
BuildRequires: perl(Type::Tiny)
Requires: perl(Moo) >= 2
Requires: perl(Type::Tiny)
Provides: perl(FCGI::Client) = %{version}
Provides: perl(FCGI::Client::Connection)
Provides: perl(FCGI::Client::Constant)
Provides: perl(FCGI::Client::Record)
Provides: perl(FCGI::Client::RecordFactory)
Provides: perl(FCGI::Client::RecordHeader)
%undefine __perllib_provides
%{perl_requires}
%description
FCGI::Client is client library for fastcgi protocol.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes README.md
%license LICENSE
%changelog