3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Array::RefElem - set up array elements as aliases
9 Summary(pl): 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/Array-RefElem-1.00.tar.gz
17 # Source0-md5: 43ff2dd2049258634cb00697198572d1
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module gives direct access to some of the internal Perl routines
24 that let you store things in arrays and hashes.
27 Ten modu³ daje bezpo¶redni dostêp do niektórych wewnêtrznych funkcji
28 Perla pozwalaj±cych zapisywaæ ró¿ne rzeczy w tablicach i haszach.
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
37 OPTIMIZE="%{rpmcflags}"
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %dir %{perl_vendorarch}/Array
54 %{perl_vendorarch}/Array/*.pm
55 %dir %{perl_vendorarch}/auto/Array
56 %dir %{perl_vendorarch}/auto/Array/RefElem
57 %{perl_vendorarch}/auto/Array/RefElem/*.bs
58 %attr(755,root,root) %{perl_vendorarch}/auto/Array/RefElem/*.so