%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
+Summary: ExtUtils::Depends - easily build XS extensions that depend on XS extensions
+Summary(pl.UTF-8): ExtUtils::Depends - łatwe budowanie rozszerzeń XS zależących od innych rozszerzeń XS
Name: perl-ExtUtils-Depends
-Version: 0.205
+Version: 0.8000
Release: 1
# 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/
+Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ac2d17114f1b50624a8f37381c90485e
+URL: https://metacpan.org/release/ExtUtils-Depends
BuildRequires: perl-devel >= 1:5.8.0
+%if %{with tests}
+BuildRequires: perl-Test-Number-Delta >= 1.0
+BuildRequires: perl-Test-Simple
+%endif
BuildRequires: rpm-perlprov >= 4.1-13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
INSTALLDIRS=vendor
%{__make} \
+ CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}
%files
%defattr(644,root,root,755)
-%doc Changes README
+%doc Changes
%{perl_vendorlib}/ExtUtils/Depends.pm
-%{_mandir}/man3/*
+%{_mandir}/man3/ExtUtils::Depends.3pm*