3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Array::Reform - convert an array into N-sized array of arrays
9 Summary(pl.UTF-8): Array::Reform - konwersja tablicy do tablicy tablic o rozmiarze N
10 Name: perl-Array-Reform
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: aa7f8e776623a014db6c19a906cca409
17 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Ever had a list of things you needed to neetly format into a set of
24 HTML table rows? Well, look no further my friend. For the low, low
25 price of 0.00 you too can reform you data into a neet set of lists and
26 produce tables from it.
28 %description -l pl.UTF-8
29 Ten moduł pomaga przekształcić tablicę w tablicę tablic o rozmiarze N.
30 Jest przydatny m.in. przy umieszczaniu danych w tabeli HTML.
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Array/Reform.pm
54 %dir %{perl_vendorlib}/auto/Array/Reform
55 %{perl_vendorlib}/auto/Array/Reform/autosplit.ix