%define module Dict-Lexed %define name perl-%{module} %define version 0.2.2 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Lexed wrapper License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://search.cpan.org/CPAN/authors/id/G/GR/GROUSSE/%{module}-%{version}.tar.bz2 Requires: lexed %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif BuildRequires: lexed Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module is a perl wrapper around Lexed, a lexicalizer developed at INRIA. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README ChangeLog %{perl_vendorlib}/Dict %{_mandir}/*/* %changelog * Tue Sep 05 2006 guillomovitch + 2006-09-05 09:03:27 (59950) new version * Thu Aug 03 2006 Nicolas Lécureuil <neoclust@mandriva.org> + 2006-08-03 13:00:59 (43208) import perl-Dict-Lexed-0.2.1-5mdk * Sun Nov 06 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.1-5mdk - clean up buildrequires * Mon Oct 10 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.2.1-4mdk - Fix previous mistake * Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.2.1-3mdk - Fix BuildRequires * Mon Jun 13 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.1-2mdk - first mdk release