Notification time stamped 2022-01-31 23:59:33 UTC
From d9883c1c7cc3fb72c33e7f49eba42344401ea31b Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert(a)fedoraproject.org>
Date: Apr 02 2018 20:58:50 +0000
Subject: Initial import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b797a63
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-Restrict-*.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 919859f..0000000
--- a/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# perl-HTML-Restrict
-
-A perl module that uses HTML::Parser to strip HTML from text in a
-restrictive manner. By default all HTML is restricted, but default
-behaviour may be altered by supplying own tag rules.
\ No newline at end of file
diff --git a/perl-HTML-Restrict.spec b/perl-HTML-Restrict.spec
new file mode 100644
index 0000000..95db469
--- /dev/null
+++ b/perl-HTML-Restrict.spec
@@ -0,0 +1,68 @@
+# Filter the Perl extension module
+%{?perl_default_filter}
+
+%global pkgname HTML-Restrict
+
+Summary: Perl module to strip unwanted HTML tags and attributes
+Name: perl-HTML-Restrict
+Version: 2.3.0
+Release: 1%{?dist}
+License: GPL+ or Artistic
+URL:
http://search.cpan.org/dist/%{pkgname}/
+Source:
http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/%{pkgname}-v%{version...
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+BuildRequires: perl-generators
+BuildRequires: perl-interpreter
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Data::Dump)
+BuildRequires: perl(HTML::Entities)
+BuildRequires: perl(HTML::Parser)
+BuildRequires: perl(List::Util) >= 1.33
+BuildRequires: perl(Moo) >= 1.002000
+BuildRequires: perl(Sub::Quote)
+BuildRequires: perl(Types::Standard) >= 1.000001
+BuildRequires: perl(URI)
+BuildRequires: perl(namespace::clean)
+BuildRequires: perl(version)
+# Tests only
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.22
+BuildRequires: perl(warnings)
+BuildArch: noarch
+
+%description
+A perl module that uses HTML::Parser to strip HTML from text in a
+restrictive manner. By default all HTML is restricted, but default
+behaviour may be altered by supplying own tag rules.
+
+%prep
+%setup -q -n %{pkgname}-v%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+# Don't add dependencies for %%doc
+chmod -x examples/sanitize_file.pl
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes CONTRIBUTORS README.md examples/sanitize_file.pl
+%{perl_vendorlib}/HTML/
+%{_mandir}/man3/*.3pm*
+
+%changelog
+* Sun Apr 01 2018 Robert Scheck <robert(a)fedoraproject.org> 2.3.0-1
+- Upgrade to 2.3.0 (#1562631)
+- Initial spec file for Fedora and Red Hat Enterprise Linux
diff --git a/sources b/sources
new file mode 100644
index 0000000..924a058
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (HTML-Restrict-v2.3.0.tar.gz) =
992efd27c2b632b43e50ca01c3b5ea4c2f59b46be4de745ee5c3e750bffd39a7296dd43777548cd5380993327d6745f00d4db087d6ce81da127c8784e00da3fa
https://src.fedoraproject.org/rpms/perl-HTML-Restrict/c/d9883c1c7cc3fb72c...