rpms/perl-JavaScript-Minifier-XS/devel perl-JavaScript-Minifier-XS.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: mmaslano

Update of /cvs/pkgs/rpms/perl-JavaScript-Minifier-XS/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18505

Modified Files:
	.cvsignore sources 
Added Files:
	perl-JavaScript-Minifier-XS.spec 
Log Message:
* Tue May  5 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 0.05-2
- add BR, remove useless provides



--- NEW FILE perl-JavaScript-Minifier-XS.spec ---
Name:           perl-JavaScript-Minifier-XS
Version:        0.05
Release:        2%{?dist}
Summary:        XS based JavaScript minifier
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/JavaScript-Minifier-XS/
Source0:        http://www.cpan.org/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(JavaScript::Minifier)
BuildRequires:  perl(Test::Pod)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# don't "provide" private Perl libs
%global _use_internal_dependency_generator 0
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
%global __find_requires /bin/sh -c "%{__deploop R}"

%description
JavaScript::Minifier::XS is a JavaScript "minifier"; its designed
to remove un-necessary whitespace and comments from JavaScript
files without breaking the JavaScript.

%prep
%setup -q -n JavaScript-Minifier-XS-%{version}

%build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/JavaScript*
%{_mandir}/man3/*

%changelog
* Tue May  5 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 0.05-2
- add BR, remove useless provides

* Wed Apr 29 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 0.05-1
- Specfile autogenerated by cpanspec 1.78.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-JavaScript-Minifier-XS/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Jun 2009 16:52:15 -0000	1.1
+++ .cvsignore	3 Jun 2009 17:03:26 -0000	1.2
@@ -0,0 +1 @@
+JavaScript-Minifier-XS-0.05.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-JavaScript-Minifier-XS/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Jun 2009 16:52:15 -0000	1.1
+++ sources	3 Jun 2009 17:03:26 -0000	1.2
@@ -0,0 +1 @@
+be844769f0c65ec3ef0e8390331d58d3  JavaScript-Minifier-XS-0.05.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux