2024-07-23 19:53:12 +00:00
committed by Git OBS Bridge
parent 9f9c5381a8
commit e1c07a2691

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-HTML-FromText # spec file for package perl-HTML-FromText
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 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,28 +12,30 @@
# 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-HTML-FromText
Version: 2.07
Release: 0
%define cpan_name HTML-FromText %define cpan_name HTML-FromText
Summary: converts plain text to HTML Name: perl-HTML-FromText
License: Artistic-1.0 or GPL-1.0+ Version: 2.70.0
Group: Development/Libraries/Perl Release: 0
Url: http://search.cpan.org/dist/HTML-FromText/ # 2.07 -> normalize -> 2.70.0
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz %define cpan_version 2.07
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Converts plain text to HTML
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Email::Find::addrspec) >= 0.09 BuildRequires: perl(Email::Find::addrspec) >= 0.90.0
BuildRequires: perl(HTML::Entities) >= 1.26 BuildRequires: perl(HTML::Entities) >= 1.26
BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::More) >= 0.96
Requires: perl(Email::Find::addrspec) >= 0.09 Requires: perl(Email::Find::addrspec) >= 0.90.0
Requires: perl(HTML::Entities) >= 1.26 Requires: perl(HTML::Entities) >= 1.26
Provides: perl(HTML::FromText) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -43,14 +45,14 @@ options that shape the conversion. There is a utility function,
cut to the Object Oriented interface described in detail below. cut to the Object Oriented interface described in detail below.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%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
@@ -58,7 +60,7 @@ cut to the Object Oriented interface described in detail below.
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes README
%doc Changes LICENSE README %license LICENSE
%changelog %changelog