Author: amateja Date: Thu Oct 8 11:55:53 2009 GMT Module: packages Tag: HEAD ---- Log message: ./perl-XML-XPathScript/perl-XML-XPathScript.spec
---- Files affected: packages/perl-XML-XPathScript: perl-XML-XPathScript.spec (1.20 -> 1.21) ---- Diffs: ================================================================ Index: packages/perl-XML-XPathScript/perl-XML-XPathScript.spec diff -u packages/perl-XML-XPathScript/perl-XML-XPathScript.spec:1.20 packages/perl-XML-XPathScript/perl-XML-XPathScript.spec:1.21 --- packages/perl-XML-XPathScript/perl-XML-XPathScript.spec:1.20 Mon Jul 28 00:59:23 2008 +++ packages/perl-XML-XPathScript/perl-XML-XPathScript.spec Thu Oct 8 13:55:47 2009 @@ -9,16 +9,22 @@ Summary: XML::XPathScript - XML templating language Summary(pl.UTF-8): XML::XPathScript - język szablonów XML Name: perl-XML-XPathScript -Version: 0.14 -Release: 3 +Version: 1.54 +Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz -# Source0-md5: 69910ecc1f07d4943f5a42c0d96abf21 +# Source0-md5: 9c9810a95eea05e262922c511a3fcde9 URL: http://axkit.org/ BuildRequires: perl-XML-XPath +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Clone +BuildRequires: perl-Readonly +BuildRequires: perl-XML-LibXML +%endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -36,18 +42,20 @@ %setup -q -n %{pnam}-%{version} %build -%{__perl} Makefile.PL \ - INSTALLDIRS=vendor -%{__make} +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build -%{?with_tests:%{__make} test} +%{?with_tests:./Build test} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -%{__make} install \ - DESTDIR=$RPM_BUILD_ROOT +./Build install + +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT @@ -58,9 +66,8 @@ %attr(755,root,root) %{_bindir}/* %{perl_vendorlib}/XML/*.pm %{perl_vendorlib}/XML/XPathScript -%{_mandir}/man3/* - -#%{perl_vendorlib}/Apache/AxKit/Language/YPathScript.pm +%{_mandir}/man?/* +%{_examplesdir}/%{name}-%{version} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -68,6 +75,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.21 2009/10/08 11:55:47 amateja +./perl-XML-XPathScript/perl-XML-XPathScript.spec + Revision 1.20 2008/07/27 22:59:23 arekm - release 3 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-XML-XPathScript/perl-XML-XPathScript.spec?r1=1.20&r2=1.21&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
