3 %bcond_without tests # do not perform "make test"
6 Summary: Perl pragma for debugging and logging of debug lines
7 Summary(pl.UTF-8): Pakiet Perla do śledzenia i logowania linii diagnostycznych
13 Group: Development/Languages/Perl
14 Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/debug-%{version}.tar.gz
15 # Source0-md5: b68f551c947039ee6e7f578ba72d8beb
16 URL: http://search.cpan.org/dist/debug/
18 BuildRequires: perl-Test-Pod >= 1.14
19 BuildRequires: perl-Test-Pod-Coverage >= 1.04
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The debug pragma provides a very simple way of turning on and off your
26 debugging lines, as well as a very flexible way of logging those lines
27 to literally anywhere you want.
29 %description -l pl.UTF-8
30 Pakiet debug udostępnia bardzo prosty sposób włączania i wyłączania
31 linii diagnostycznych, a także bardzo elastyczny sposób logowania tych
32 linii dosłownie wszędzie, gdzie chcemy.
35 %setup -q -n %{pdir}-%{version}
38 %{__perl} Makefile.PL \
42 %{?with_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} pure_install \
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %{perl_vendorlib}/debug.pm