/[packages]/cauldron/perl-JavaScript-Minifier-XS/current/SPECS/perl-JavaScript-Minifier-XS.spec
ViewVC logotype

Annotation of /cauldron/perl-JavaScript-Minifier-XS/current/SPECS/perl-JavaScript-Minifier-XS.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 843125 - (hide annotations) (download)
Thu Jun 25 17:19:34 2015 UTC (4 years, 1 month ago) by sander85
File size: 1197 byte(s)
Rebuild for perl 5.22
1 shlomif 335129 %define upstream_name JavaScript-Minifier-XS
2 sander85 837065 %define upstream_version 0.11
3 shlomif 335129
4 tv 731948 %{?perl_default_filter}
5    
6 shlomif 335129 Name: perl-%{upstream_name}
7     Version: %perl_convert_version %{upstream_version}
8 sander85 843125 Release: %mkrel 2
9 shlomif 335129
10     Summary: XS based JavaScript minifier
11     License: GPL+ or Artistic
12     Group: Development/Perl
13     Url: http://search.cpan.org/dist/%{upstream_name}
14     Source0: http://www.cpan.org/modules/by-module/JavaScript/%{upstream_name}-%{upstream_version}.tar.gz
15    
16     BuildRequires: perl(ExtUtils::MakeMaker)
17     BuildRequires: perl(Test::More)
18     BuildRequires: perl(Module::Build::Compat)
19     BuildRequires: perl-devel
20    
21     %description
22     'JavaScript::Minifier::XS' is a JavaScript "minifier"; its designed to
23     remove un-necessary whitespace and comments from JavaScript files, which
24     also *not* breaking the JavaScript.
25    
26     'JavaScript::Minifier::XS' is similar in function to
27     'JavaScript::Minifier', but is substantially faster as its written in XS
28     and not just pure Perl.
29    
30     %prep
31     %setup -q -n %{upstream_name}-%{upstream_version}
32    
33     %build
34     %{__perl} Makefile.PL INSTALLDIRS=vendor
35    
36     %make
37    
38     %check
39     %make test
40    
41     %install
42     %makeinstall_std
43    
44     %files
45     %doc Changes README META.yml
46     %{_mandir}/man3/*
47     %perl_vendorlib/*
48    
49    

  ViewVC Help
Powered by ViewVC 1.1.26