]> git.pld-linux.org Git - packages/perl-Tk-Stderr.git/blob - perl-Tk-Stderr.spec
2b17bc5b11297fe235623afed9e1dad8f51e3789
[packages/perl-Tk-Stderr.git] / perl-Tk-Stderr.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # perform "make test". requires DISPLAY=:0 being available
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Tk
7 %define pnam    Stderr
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
10 Name:           perl-Tk-Stderr
11 Version:        1.2
12 Release:        1
13 # same as perl
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
20 %if %{with tests}
21 BuildRequires:  perl-Tk
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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
30 is more output.
31
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.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} pure_install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %{perl_vendorlib}/Tk/*.pm
61 %{_mandir}/man3/*
This page took 0.09979 seconds and 2 git commands to generate.