packages: perl-JE/perl-JE.spec (NEW) - new, created with pldcpan

glen glen at pld-linux.org
Sat Aug 20 18:36:20 CEST 2011


Author: glen                         Date: Sat Aug 20 16:36:20 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, created with pldcpan

---- Files affected:
packages/perl-JE:
   perl-JE.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-JE/perl-JE.spec
diff -u /dev/null packages/perl-JE/perl-JE.spec:1.1
--- /dev/null	Sat Aug 20 18:36:20 2011
+++ packages/perl-JE/perl-JE.spec	Sat Aug 20 18:36:15 2011
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+
+%define		pdir	JE
+%include	/usr/lib/rpm/macros.perl
+Summary:	JE - Pure-Perl ECMAScript (JavaScript) Engine
+Name:		perl-JE
+Version:	0.055
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/JE/%{pdir}-%{version}.tar.gz
+# Source0-md5:	70b9c0d8053a2f4fdd5be8ec9ef6bb04
+URL:		http://search.cpan.org/dist/JE/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Tie-RefHash-Weak
+BuildRequires:	perl-TimeDate
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+JE, short for JavaScript::Engine (imaginative, isn't it?), is a
+pure-Perl JavaScript engine.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/JE.pm
+%{perl_vendorlib}/JE
+%{perl_vendorlib}/JavaScript/Engine.pm
+%{_mandir}/man3/JE.3pm*
+%{_mandir}/man3/JE::*.3pm*
+%{_mandir}/man3/JavaScript::Engine.3pm*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/08/20 16:36:15  glen
+- new, created with pldcpan
================================================================


More information about the pld-cvs-commit mailing list