]> git.pld-linux.org Git - packages/perl-Text-Table.git/blob - perl-Text-Table.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Text-Table.git] / perl-Text-Table.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Text
6 %define         pnam    Table
7 Summary:        Text::Table - Organize Data in Tables
8 Summary(pl.UTF-8):      Text::Table - organizowanie danych w tabelach
9 Name:           perl-Text-Table
10 Version:        1.124
11 Release:        1
12 # same as perl
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
31
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.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README
63 %{perl_vendorlib}/Text/Table.pm
64 %{_mandir}/man3/*
This page took 0.057773 seconds and 4 git commands to generate.