%define module Wx %define name perl-%{module} %define version 0.27 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Interface to the wxWidgets GUI toolkit License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module}/ Source: http://cpan.uwinnipeg.ca/cpan/authors/id/M/MB/MBARBON/%{module}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRequires: wxGTK2.6-devel Buildroot: %{_tmppath}/%{name}-%{version} %define _requires_exceptions perl(Wx::PlValidator) %description The Wx module is a wrapper for the wxWidgets (formerly known as wxWindows) GUI toolkit. %prep %setup -q -n %{module}-%{version} %build WX_CONFIG=/usr/bin/wx-config-ansi %{__perl} Makefile.PL INSTALLDIRS=vendor %make "CFLAGS=%{optflags}" %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes %{perl_vendorarch}/Wx.pm %{perl_vendorarch}/Wx %{perl_vendorarch}/auto/Wx %{_mandir}/*/* %changelog * Mon Apr 03 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.27-1mdk - New release 0.27 - spec cleanup - fix directory ownership * Thu Dec 15 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.26-1mdk - 0.26 - Require most recent wxGTK * Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.25-1mdk - 0.25 * Fri Mar 18 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.22-1mdk - first mdk release (by trem, <trem@zarb.org>)