Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

perl-HTML-Laundry.spec
Thursday, April 8th, 2010 at 4:23:17am MDT 

  1. Name:           perl-HTML-Laundry
  2. Version:        0.0103
  3. Release:        1%{?dist}
  4. Summary:        Perl module to clean HTML by the piece
  5. License:        GPL+ or Artistic
  6. Group:          Development/Libraries
  7. URL:            http://search.cpan.org/dist/HTML-Laundry/
  8. Source0:        http://www.cpan.org/modules/by-module/HTML/HTML-Laundry-%{version}.tar.gz
  9. BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch:      noarch
  11. BuildRequires:  perl(HTML::Entities)
  12. BuildRequires:  perl(HTML::Parser)
  13. BuildRequires:  perl(Test::Exception)
  14. BuildRequires:  perl(URI)
  15. BuildRequires:  perl(URI::Escape)
  16. BuildRequires:  perl(URI::Split)
  17. Requires:       perl(HTML::Entities)
  18. Requires:       perl(HTML::Parser)
  19. Requires:       perl(Test::Exception)
  20. Requires:       perl(URI)
  21. Requires:       perl(URI::Escape)
  22. Requires:       perl(URI::Split)
  23. Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  24.  
  25. %description
  26. HTML::Laundry is an HTML::Parser-based HTML normalizer, meant for small
  27. pieces of HTML, such as user comments, Atom feed entries, and the like,
  28. rather than full pages. Laundry takes these and returns clean, sanitary,
  29. UTF-8-based XHTML. The parser's behavior may be changed with callbacks,
  30. and the whitelist of acceptable elements and attributes may be updated
  31. on the fly.
  32.  
  33. %prep
  34. %setup -q -n HTML-Laundry-%{version}
  35.  
  36. %build
  37. %{__perl} Makefile.PL INSTALLDIRS=vendor
  38. make %{?_smp_mflags}
  39.  
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42.  
  43. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  44.  
  45. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  46. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  47.  
  48. %{_fixperms} $RPM_BUILD_ROOT/*
  49.  
  50. %check
  51. make test
  52.  
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55.  
  56. %files
  57. %defattr(-,root,root,-)
  58. %doc Changes README.mkdn
  59. %{perl_vendorlib}/*
  60. %{_mandir}/man3/*
  61.  
  62. %changelog
  63. * Thu Apr 08 2010 build <build@domain.ext> 0.0103-1
  64. - Specfile autogenerated by cpanspec 1.77.

Paste Details

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation
fantasy-obligation