Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
perl-HTML-Parser
> _service:tar_git:perl-HTML-Parser.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:perl-HTML-Parser.spec of Package perl-HTML-Parser
# # Do not Edit! Generated by: # spectacle version 0.18 # # >> macros %define real_name HTML-Parser # << macros Name: perl-HTML-Parser Summary: Perl module for parsing HTML Version: 3.69 Release: 1 Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/HTML-Parser/ Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz Source100: perl-HTML-Parser.yaml Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(HTML::Tagset) >= 3.03 BuildRequires: perl(HTML::Tagset) >= 3.03, perl(ExtUtils::MakeMaker), perl(Test::Simple) %description The HTML-Parser module for perl to parse and extract information from HTML documents, including the HTML::Entities, HTML::HeadParser, HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules. %prep %setup -q -n HTML-Parser-%{version} # >> setup chmod -c a-x eg/* # << setup %build # >> build pre # << build pre if test -f Makefile.PL; then %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?jobs:-j%jobs} else %{__perl} Build.PL --installdirs vendor ./Build fi # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre if test -f Makefile.PL; then make pure_install PERL_INSTALL_ROOT=%{buildroot} else ./Build install --installdirs vendor fi find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' %{_fixperms} %{buildroot}/* # >> install post file=$RPM_BUILD_ROOT%{_mandir}/man3/HTML::Entities.3pm iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_" mv -f "${file}_" "$file" chmod -R u+w $RPM_BUILD_ROOT/* # << install post %check # >> check make test # << check %files %defattr(-,root,root,-) # >> files %doc Changes README TODO eg/ %{perl_vendorarch}/HTML/ %{perl_vendorarch}/auto/HTML/ %doc %{_mandir}/man3/*.3pm* # << files