From 2bb3f6bb85b8887510cd2a15e5e28a1d555a3b3f8b47d7bb807fa6e357f42812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 18:19:38 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-HTML-Format revision f20d9605d03376f5558550a5b7b5f7e6 --- .gitattributes | 23 +++++++++ HTML-Format-2.12.tar.gz | 3 ++ cpanspec.yml | 23 +++++++++ perl-HTML-Format.changes | 107 +++++++++++++++++++++++++++++++++++++++ perl-HTML-Format.spec | 93 ++++++++++++++++++++++++++++++++++ 5 files changed, 249 insertions(+) create mode 100644 .gitattributes create mode 100644 HTML-Format-2.12.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-HTML-Format.changes create mode 100644 perl-HTML-Format.spec 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/HTML-Format-2.12.tar.gz b/HTML-Format-2.12.tar.gz new file mode 100644 index 0000000..0b9aecc --- /dev/null +++ b/HTML-Format-2.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8f76839e46a22c64b8635b82072799caf77393d2102fba81041db6348c66899 +size 50248 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#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_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-HTML-Format.changes b/perl-HTML-Format.changes new file mode 100644 index 0000000..18f397c --- /dev/null +++ b/perl-HTML-Format.changes @@ -0,0 +1,107 @@ +------------------------------------------------------------------- +Wed Sep 12 13:03:08 UTC 2018 - pmonrealgonzalez@suse.com + +- updated to 2.12 + see /usr/share/doc/packages/perl-HTML-Format/Changes + + 2.12 2015-10-10 17:49:45+01:00 Europe/London + - Minor test related fixes + - Transition to using File::Slurper in place of File::Slurp + Thanks to Karen Etheridge for the patch + - Add Travis CI integration + +- Cleaned with spec-cleaner + +------------------------------------------------------------------- +Sat May 2 09:23:58 UTC 2015 - coolo@suse.com + +- updated to 2.11 + see /usr/share/doc/packages/perl-HTML-Format/Changes + + 2.11 2013-10-27 20:57:23 Europe/London + - Typo fixes from dsteinbrunner + https://github.com/nigelm/html-format/pull/2 + - Markdown support from mrallen1 + https://github.com/nigelm/html-format/pull/1 + +------------------------------------------------------------------- +Mon Jul 25 09:50:44 UTC 2011 - vcizek@novell.com + +- update to 2.10 + - Tests reworked to not use subtests. Development versions + of Test::More do not support subtests, and the smokers + that are running with these dev versions then send me + confusing test failures. This is a pain. + - Reworking of HTML quote issue in FormatPS + - Now remap all double quotes to " in FormatPS (which is not + really right, but the best I can do with latin1 output) + - RT#69426 - issues with HTML quotes + - UTF8 handling requires perl 5.8, so minimum requirement bumped + +------------------------------------------------------------------- +Fri Apr 22 12:06:04 UTC 2011 - vcizek@novell.com + +- update to 2.07 + - Code gardening - no functionality modifications +- removed authors from spec + +------------------------------------------------------------------- +Mon Feb 21 14:43:20 UTC 2011 - vcizek@novell.com + +- update to 2.05 + - Smoke tests on windows showed needed make PS tests less strict + - Changed the github location to be all lowercase + - Releasing this as a stop gap - will do further work now + incompatibilities dealt with + - Added dependancies for font metrics files + - Documentation tidy up - but needs further work + - RT#54636 - UNIVERSAL::Can deprecated + - RT#56278 - RTF formatting parameters ignored by new + - Git conversion + - Dist::Zilla conversion + - removed universal-can.patch (merged in upstream) + +------------------------------------------------------------------- +Wed Feb 2 13:41:03 UTC 2011 - vcizek@novell.com + +- bzipped source tarball + +------------------------------------------------------------------- +Wed Dec 1 13:32:48 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 29 18:30:09 UTC 2010 - coolo@novell.com + +- remove /var/adm/perl-modules + +------------------------------------------------------------------- +Mon Nov 15 08:39:31 UTC 2010 - jw@novell.com + +- added universal-can.patch from + https://rt.cpan.org/Public/Bug/Display.html?id=54636 + to avoid warnings: + UNIVERSAL->import is deprecated and will be removed in a future perl at + /usr/lib/perl5/vendor_perl/5.12.1/HTML/Formatter.pm line 110 + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Wed Jan 25 21:39:44 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Aug 18 12:25:00 CEST 2004 - kssingvo@suse.de + +- upgrade to 2.04 + +------------------------------------------------------------------- +Tue Dec 16 17:57:59 CET 2003 - kssingvo@suse.de + +- initial version + diff --git a/perl-HTML-Format.spec b/perl-HTML-Format.spec new file mode 100644 index 0000000..bd3b5f0 --- /dev/null +++ b/perl-HTML-Format.spec @@ -0,0 +1,93 @@ +# +# spec file for package perl-HTML-Format +# +# Copyright (c) 2018 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 http://bugs.opensuse.org/ +# + + +%define cpan_name HTML-Format +Name: perl-HTML-Format +Version: 2.12 +Release: 0 +Summary: Base class for HTML formatters +License: Artistic-1.0 OR GPL-1.0-or-later +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/HTML-Format/ +Source0: http://www.cpan.org/authors/id/N/NI/NIGELM/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(File::Slurp) +BuildRequires: perl(File::Slurper) +BuildRequires: perl(Font::Metrics::Courier) +BuildRequires: perl(Font::Metrics::CourierBold) +BuildRequires: perl(Font::Metrics::CourierBoldOblique) +BuildRequires: perl(Font::Metrics::CourierOblique) +BuildRequires: perl(Font::Metrics::Helvetica) +BuildRequires: perl(Font::Metrics::HelveticaBold) +BuildRequires: perl(Font::Metrics::HelveticaBoldOblique) +BuildRequires: perl(Font::Metrics::HelveticaOblique) +BuildRequires: perl(Font::Metrics::TimesBold) +BuildRequires: perl(Font::Metrics::TimesBoldItalic) +BuildRequires: perl(Font::Metrics::TimesItalic) +BuildRequires: perl(Font::Metrics::TimesRoman) +BuildRequires: perl(HTML::Element) >= 3.15 +BuildRequires: perl(HTML::TreeBuilder) +BuildRequires: perl(Module::Build) >= 0.360100 +BuildRequires: perl(Test::CPAN::Meta) +BuildRequires: perl(Test::EOL) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::NoTabs) +BuildRequires: perl(parent) +Requires: perl(Font::Metrics::Courier) +Requires: perl(Font::Metrics::CourierBold) +Requires: perl(Font::Metrics::CourierBoldOblique) +Requires: perl(Font::Metrics::CourierOblique) +Requires: perl(Font::Metrics::Helvetica) +Requires: perl(Font::Metrics::HelveticaBold) +Requires: perl(Font::Metrics::HelveticaBoldOblique) +Requires: perl(Font::Metrics::HelveticaOblique) +Requires: perl(Font::Metrics::TimesBold) +Requires: perl(Font::Metrics::TimesBoldItalic) +Requires: perl(Font::Metrics::TimesItalic) +Requires: perl(Font::Metrics::TimesRoman) +Requires: perl(HTML::Element) >= 3.15 +Requires: perl(HTML::TreeBuilder) +Requires: perl(parent) +BuildArch: noarch +%{perl_requires} + +%description +Base class for HTML formatters + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} + +%check +./Build test + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%license LICENSE +%doc Changes README + +%changelog