3 %bcond_without tests # do not perform "make test"
6 Summary: Perl GIO (Glib IO) bindings
7 Summary(pl.UTF-8): Wiązania GIO (Glib IO) dla Perla
12 Group: Development/Languages/Perl
13 Source0: https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14 # Source0-md5: 6fc3325815d13f01545966313d8ae506
15 URL: http://gtk2-perl.sourceforge.net/
16 BuildRequires: glib2-devel >= 1:2.24.0
17 BuildRequires: perl-ExtUtils-MakeMaker
18 BuildRequires: perl-Glib-Object-Introspection >= 0.014
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: rpmbuild(macros) >= 1.745
22 Requires: perl-Glib-Object-Introspection >= 0.014
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module provides Perl access to GIO (Glib IO) library.
29 %description -l pl.UTF-8
30 Ten moduł daje dostęp z poziomu Perla do biblioteki GIO (Glib IO).
33 %setup -q -n %{pnam}-%{version}
36 %{__perl} Makefile.PL \
42 %{?with_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} pure_install \
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %dir %{perl_vendorlib}/Glib
57 %{perl_vendorlib}/Glib/IO.pm
58 %{_mandir}/man3/Glib::IO.3pm*