%define module XML-miniXQL %define version 0.04 %define release 4mdk Summary: %{module} perl module Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Url: http://www.cpan.org Source0: %{module}-%{version}.tar.bz2 BuildRequires: perl-devel Requires: perl , perl-XML-Parser BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Buildarch: noarch %description This module provides a simplistic XQL like search engine for XML files. %prep rm -rf $RPM_BUILD_ROOT %setup -q -n %{module}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README MANIFEST Changes %{perl_vendorlib}/XML/* %{perl_vendorlib}/auto/XML/* %{_mandir}/*/* %changelog * Wed Jan 22 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.04-4mdk - rebuild * Thu Aug 29 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.04-3mdk - rebuild * Mon Jul 16 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.04-2mdk - fixes from Christian Zoffoli <czoffoli@linux-mandrake.com> : - BuildRequires: perl-devel >= 5.6 - Requires: perl >= 5.6 * Mon Feb 19 2001 Christian Zoffoli <czoffoli@linux-mandrake.com> 0.04-1mdk - First Mandrake Release