]> git.pld-linux.org Git - packages/perl-Term-Table.git/blob - perl-Term-Table.spec
- updated to 0.015
[packages/perl-Term-Table.git] / perl-Term-Table.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define pdir    Term
6 %define pnam    Table
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ę
9 Name:           perl-Term-Table
10 Version:        0.015
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/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
21 %if %{with tests}
22 BuildRequires:  perl-Importer >= 0.024
23 BuildRequires:  perl-Scalar-List-Utils
24 BuildRequires:  perl-Test-Simple >= 1.302097
25 %endif
26 Requires:       perl-Importer >= 0.024
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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.
34
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.
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 %{perl_vendorlib}/Term/Table.pm
63 %{perl_vendorlib}/Term/Table
64 %{_mandir}/man3/Term::Table*.3pm*
This page took 0.070236 seconds and 4 git commands to generate.