]> git.pld-linux.org Git - packages/perl-Goo-Canvas.git/blob - perl-Goo-Canvas.spec
perl 5.38.0 rebuild
[packages/perl-Goo-Canvas.git] / perl-Goo-Canvas.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    Goo
6 %define         pnam    Canvas
7 Summary:        Goo::Canvas - Perl interface to the GooCanvas
8 Name:           perl-Goo-Canvas
9 Version:        0.06
10 Release:        19
11 # same as perl
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)
26
27 %description
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
30 canvas. Just try it.
31
32 For more documents, please read GooCanvas Manual and the demo programs
33 provided in the source distribution in both perl-Goo::Canvas and
34 GooCanvas.
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
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} pure_install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
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
65 %{_mandir}/man3/*
This page took 0.183466 seconds and 4 git commands to generate.