3 %bcond_without tests # do perform "make test"
6 %define pnam Caller-Perl
7 Summary: Devel::Caller::Perl - allow method to get arguments passed to higher subroutines
8 Summary(pl.UTF-8): Devel::Caller::Perl - umożliwienie metodzie pobranie argumentów z wyższych funkcji
9 Name: perl-Devel-Caller-Perl
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: ef4407ab5c506e4daa63ee1496b5872f
17 URL: http://search.cpan.org/dist/Devel-Caller-Perl/
18 BuildRequires: perl-Module-Build >= 0.21-2
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Test-Simple
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Devel::Caller::Perl Perl module allows a method to get arguments
29 passed to subroutines higher up in the call stack.
31 %description -l pl.UTF-8
32 Moduł Perla Devel::Caller::Perl pozwala metodzie odczytać argumenty
33 przekazane do funkcji wyżej w stosie wywołań.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
41 destdir=$RPM_BUILD_ROOT
44 %{?with_tests:./Build test}
47 rm -rf $RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %dir %{perl_vendorlib}/Devel/Caller
57 %{perl_vendorlib}/Devel/Caller/Perl.pm