3 %bcond_with tests # perform "make test". requires DISPLAY=:0 being available
5 %include /usr/lib/rpm/macros.perl
8 Summary: Tk::Stderr - capture standard error output, display in separate window
9 Summary(pl.UTF-8): Tk::Stderr - przechwytywanie standardowego wyjścia błędów, wyświetlanie w innym oknie
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 86f0f85d24d2c1e72e1e5a039b0f0d72
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Tk
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module captures that standard error of a program and redirects it
28 to a read only text widget, which doesn't appear until necessary. When
29 it does appear, the user can close it; it'll appear again when there
32 %description -l pl.UTF-8
33 Ten moduł przechwytuje standardowe wyjście błędów z programu i
34 przekierowuje je do widgetu tekstowego tylko do odczytu, który nie
35 pojawia się dopóki nie jest potrzebny. Kiedy się pojawi, użytkownik
36 może go zamknąć; pojawi się znowu, kiedy będzie więcej wyjścia.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/Tk/*.pm