3 %bcond_without tests # do not perform "make test"
7 Summary: Goo::Canvas - Perl interface to the GooCanvas
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-authors/id/Y/YE/YEWENBIN/Goo-Canvas-%{version}.tar.gz
15 # Source0-md5: 7dfe0be8c17bfd641d18384d4fd8fb23
16 URL: http://search.cpan.org/dist/Goo-Canvas/
17 BuildRequires: goocanvas-devel >= 0.9
18 BuildRequires: perl(ExtUtils::Depends) >= 0.2
19 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.0
20 BuildRequires: perl-Cairo >= 1.00
21 BuildRequires: perl-Glib >= 1.103
22 BuildRequires: perl-Gtk2-devel >= 1.100
23 BuildRequires: perl-devel >= 1:5.8.0
24 BuildRequires: rpm-perlprov >= 4.1-13
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 GTK+ does't has an buildin canvas widget. GooCanvas is wonderful. It
29 is easy to use and has powerful and extensible way to create items in
32 For more documents, please read GooCanvas Manual and the demo programs
33 provided in the source distribution in both perl-Goo::Canvas and
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 OPTIMIZE="%{rpmcflags}"
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %dir %{perl_vendorarch}/Goo
61 %{perl_vendorarch}/Goo/*.pm
62 %dir %{perl_vendorarch}/auto/Goo
63 %dir %{perl_vendorarch}/auto/Goo/Canvas
64 %attr(755,root,root) %{perl_vendorarch}/auto/Goo/Canvas/*.so