%define module XML-XPath %define version 1.13 %define release 1mdk Summary: %{module} perl module Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl URL: http://sergeant.org Source0: %{module}-%{version}.tar.bz2 Requires: perl >= 0:5.600 Requires: perl-XML-Parser Requires: perl-XML-XSLT perl-XML-Grove BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildArch: noarch %description This module aims to comply exactly to the XPath specification at http://www.w3.org/TR/xpath and yet allow extensions to be added in the form of functions. Modules such as XSLT and XPointer may need to do this as they support functionality beyond XPath. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=%{_prefix} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README MANIFEST TODO examples %{_bindir}/* %{_mandir}/*/* %{perl_vendorlib}/XML/* %changelog * Wed Jan 29 2003 François Pons <fpons@mandrakesoft.com> 1.13-1mdk - 1.13. * Wed Jul 10 2002 Pixel <pixel@mandrakesoft.com> 1.12-2mdk - rebuild for perl 5.8.0 * Mon Mar 04 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.12-1mdk - 1.12 * Tue Sep 25 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.10-1mdk - added by Christian Zoffoli <czoffoli@linux-mandrake.com> : - 1.10 - s!Copyright!License! - added URL * Thu Apr 19 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 1.08-1mdk - 1.08 * Mon Feb 19 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 1.04-1mdk - First Mandrake Release