3 %bcond_without tests # do not perform "make test"
7 Summary: Text::Table - Organize Data in Tables
8 Summary(pl.UTF-8): Text::Table - organizowanie danych w tabelach
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: ea52bf0a1ca109c6612b42113c1d9142
17 URL: http://search.cpan.org/dist/Text-Table/
18 BuildRequires: perl-Text-Aligner
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Organization of data in table form is a time-honored and useful method
25 of data representation. While columns of data are trivially generated
26 by computer through formatted output, even simple tasks like keeping
27 titles aligned with the data columns are not trivial, and the one-shot
28 solutions one comes up with tend to be particularly hard to maintain.
29 Text::Table allows you to create and maintain tables that adapt to
30 alignment requirements as you use them.
32 %description -l pl.UTF-8
33 Organizowanie danych w postaci tabel jest szanującą czas i przydatną
34 metodą reprezentacji danych. Kiedy kolumny danych są trywialnie
35 wygenerowane przez komputer poprzez sformatowane wyjście, nawet proste
36 zadania, takie jak utrzymywanie tytułów wyrównanych z kolumnami
37 danych, nie są trywialne, a doraźne rozwiązania stają się trudne do
38 utrzymania. Text::Table pozwala na tworzenie i utrzymywanie tabel
39 adaptujących się podczas używania do wymagań dotyczących wyrównania.
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)
63 %{perl_vendorlib}/Text/Table.pm