]>
Commit | Line | Data |
---|---|---|
7cc9fe46 | 1 | # |
2 | # Conditional build: | |
6ee54dc0 | 3 | %bcond_without tests # do not perform "make test" |
35d24a2b | 4 | |
c6dd6329 | 5 | %define pdir Array |
6 | %define pnam Reform | |
35d24a2b | 7 | %include /usr/lib/rpm/macros.perl |
5c169ddb | 8 | Summary: Array::Reform - convert an array into N-sized array of arrays |
99171cbf | 9 | Summary(pl.UTF-8): Array::Reform - konwersja tablicy do tablicy tablic o rozmiarze N |
4586e5e9 | 10 | Name: perl-Array-Reform |
d0d31397 | 11 | Version: 1.03 |
268d2703 | 12 | Release: 2 |
e5abfed2 | 13 | License: unknown |
4586e5e9 | 14 | Group: Development/Languages/Perl |
f0938031 | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
d0d31397 | 16 | # Source0-md5: aa7f8e776623a014db6c19a906cca409 |
35d24a2b | 17 | URL: http://search.cpan.org/dist/Array-Reform/ |
feef9135 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
35d24a2b | 19 | BuildRequires: rpm-perlprov >= 4.1-13 |
4586e5e9 | 20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
e5abfed2 | 24 | Ever had a list of things you needed to neetly format into a set of |
c6dd6329 | 25 | HTML table rows? Well, look no further my friend. For the low, low |
e5abfed2 | 26 | price of 0.00 you too can reform you data into a neet set of lists and |
27 | produce tables from it. | |
4586e5e9 | 28 | |
72ab0aa9 JR |
29 | %description -l pl.UTF-8 |
30 | Ten moduł pomaga przekształcić tablicę w tablicę tablic o rozmiarze N. | |
e5abfed2 | 31 | Jest przydatny m.in. przy umieszczaniu danych w tabeli HTML. |
4586e5e9 | 32 | |
33 | %prep | |
34 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
35 | ||
36 | %build | |
b792238a | 37 | %{__perl} Makefile.PL \ |
393afa37 | 38 | INSTALLDIRS=vendor |
4586e5e9 | 39 | %{__make} |
7cc9fe46 | 40 | |
6ee54dc0 | 41 | %{?with_tests:%{__make} test} |
4586e5e9 | 42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
10967414 | 46 | %{__make} install \ |
47 | DESTDIR=$RPM_BUILD_ROOT | |
4586e5e9 | 48 | |
4586e5e9 | 49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
b792238a | 54 | %{perl_vendorlib}/Array/Reform.pm |
55 | %dir %{perl_vendorlib}/auto/Array/Reform | |
56 | %{perl_vendorlib}/auto/Array/Reform/autosplit.ix | |
4586e5e9 | 57 | %{_mandir}/man3/* |