From 2fe29b15e20c03df8348e4f228f3793088f689e9 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 12 Apr 2004 02:30:16 +0000 Subject: [PATCH] - pl, noarch Changed files: perl-Term-StatusBar.spec -> 1.2 --- perl-Term-StatusBar.spec | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/perl-Term-StatusBar.spec b/perl-Term-StatusBar.spec index adc87eb..4e6061d 100644 --- a/perl-Term-StatusBar.spec +++ b/perl-Term-StatusBar.spec @@ -1,28 +1,36 @@ - +# # Conditional build: %bcond_without tests # do perform "make test" - +# %include /usr/lib/rpm/macros.perl %define pdir Term %define pnam StatusBar -Summary: Term::StatusBar - Dynamic progress bar +Summary: Term::StatusBar - dynamic progress bar +Summary(pl): Term::StatusBar - dynamiczny pasek postêpu Name: perl-Term-StatusBar Version: 1.18 Release: 1 # same as perl -License: GPL/Artistic +License: GPL or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 9203efb3f76e6c4ac986a393b9df657e -BuildRequires: perl-devel >= 5.6 +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Term::StatusBar provides an easy way to create a terminal status bar, -much like those found in a graphical environment. Term::Size is used to -ensure the bar does not extend beyond the terminal's width. All outout -is sent to STDOUT by default. +much like those found in a graphical environment. Term::Size is used +to ensure the bar does not extend beyond the terminal's width. All +output is sent to STDOUT by default. + +%description -l pl +Term::StatusBar udostêpnia ³atwy sposób tworzenia na terminalu paska +stanu podobnego do tych, które mo¿na zobaczyæ w graficznym ¶rodowisku. +U¿ywa Term::Size do zapewnienia, ¿eby pasek nie przekroczy³ szeroko¶ci +terminala. Ca³e wyj¶cie domy¶lnie jest kierowane na STDOUT. %prep %setup -q -n %{pdir}-%{pnam} @@ -33,11 +41,13 @@ is sent to STDOUT by default. %{__make} -%{?with_tests:make test} +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0