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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 731948 - (show annotations) (download)
Tue Sep 30 06:16:52 2014 UTC (4 years, 9 months ago) by tv
File size: 1197 byte(s)
add exclude
1 %define upstream_name JavaScript-Minifier-XS
2 %define upstream_version 0.09
3
4 %{?perl_default_filter}
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 7
9
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