/[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 368826 - (show annotations) (download)
Sun Jan 13 08:42:51 2013 UTC (7 years, 6 months ago) by umeabot
File size: 1172 byte(s)
Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
1 %define upstream_name JavaScript-Minifier-XS
2 %define upstream_version 0.09
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 2
7
8 Summary: XS based JavaScript minifier
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/JavaScript/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(ExtUtils::MakeMaker)
15 BuildRequires: perl(Test::More)
16 BuildRequires: perl(Module::Build::Compat)
17 BuildRequires: perl-devel
18
19 %description
20 'JavaScript::Minifier::XS' is a JavaScript "minifier"; its designed to
21 remove un-necessary whitespace and comments from JavaScript files, which
22 also *not* breaking the JavaScript.
23
24 'JavaScript::Minifier::XS' is similar in function to
25 'JavaScript::Minifier', but is substantially faster as its written in XS
26 and not just pure Perl.
27
28 %prep
29 %setup -q -n %{upstream_name}-%{upstream_version}
30
31 %build
32 %{__perl} Makefile.PL INSTALLDIRS=vendor
33
34 %make
35
36 %check
37 %make test
38
39 %install
40 %makeinstall_std
41
42 %files
43 %doc Changes README META.yml
44 %{_mandir}/man3/*
45 %perl_vendorlib/*
46
47

  ViewVC Help
Powered by ViewVC 1.1.28