3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Array::RefElem - set up array elements as aliases
9 Summary(pl.UTF-8): Array::RefElem - ustawianie elementów tablicy jako aliasów
10 Name: perl-Array-RefElem
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-authors/id/G/GA/GAAS/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 43ff2dd2049258634cb00697198572d1
18 URL: http://search.cpan.org/dist/Array-RefElem/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This module gives direct access to some of the internal Perl routines
25 that let you store things in arrays and hashes.
27 %description -l pl.UTF-8
28 Ten moduł daje bezpośredni dostęp do niektórych wewnętrznych funkcji
29 Perla pozwalających zapisywać różne rzeczy w tablicach i haszach.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 OPTIMIZE="%{rpmcflags}"
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)
55 %dir %{perl_vendorarch}/Array
56 %{perl_vendorarch}/Array/*.pm
57 %dir %{perl_vendorarch}/auto/Array
58 %dir %{perl_vendorarch}/auto/Array/RefElem
59 %attr(755,root,root) %{perl_vendorarch}/auto/Array/RefElem/*.so