]> git.pld-linux.org Git - packages/perl-Array-Reform.git/blob - perl-Array-Reform.spec
use generic url
[packages/perl-Array-Reform.git] / perl-Array-Reform.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Array
6 %define         pnam    Reform
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
11 Version:        1.03
12 Release:        2
13 License:        unknown
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
28
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.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
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
57 %{_mandir}/man3/*
This page took 0.053841 seconds and 3 git commands to generate.