3 %bcond_without tests # do not perform "make test"
7 Summary: Term::Table - Format a header and rows into a table
8 Summary(pl.UTF-8): Term::Table - formatowanie nagłówka i wierszy w tabelę
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Term/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: f23274aec9bc43fe46135d37ae1b5927
17 URL: https://metacpan.org/release/Term-Table
18 BuildRequires: perl-devel >= 1:5.8.1
19 BuildRequires: rpm-perlprov
20 BuildRequires: rpmbuild(macros) >= 1.745
22 BuildRequires: perl-Importer >= 0.024
23 BuildRequires: perl-Scalar-List-Utils
24 BuildRequires: perl-Test-Simple >= 1.302097
26 Requires: perl-Importer >= 0.024
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Format a header and rows into a table. This is used by some failing
32 tests to provide diagnostics about what has gone wrong. This module is
33 able to generic format rows of data into tables.
35 %description -l pl.UTF-8
36 Formatowanie nagłówka i wierszy w tabelę. Jest to używane przez
37 niektóre testy do dostarczenia informacji diagnostycznych, co poszło
38 nie tak w przypadku niepowodzenia. Ten moduł potrafi ogólnie
39 formatować wiersze danych w tabele.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %{perl_vendorlib}/Term/Table.pm
63 %{perl_vendorlib}/Term/Table
64 %{_mandir}/man3/Term::Table*.3pm*