# # Conditional build: %bcond_without tests # do not perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir ExtUtils %define pnam Depends Summary: ExtUtils::Depends - easily build XS extensions Summary(pl.UTF-8): ExtUtils::Depends - łatwe budowanie rozszerzeń XS Name: perl-ExtUtils-Depends Version: 0.205 Release: 2 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://dl.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 02c22a93ec9efb8e457764114ce24eb4 URL: http://gtk2-perl.sourceforge.net/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This module tries to make it easy to build Perl extensions that use functions and typemaps provided by other Perl extensions. %description -l pl.UTF-8 Ten moduł próbuje ułatwić budowanie perlowych rozszerzeń używających funkcji i map typów udostępnianych przez inne rozszerzenia Perla. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} \ CC="%{__cc}" \ OPTIMIZE="%{rpmcflags}" %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes README %{perl_vendorlib}/ExtUtils/Depends.pm %{_mandir}/man3/*