Add missing files

This commit is contained in:
Daniel Berteaud 2023-02-13 10:30:03 +01:00
parent 522da59179
commit 2ca3a057f3
3 changed files with 66 additions and 0 deletions

1
.tito/releasers.conf Symbolic link
View File

@ -0,0 +1 @@
../../tito_libs/releasers.conf

BIN
HTML-Strip-2.10.tar.gz Normal file

Binary file not shown.

65
perl-HTML-Strip.spec Normal file
View File

@ -0,0 +1,65 @@
Name: perl-HTML-Strip
Version: 2.10
Release: 1%{?dist}
Summary: Perl extension for stripping HTML markup from text
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTML-Strip/
Source0: http://www.cpan.org/authors/id/K/KI/KILINRAX/HTML-Strip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl >= 0:5.008
BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
Requires: perl(Carp)
Requires: perl(DynaLoader)
Requires: perl(strict)
Requires: perl(Test::Exception)
Requires: perl(Test::More)
Requires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module simply strips HTML-like markup from text rapidly and brutally.
It could easily be used to strip XML or SGML markup instead; but as
removing HTML is a much more common problem, this module lives in the
HTML:: namespace.
%prep
%setup -q -n HTML-Strip-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes META.json README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/HTML*
%{_mandir}/man3/*
%changelog
* Mon Feb 13 2023 Daniel Berteaud <dbd@ehtrace.com> 2.10-1
- Specfile autogenerated by cpanspec 1.78.