%define upstream_name Gtk2-Phat %define upstream_version 0.08 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 6 Summary: Perl interface to the Phat widget collection License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name}/ Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl-devel BuildRequires: perl-Gtk2 BuildRequires: perl-Glib > 1.00 BuildRequires: perl-ExtUtils-Depends BuildRequires: perl-ExtUtils-PkgConfig BuildRequires: phat-devel BuildRequires: gtk+2-devel %description This module allows a perl developer to access the widgets of the Phat widget collection which is geared toward pro-audio apps. The goal is to eliminate duplication of effort and provide some standardization. %prep %setup -q -n %{upstream_name}-%{upstream_version} find -type d -name CVS | rm -rf %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 Changes README %{perl_vendorarch}/Gtk2 %{perl_vendorarch}/auto/Gtk2 %{_mandir}/*/* %changelog * Fri Jan 18 2013 fwang <fwang> 0.80.0-6.mga3 + Revision: 389357 - rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.80.0-5.mga3 + Revision: 367903 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 0.80.0-4.mga3 + Revision: 250741 - rebuild for perl 5.16 * Sun Aug 28 2011 fwang <fwang> 0.80.0-3.mga2 + Revision: 135827 - rebuild * Sun Jun 12 2011 ahmad <ahmad> 0.80.0-2.mga2 + Revision: 104469 - Rebuild for perl-5.14.0 * Fri Jan 28 2011 jquelin <jquelin> 0.80.0-1.mga1 + Revision: 42926 - mageia rebuild - adding %%doc - imported package perl-Gtk2-Phat