3 %bcond_without tests # do not perform "make test"
7 Summary: Array::PrintCols - print or format array elements in vertically sorted columns
8 Summary(pl.UTF-8): Array::PrintCols - formatowanie tablicy w pionowo posortowanych kolumnach
9 Name: perl-Array-PrintCols
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: b8780d4eda58c33d70c0999232c633bd
16 Patch0: %{name}-fix.patch
17 URL: http://search.cpan.org/dist/Array-PrintCols/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Array::PrintCols defines a subroutine to print arrays of elements in
25 alphabetically, vertically sorted columns. Optional arguments can be
26 given to control either the width or number of the columns, the total
27 width of the output, and the amount of indentation.
29 %description -l pl.UTF-8
30 Moduł Array::PrintCol definiuje funkcję do wypisywania tablic
31 elementów alfabetycznie, w pionowych posortowanych kolumnach. Można
32 przekazać opcjonalne parametry, kontrolujące szerokość lub liczbę
33 kolumn, całkowitą szerokość wyjścia oraz liczbę wcięć.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %{perl_vendorlib}/%{pdir}/*.pm