11
0

Compare commits

3 Commits

Author SHA256 Message Date
f01ddd3b1f Add Gitea build results 2025-08-12 18:12:17 +02:00
cc6cdc44f7 Accepting request 1247053 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1247053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-CGI-FormBuilder?expand=0&rev=17
2025-02-19 15:03:23 +00:00
dc6976f813 Accepting request 1245157 from devel:languages:perl:autoupdate
- updated to 3.200.0 (3.20)
   see /usr/share/doc/packages/perl-CGI-FormBuilder/Changes
  3.20, 2024-09-18
  Promoting 3.11 TRIAL release to stable
  (Mark Hedges (MARKLE)'s super bugfixing release)
  Supporting regex modifiers in validation regexes (also MARKLE)
  3.11, 2024-09-13 (TRIAL RELEASE)
  Mark Hedges (MARKLE) fixed some RT bugs.
  RT# 79185   datetime field not working - added messages for 'datetime'
              and 'datetime_local'
  RT# 81650   applied user-supplied patch (thanks) to use deterministic
              field order
  RT# 83012   spanish message error - saved the message file with utf8
              encoding (it was not)
  RT# 87785   ok whatever fixed the typos
  RT# 114018  used utf8::decode instead of Encode::decode(...) no diff in tests
  RT# 155443  use sprintf only if the message has a '%' for sprintfing
  RT# 155500  js escape single-quotes when validating list of options

OBS-URL: https://build.opensuse.org/request/show/1245157
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-CGI-FormBuilder?expand=0&rev=24
2025-02-19 12:16:09 +00:00
6 changed files with 110 additions and 46 deletions

View File

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

View File

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

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-CGI-FormBuilder/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-CGI-FormBuilder)

View File

@@ -10,8 +10,13 @@
#patches: #patches:
# foo.patch: -p1 # foo.patch: -p1
# bar.patch: # bar.patch:
#preamble: |- preamble: |-
# BuildRequires: gcc-c++ Recommends: perl(CGI::FastTemplate) >= 1.09
Recommends: perl(CGI::SSI) >= 0.92
Recommends: perl(CGI::Session) >= 3.95
Recommends: perl(HTML::Template) >= 2.06
Recommends: perl(Template) >= 2.08
Recommends: perl(Text::Template) >= 1.43
#post_prep: |- #post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
@@ -19,7 +24,7 @@
# rm unused.files # rm unused.files
#post_install: |- #post_install: |-
# sed on %{name}.files # sed on %{name}.files
#license: SUSE-NonFree license: perl
#skip_noarch: 1 #skip_noarch: 1
#custom_build: |- #custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag #./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Sep 19 05:31:22 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 3.200.0 (3.20)
see /usr/share/doc/packages/perl-CGI-FormBuilder/Changes
3.20, 2024-09-18
Promoting 3.11 TRIAL release to stable
(Mark Hedges (MARKLE)'s super bugfixing release)
Supporting regex modifiers in validation regexes (also MARKLE)
3.11, 2024-09-13 (TRIAL RELEASE)
Mark Hedges (MARKLE) fixed some RT bugs.
RT# 79185 datetime field not working - added messages for 'datetime'
and 'datetime_local'
RT# 81650 applied user-supplied patch (thanks) to use deterministic
field order
RT# 83012 spanish message error - saved the message file with utf8
encoding (it was not)
RT# 87785 ok whatever fixed the typos
RT# 114018 used utf8::decode instead of Encode::decode(...) no diff in tests
RT# 155443 use sprintf only if the message has a '%' for sprintfing
RT# 155500 js escape single-quotes when validating list of options
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 19 05:06:10 UTC 2016 - coolo@suse.com Fri Aug 19 05:06:10 UTC 2016 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-CGI-FormBuilder # spec file for package perl-CGI-FormBuilder
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,70 +12,95 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-CGI-FormBuilder
Version: 3.10
Release: 0
%define cpan_name CGI-FormBuilder %define cpan_name CGI-FormBuilder
Name: perl-CGI-FormBuilder
Version: 3.200.0
Release: 0
# 3.20 -> normalize -> 3.200.0
%define cpan_version 3.20
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Easily generate and process stateful forms Summary: Easily generate and process stateful forms
License: GPL-1.0+ or Artistic-1.0 URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/%{cpan_name}-%{cpan_version}.tar.gz
Url: http://search.cpan.org/dist/CGI-FormBuilder/
Source0: http://www.cpan.org/authors/id/B/BI/BIGPRESH/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(CGI) BuildRequires: perl(CGI)
Requires: perl(CGI) Requires: perl(CGI)
Provides: perl(CGI::FormBuilder) = %{version}
Provides: perl(CGI::FormBuilder::Field) = %{version}
Provides: perl(CGI::FormBuilder::Field::button) = %{version}
Provides: perl(CGI::FormBuilder::Field::checkbox) = %{version}
Provides: perl(CGI::FormBuilder::Field::date) = %{version}
Provides: perl(CGI::FormBuilder::Field::datetime) = %{version}
Provides: perl(CGI::FormBuilder::Field::datetime_local) = %{version}
Provides: perl(CGI::FormBuilder::Field::email) = %{version}
Provides: perl(CGI::FormBuilder::Field::file) = %{version}
Provides: perl(CGI::FormBuilder::Field::hidden) = %{version}
Provides: perl(CGI::FormBuilder::Field::image) = %{version}
Provides: perl(CGI::FormBuilder::Field::number) = %{version}
Provides: perl(CGI::FormBuilder::Field::password) = %{version}
Provides: perl(CGI::FormBuilder::Field::radio) = %{version}
Provides: perl(CGI::FormBuilder::Field::select) = %{version}
Provides: perl(CGI::FormBuilder::Field::static) = %{version}
Provides: perl(CGI::FormBuilder::Field::submit) = %{version}
Provides: perl(CGI::FormBuilder::Field::text) = %{version}
Provides: perl(CGI::FormBuilder::Field::textarea) = %{version}
Provides: perl(CGI::FormBuilder::Field::time) = %{version}
Provides: perl(CGI::FormBuilder::Field::url) = %{version}
Provides: perl(CGI::FormBuilder::Messages) = %{version}
Provides: perl(CGI::FormBuilder::Messages::base) = %{version}
Provides: perl(CGI::FormBuilder::Messages::default) = %{version}
Provides: perl(CGI::FormBuilder::Messages::locale) = %{version}
Provides: perl(CGI::FormBuilder::Multi) = %{version}
Provides: perl(CGI::FormBuilder::Source) = %{version}
Provides: perl(CGI::FormBuilder::Source::File) = %{version}
Provides: perl(CGI::FormBuilder::Template) = %{version}
Provides: perl(CGI::FormBuilder::Template::Builtin) = %{version}
Provides: perl(CGI::FormBuilder::Template::CGI_SSI) = %{version}
Provides: perl(CGI::FormBuilder::Template::Div) = %{version}
Provides: perl(CGI::FormBuilder::Template::Fast) = %{version}
Provides: perl(CGI::FormBuilder::Template::HTML) = %{version}
Provides: perl(CGI::FormBuilder::Template::TT2) = %{version}
Provides: perl(CGI::FormBuilder::Template::Text) = %{version}
Provides: perl(CGI::FormBuilder::Test) = %{version}
Provides: perl(CGI::FormBuilder::Util) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
Recommends: perl(CGI::FastTemplate) >= 1.09 Recommends: perl(CGI::FastTemplate) >= 1.09
Recommends: perl(CGI::SSI) >= 0.92 Recommends: perl(CGI::SSI) >= 0.92
Recommends: perl(CGI::Session) >= 3.95 Recommends: perl(CGI::Session) >= 3.95
Recommends: perl(HTML::Template) >= 2.06 Recommends: perl(HTML::Template) >= 2.06
Recommends: perl(Template) >= 2.08 Recommends: perl(Template) >= 2.08
Recommends: perl(Text::Template) >= 1.43 Recommends: perl(Text::Template) >= 1.43
%{perl_requires} # MANUAL END
%description %description
The goal of CGI::FormBuilder (FormBuilder) is to provide an easy If this is your first time using *FormBuilder*, you should check out the
way for you to generate and process entire CGI form-based website for tutorials and examples at http://formbuilder.org.
applications. Its main features are:
Field Abstraction You should also consider joining the google group at
Viewing fields as entities (instead of just params), where the http://groups.google.com/group/perl-formbuilder. There are some pretty
HTML representation, CGI values, validation, and so on are smart people on the list that can help you out.
properties of each field.
DWIMmery
Lots of built-in "intelligence" (such as automatic field typing),
giving you about a 4:1 ratio of the code it generates versus what
you have to write.
Built-in Validation
Full-blown regex validation for fields, even including
JavaScript code generation.
Template Support
Pluggable support for external template engines,
such as HTML::Template, Text::Template, Template Toolkit,
and CGI::FastTemplate.
Plus, the native HTML generated is valid XHTML 1.0 Transitional.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -83,7 +108,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%changelog %changelog