3 %bcond_without tests # do not perform "make test"
7 %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 URL: http://search.cpan.org/dist/Array-Reform/
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 Ever had a list of things you needed to neetly format into a set of
25 HTML table rows? Well, look no further my friend. For the low, low
26 price of 0.00 you too can reform you data into a neet set of lists and
27 produce tables from it.
29 %description -l pl.UTF-8
30 Ten moduł pomaga przekształcić tablicę w tablicę tablic o rozmiarze N.
31 Jest przydatny m.in. przy umieszczaniu danych w tabeli HTML.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %{perl_vendorlib}/Array/Reform.pm
55 %dir %{perl_vendorlib}/auto/Array/Reform
56 %{perl_vendorlib}/auto/Array/Reform/autosplit.ix