%define upstream_name Gtk2-Sexy %define upstream_version 0.05 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 6 Summary: Perl interface to the sexy widget collection License: GPL+ or Artistic Group: Development/Perl Url: http://www.chipx86.com/wiki/Libsexy Source0: http://www.cpan.org/modules/by-module/Gtk2/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: libsexy-devel BuildRequires: perl-Cairo BuildRequires: perl-ExtUtils-Depends BuildRequires: perl-ExtUtils-PkgConfig BuildRequires: perl-Glib BuildRequires: perl-Gtk2 BuildRequires: perl-devel %description This module allows a perl developer to access the widgets of the sexy widget collection, which currently includes the following widgets: - SexyIconEntry: a GtkEntry with support for inline icons - SexySpellEntry: a GtkEntry with inline spell checking - SexyUrlLabel: a GtkLabel with support for embedded hyperlinks %prep %setup -q -n %{upstream_name}-%{upstream_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 examples/* %{_mandir}/*/* %{perl_vendorarch}/Gtk2 %{perl_vendorarch}/auto/Gtk2 %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.50.0-6.mga3 + Revision: 367914 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 0.50.0-5.mga3 + Revision: 250743 - rebuild for perl 5.16 * Sun Aug 28 2011 fwang <fwang> 0.50.0-4.mga2 + Revision: 135829 - rebuild * Sun Jun 12 2011 ahmad <ahmad> 0.50.0-3.mga2 + Revision: 104473 - Rebuild for perl-5.14.0 * Mon Jan 24 2011 jquelin <jquelin> 0.50.0-2.mga1 + Revision: 36333 - mageia rebuild - imported package perl-Gtk2-Sexy