3 %bcond_without tests # do not perform "make test"
6 Summary: Perl interface to the 3.x series of the Gimp Toolkit library
7 Summary(pl.UTF-8): Interfejs perlowy do wersji 3.x biblioteki Gimp Toolkit
12 Group: Development/Languages/Perl
13 Source0: https://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{version}.tar.gz
14 # Source0-md5: c4f13880b5a95855cbdf3bcd6ada5661
15 URL: http://gtk2-perl.sourceforge.net/
16 BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: rpmbuild(macros) >= 1.745
21 BuildRequires: perl-Cairo-GObject >= 1.000
22 BuildRequires: perl-Glib >= 1.260
23 BuildRequires: perl-Glib-Object-Introspection >= 0.043
24 BuildRequires: perl-Test-Simple >= 0.96
26 # gdk-pixbuf2, gtk+3, pango with gobject-introspection bindings
27 Requires: gdk-pixbuf2 >= 2.22
28 Requires: gtk+3 >= 3.0.0
29 Requires: pango >= 1:1.26
30 Requires: perl-Cairo-GObject >= 1.000
31 Requires: perl-Glib >= 1.260
32 Requires: perl-Glib-Object-Introspection >= 0.043
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 The Gtk3 module allows a perl developer to use the GTK+ graphical user
40 %description -l pl.UTF-8
41 Moduł Gtk3 pozwala programistom perlowym na używanie biblioteki
42 interfejsu graficznego GTK+.
45 %setup -q -n %{pdir}-%{version}
48 %{__perl} Makefile.PL \
53 %{?with_tests:%{__make} test}
56 rm -rf $RPM_BUILD_ROOT
58 %{__make} pure_install \
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{perl_vendorlib}/Gtk3.pm
68 %{_mandir}/man3/Gtk3.3pm*