]> git.pld-linux.org Git - packages/perl-Gnome2-Canvas.git/blob - perl-Gnome2-Canvas.spec
- release 13 (by relup.sh)
[packages/perl-Gnome2-Canvas.git] / perl-Gnome2-Canvas.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires X server)
4
5 %define         pnam    Gnome2-Canvas
6 %include        /usr/lib/rpm/macros.perl
7 Summary:        Perl interface to the GNOME Canvas
8 Summary(pl.UTF-8):      Interfejs perlowy do GNOME Canvas
9 Name:           perl-Gnome2-Canvas
10 Version:        1.002
11 Release:        13
12 License:        LGPL
13 Group:          Development/Languages/Perl
14 Source0:        http://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
15 # Source0-md5:  93405a987ba4bbd03c2f91592b88f5cb
16 URL:            http://gtk2-perl.sourceforge.net/
17 BuildRequires:  gtk+2-devel
18 BuildRequires:  libgnomecanvas-devel >= 2.14.0
19 BuildRequires:  perl-Cairo-devel
20 BuildRequires:  perl-ExtUtils-Depends >= 0.200
21 BuildRequires:  perl-ExtUtils-PkgConfig >= 1.03
22 BuildRequires:  perl-Glib-devel >= 1.120
23 BuildRequires:  perl-Gtk2-devel >= 1.121
24 BuildRequires:  perl-devel >= 1:5.8.0
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpm-perlprov >= 4.1-13
27 Requires:       libgnomecanvas >= 2.14.0
28 Requires:       perl-Glib >= 1.120
29 Requires:       perl-Gtk2 >= 1.121
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 The Gnome2 Perl module allows a perl developer to use the GnomeCanvas
34 widget.
35
36 %description -l pl.UTF-8
37 Moduł Perla Gnome2 umożliwia programistom perlowym korzystanie z
38 kontrolki GnomeCanvas.
39
40 %prep
41 %setup -q -n %{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46
47 %{__make} \
48         CC="%{__cc}" \
49         OPTIMIZE="%{rpmcflags}"
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/Canvas/*.pod
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS TODO README
67 %{perl_vendorarch}/Gnome2/Canvas.pm
68 %dir %{perl_vendorarch}/auto/Gnome2/Canvas
69 %dir %{perl_vendorarch}/Gnome2/Canvas
70 %dir %{perl_vendorarch}/Gnome2/Canvas/Install
71 %attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/Canvas/*.so
72 %{perl_vendorarch}/Gnome2/Canvas/Install/*
73 %{_mandir}/man3/*
This page took 0.065111 seconds and 3 git commands to generate.