From 442d44eab5fd21ff3b36aa5a1cc81fa42921d8f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Fri, 11 Sep 2015 08:20:44 +0200 Subject: Import
diff --git a/.gitignore b/.gitignore index e69de29..dd0c7ab 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/HTML-HTML5-Entities-0.004.tar.gz diff --git a/perl-HTML-HTML5-Entities.spec b/perl-HTML-HTML5-Entities.spec new file mode 100644 index 0000000..ab816c5 --- /dev/null +++ b/perl-HTML-HTML5-Entities.spec @@ -0,0 +1,54 @@ +Name: perl-HTML-HTML5-Entities +Version: 0.004 +Release: 1%{?dist} +Summary: Drop-in replacement for HTML::Entities with HTML5 support +# CONTRIBUTING: GPL+ or Artistic or CC-BY-SA +# lib/HTML/HTML5/Entities.pm: GPL+ or Artistic +License: (GPL+ or Artistic) and (GPL+ or Artistic or CC-BY-SA) +Group: Development/Libraries +URL: http://search.cpan.org/dist/HTML-HTML5-Entities/ +Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/HTML-HTML5-Entities-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(utf8) +# Tests: +BuildRequires: perl(Test::More) >= 0.61 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Exporter) + +%description +This is a drop-in replacement for HTML::Entities Perl module. This replacement +provides the character entities defined in HTML5. + +%prep +%setup -q -n HTML-HTML5-Entities-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes CONTRIBUTING COPYRIGHT CREDITS README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Sep 10 2015 Petr Pisar <ppi...@redhat.com> 0.004-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..7c3ce01 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +249cadb36f07432ff6d1b24d3a991bbd HTML-HTML5-Entities-0.004.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-HTML-HTML5-Entities.git/commit/?h=master&id=442d44eab5fd21ff3b36aa5a1cc81fa42921d8f0 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel