%define pkg_name Gnome2-Canvas %define pkg_version 1.002 %define rpm_pkg_version 1.002 %define rpm_pkg_release 4.n0i.9 Summary: Perl bindings for GnomeCanvas widgets Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/T/TS/TSCH/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl >= 2:5.8.0 BuildRequires: pkgconfig, libgnomecanvas-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Depends) >= 0.200 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(Glib) >= 1.040 BuildRequires: perl(Gtk2) >= 1.040 Requires: perl(Glib) >= 1.040 Requires: perl(Gtk2) >= 1.040 %description The Gnome2::Canvas module allows a perl developer to use the GnomeCanvas widget with Gtk2-Perl. Like the Gtk2 module on which it depends, Gnome2::Canvas follows the C API of libgnomecanvas-2.0 as closely as possible while still being perlish. Thus, the C API reference remains the canonical documentation. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path canvas_demo/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc AUTHORS canvas_demo/ ChangeLog LICENSE NEWS README TODO %changelog * Wed Jun 06 2007 Marius Feraru - 1.002-4.n0i.9 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 * Thu Aug 25 2005 Marius FERARU 1.002-3.n0i.8 - rebuild * Thu Jul 28 2005 Marius Feraru 1.002-2.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Mon Dec 06 2004 Marius Feraru 0:1.002-1.n0i.6 - version 1.002 - spec updates * Fri Apr 30 2004 Marius Feraru 0:1.00-1.n0i.5 - automatic rebuild * Wed Apr 21 2004 Marius Feraru 0:1.00-1.n0i.4 - automatic rebuild * Sat Apr 03 2004 Marius Feraru 0:1.00-1.n0i.3 - version 1.00 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 * Fri Feb 20 2004 Marius FERARU 0:0.92-1.n0i.2 - version 0.92 * Tue Feb 03 2004 Marius FERARU 0:0.91-0.n0i.1 - version 0.91