]> git.pld-linux.org Git - SPECS.git/blob - perl-Data-ShowTable.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / perl-Data-ShowTable.spec
1 %define         pdir    Data
2 %define         pnam    ShowTable
3 Summary:        Data::ShowTable - Perl module to print arrays of data
4 Summary(pl.UTF-8):      Data::ShowTable - moduł Perla do wypisywania tablic danych
5 Name:           perl-Data-ShowTable
6 Version:        3.3
7 Release:        12
8 License:        GPL v2+
9 Group:          Development/Languages/Perl
10 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5:  e8a3060790803bdf9f0fcb73bb4e71c4
12 URL:            http://search.cpan.org/dist/Data-ShowTable/
13 Patch0:         %{name}-paths.patch
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 ShowTable.pm is a Perl module which defines subroutines to print
21 arrays of data in a nicely formatted listing, using one of four
22 possible formats: simple table, boxed table, list style, and
23 HTML-formatting (for World-Wide-Web output).
24
25 %description -l pl.UTF-8
26 Data::ShowTable to moduł Perla definiujący funkcje do wypisywania
27 tablic danych w ładnie sformatowanej postaci przy użyciu jednego
28 z czterech możliwych formatów: prostej tabeli, tabeli z komórkami,
29 listy oraz formatowania HTML (do wyjścia WWW).
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %patch0 -p1
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes README
52 %attr(755,root,root) %{_bindir}/showtable
53 %{perl_vendorlib}/Data/ShowTable.pm
54 %{_mandir}/man[13]/*
This page took 0.254045 seconds and 3 git commands to generate.