]> git.pld-linux.org Git - packages/perl-Goo-Canvas.git/blame - perl-Goo-Canvas.spec
perl 5.38.0 rebuild
[packages/perl-Goo-Canvas.git] / perl-Goo-Canvas.spec
CommitLineData
35d7ea7b
AF
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
5%define pdir Goo
6%define pnam Canvas
35d7ea7b
AF
7Summary: Goo::Canvas - Perl interface to the GooCanvas
8Name: perl-Goo-Canvas
9Version: 0.06
3f4ae8ce 10Release: 19
35d7ea7b
AF
11# same as perl
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-authors/id/Y/YE/YEWENBIN/Goo-Canvas-%{version}.tar.gz
15# Source0-md5: 7dfe0be8c17bfd641d18384d4fd8fb23
16URL: http://search.cpan.org/dist/Goo-Canvas/
17BuildRequires: goocanvas-devel >= 0.9
18BuildRequires: perl(ExtUtils::Depends) >= 0.2
19BuildRequires: perl(ExtUtils::PkgConfig) >= 1.0
20BuildRequires: perl-Cairo >= 1.00
21BuildRequires: perl-Glib >= 1.103
5a18de3c 22BuildRequires: perl-Gtk2-devel >= 1.100
35d7ea7b
AF
23BuildRequires: perl-devel >= 1:5.8.0
24BuildRequires: rpm-perlprov >= 4.1-13
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28GTK+ does't has an buildin canvas widget. GooCanvas is wonderful. It
29is easy to use and has powerful and extensible way to create items in
30canvas. Just try it.
31
32For more documents, please read GooCanvas Manual and the demo programs
33provided in the source distribution in both perl-Goo::Canvas and
34GooCanvas.
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42%{__make} \
43 CC="%{__cc}" \
44 OPTIMIZE="%{rpmcflags}"
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
716cf281 60%dir %{perl_vendorarch}/Goo
35d7ea7b 61%{perl_vendorarch}/Goo/*.pm
716cf281 62%dir %{perl_vendorarch}/auto/Goo
35d7ea7b 63%dir %{perl_vendorarch}/auto/Goo/Canvas
35d7ea7b
AF
64%attr(755,root,root) %{perl_vendorarch}/auto/Goo/Canvas/*.so
65%{_mandir}/man3/*
This page took 0.345976 seconds and 4 git commands to generate.