Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
42177ac819 | |||
c08146ac6c | |||
53f8e5ef02 | |||
695524175d |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 22:25:45 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 9 10:42:14 UTC 2019 - <timueller+perl@suse.de>
|
Sat Nov 9 10:42:14 UTC 2019 - <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-Clean
|
# spec file for package perl-HTML-Clean
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 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
|
||||||
@@ -16,20 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-Clean
|
|
||||||
Version: 1.4
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name HTML-Clean
|
%define cpan_name HTML-Clean
|
||||||
Summary: Cleans up HTML code for web browsers, not humans
|
Name: perl-HTML-Clean
|
||||||
|
Version: 1.400.0
|
||||||
|
Release: 0
|
||||||
|
# 1.4 -> normalize -> 1.400.0
|
||||||
|
%define cpan_version 1.4
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: HTML::Clean - Cleans up HTML code for web browsers, not humans
|
||||||
Url: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/A/AZ/AZJADFTRE/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/A/AZ/AZJADFTRE/%{cpan_name}-%{cpan_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
|
||||||
|
Provides: perl(HTML::Clean) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -38,25 +41,25 @@ minimizing the size of HTML files. You can typically save between 10% and
|
|||||||
50% of the size of a HTML file using these methods. It provides the
|
50% of the size of a HTML file using these methods. It provides the
|
||||||
following features:
|
following features:
|
||||||
|
|
||||||
* Remove unneeded whitespace (beginning of line, etc)
|
* Remove unneeded whitespace (begining of line, etc)
|
||||||
|
|
||||||
* Remove unneeded META elements.
|
* Remove unneeded META elements.
|
||||||
|
|
||||||
* Remove HTML comments (except for styles, javascript and SSI)
|
* Remove HTML comments (except for styles, javascript and SSI)
|
||||||
|
|
||||||
* Replace tags with equivalent shorter tags (<strong> --> <b>)
|
* Replace tags with equivilant shorter tags (<strong> --> <b>)
|
||||||
|
|
||||||
* etc.
|
* etc.
|
||||||
|
|
||||||
The entire process is configurable, so you can pick and choose what you want
|
The entire proces is configurable, so you can pick and choose what you want
|
||||||
to clean.
|
to clean.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -67,7 +70,6 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes README TODO
|
%doc Changes README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user