3 %bcond_with tests # do perform "make test" (disabled b/c tests get stuck on builders)
6 %define pnam ScreenColor
7 %include /usr/lib/rpm/macros.perl
8 Summary: Term::ScreenColor - screen positioning and coloring module for Perl
9 Summary(pl.UTF-8): Term::ScreenColor - moduł pozycjonowania i kolorowania ekranu dla Perla
10 Name: perl-Term-ScreenColor
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: a79bff3bd9ee9dbae05d54864f42bba3
18 URL: http://search.cpan.org/dist/Term-ScreenColor/
19 BuildRequires: perl-Term-Screen
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Term::ScreenColor adds ANSI coloring support, along with a few other
27 useful methods, to the objects provided in Term::Screen.
29 %description -l pl.UTF-8
30 Term::ScreenColor dodaje obsługę kolorów ANSI oraz parę innych
31 użytecznych metod do obiektów dostarczonych w module Term::Screen.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %{perl_vendorlib}/Term/ScreenColor.pm