3 # _without_tests - do not perform "make test"
8 %include /usr/lib/rpm/macros.perl
10 Summary: Perl Glib bindings
11 Summary(pl): Wi±zania Glib dla Perla
16 Group: Development/Languages/Perl
17 Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
18 # Source0-md5: 0a3e8ff992b6b2e79ba18208bea7fb1d
19 URL: http://gtk2-perl.sf.net/
20 BuildRequires: glib2-devel
21 BuildRequires: perl-ExtUtils-Depends
22 BuildRequires: perl-devel >= 5.8.0
23 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module provides perl access to Glib and GLib's GObject libraries.
30 Ten modu³ daje dostêp z poziomu Perla do bibliotek GLib i GObject.
33 %setup -q -n %{pnam}-%{version}
36 %{__perl} Makefile.PL \
40 OPTIMIZE="%{rpmcflags}"
42 %{!?_without_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog README*
56 %{perl_vendorarch}/*.pm
57 %dir %{perl_vendorarch}/Glib
58 %{perl_vendorarch}/Glib
59 %dir %{perl_vendorarch}/auto/Glib
60 %attr(755,root,root) %{perl_vendorarch}/auto/Glib/Glib.so
61 %{perl_vendorarch}/auto/Glib/Glib.bs