3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: ExtUtils::Depends - Easily build XS extensions
9 Summary(pl): ExtUtils::Depends - ³atwe budowanie rozszerzeñ XS
10 Name: perl-%{pdir}-%{pnam}
14 Group: Development/Languages/Perl
15 Source0: http://dl.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: aed7a154182cc9bffb020a64f22ae022
17 URL: http://gtk2-perl.sf.net/
18 BuildRequires: perl-devel >= 5.8.0
19 BuildRequires: perl-tools-pod
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This module tries to make it easy to build Perl extensions that use
25 functions and typemaps provided by other Perl extensions.
28 Ten modu³ próbuje u³atwiæ budowanie perlowych rozszerzeñ u¿ywaj±cych
29 funkcji i map typów udostêpnianych przez inne rozszerzenia Perla.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 OPTIMIZE="%{rpmcflags}"
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/ExtUtils/Depends.pm