]> git.pld-linux.org Git - packages/perl-Text-Table.git/blame - perl-Text-Table.spec
use generic url
[packages/perl-Text-Table.git] / perl-Text-Table.spec
CommitLineData
d96fac8a
AM
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4cd51906 4
01ebf0c9 5%define pdir Text
6%define pnam Table
4cd51906 7%include /usr/lib/rpm/macros.perl
d96fac8a 8Summary: Text::Table - Organize Data in Tables
1316d00d 9Summary(pl.UTF-8): Text::Table - organizowanie danych w tabelach
d96fac8a 10Name: perl-Text-Table
c41e8c33 11Version: 1.124
cceb211e 12Release: 1
d96fac8a
AM
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
c41e8c33 17# Source0-md5: ea52bf0a1ca109c6612b42113c1d9142
4cd51906 18URL: http://search.cpan.org/dist/Text-Table/
d96fac8a 19BuildRequires: perl-Text-Aligner
2de25cae 20BuildRequires: rpm-perlprov >= 4.1-13
d96fac8a
AM
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
2de25cae
JB
25Organization of data in table form is a time-honored and useful method
26of data representation. While columns of data are trivially generated
27by computer through formatted output, even simple tasks like keeping
28titles aligned with the data columns are not trivial, and the one-shot
29solutions one comes up with tend to be particularly hard to maintain.
30Text::Table allows you to create and maintain tables that adapt to
31alignment requirements as you use them.
32
abb45ee5
JR
33%description -l pl.UTF-8
34Organizowanie danych w postaci tabel jest szanującą czas i przydatną
35metodą reprezentacji danych. Kiedy kolumny danych są trywialnie
36wygenerowane przez komputer poprzez sformatowane wyjście, nawet proste
37zadania, takie jak utrzymywanie tytułów wyrównanych z kolumnami
38danych, nie są trywialne, a doraźne rozwiązania stają się trudne do
2de25cae 39utrzymania. Text::Table pozwala na tworzenie i utrzymywanie tabel
abb45ee5 40adaptujących się podczas używania do wymagań dotyczących wyrównania.
d96fac8a
AM
41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48%{__make}
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc README
64%{perl_vendorlib}/Text/Table.pm
65%{_mandir}/man3/*
This page took 0.085761 seconds and 4 git commands to generate.