Name: perl-CSS-Minifier-XS Version: 0.07 Release: 3%{?dist} # lib/CSS/Minifier/XS.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: XS based CSS minifier Source: http://search.cpan.org/CPAN/authors/id/G/GT/GTERMARS/CSS-Minifier-XS-%{version}.tar.gz Url: http://search.cpan.org/dist/CSS-Minifier-XS BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Build::Compat) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) %{?perl_default_filter} %description 'CSS::Minifier::XS' is a CSS "minifier"; it's designed to remove un- necessary whitespace and comments from CSS files, while also *not* breaking the CSS. 'CSS::Minifier::XS' is similar in function to 'CSS::Minifier', but is substantially faster as it's written in XS and not just pure Perl. %prep %setup -q -n CSS-Minifier-XS-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/*.3* %changelog * Tue Feb 08 2011 Fedora Release Engineering - 0.07-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.07-2 - 661697 rebuild for fixing problems with vendorach/lib * Sun Aug 08 2010 Iain Arnell 0.07-1 - update to latest upstream version - use perl_default_filter and DESTDIR * Fri Apr 30 2010 Marcela Maslanova - 0.04-3 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.04-2 - rebuild against perl 5.10.1 * Tue Aug 11 2009 Chris Weyl 0.04-1 - auto-update to 0.04 (by cpan-spec-update 0.01) * Sat Jul 25 2009 Fedora Release Engineering - 0.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Apr 10 2009 Chris Weyl 0.03-1 - update for submission * Fri Apr 10 2009 Chris Weyl 0.03-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)