Name: perl-Gnome2 Version: 1.042 Release: 1%{?dist} Summary: Perl interface to the 2.x series of the GNOME libraries License: LGPLv2 Group: Development/Libraries URL: http://search.cpan.org/dist/Gnome2/ Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::Depends) >= 0.20 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(Glib) >= 1.04 BuildRequires: perl(Gnome2::Canvas) >= 1.00 BuildRequires: perl(Gnome2::VFS) >= 1.00 BuildRequires: perl(Gtk2) >= 1.00 BuildRequires: libgnomeui-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Gnome2 module allows a perl developer to use the Gnome libraries. Find out more about Gnome+ at http://www.gnome.org. %prep %setup -q -n Gnome2-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog doctypes gnome.typemap LICENSE maps NEWS README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Gnome2* %{_mandir}/man3/* %changelog * Thu Feb 19 2009 Allisson Azevedo 1.042-1 - Initial rpm release.