]> git.pld-linux.org Git - packages/perl-Tk-TextANSIColor.git/blame - perl-Tk-TextANSIColor.spec
use generic url
[packages/perl-Tk-TextANSIColor.git] / perl-Tk-TextANSIColor.spec
CommitLineData
45945b74
JB
1#
2# Conditional build:
3%bcond_with tests # perform "make test" (requires working $DISPLAY)
b5b7fa19 4
6549520e 5%define pdir Tk
6%define pnam TextANSIColor
b5b7fa19 7%include /usr/lib/rpm/macros.perl
45945b74 8Summary: Tk::TextANSIColor - Tk::Text widget with support for ANSI color escape codes
e0c3f5a5 9Summary(pl.UTF-8): Tk::TextANSIColor - widget Tk::Text z obsługą sekwencji kolorów ANSI
45945b74 10Name: perl-Tk-TextANSIColor
d676b4fd 11Version: 0.16
45945b74
JB
12Release: 1
13# same as perl
a6b0998c 14License: GPL v1+ or Artistic
45945b74
JB
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
d676b4fd 17# Source0-md5: c285af9d6189baab4c8a9cc22dcc3ad0
b5b7fa19 18URL: http://search.cpan.org/dist/Tk-TextANSIColor/
45945b74
JB
19BuildRequires: perl-Term-ANSIColor >= 1.00
20BuildRequires: perl-Tk
616c8480 21BuildRequires: perl-devel >= 1:5.8.0
45945b74
JB
22BuildRequires: rpm-perlprov >= 4.1-13
23Requires: perl-Term-ANSIColor >= 1.00
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This widget extends the capabilities of the standard Tk::Text widget
b5b7fa19
ER
29by adding support for ANSI color escape codes. When these escape codes
30are detected they are replaced by equivalent tags. A read-only widget
31is also supplied.
45945b74 32
d2342715
JR
33%description -l pl.UTF-8
34Ten widget rozszerza możliwości standardowego widgetu Tk::Text dodając
35obsługę kodów kolorów ANSI. Jeśli te kody zostaną wykryte, są
36zastępowane odpowiednimi znacznikami. Załączony jest także widget
45945b74
JB
37tylko do odczytu.
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
d676b4fd 43%{__perl} Build.PL \
44 installdirs=vendor \
45 destdir=$RPM_BUILD_ROOT
45945b74 46
d676b4fd 47./Build
45945b74 48
d676b4fd 49%{?with_tests:./Build test}
45945b74
JB
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
d676b4fd 54./Build install \
45945b74
JB
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc ChangeLog README
62%{perl_vendorlib}/Tk/*TextANSIColor.pm
63%{_mandir}/man3/*
This page took 0.067411 seconds and 4 git commands to generate.