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