]> git.pld-linux.org Git - packages/perl-Array-RefElem.git/blob - perl-Array-RefElem.spec
- rebuild with perl 5.30.0
[packages/perl-Array-RefElem.git] / perl-Array-RefElem.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define pdir    Array
6 %define pnam    RefElem
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
11 Version:        1.00
12 Release:        18
13 # same as perl
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)
22
23 %description
24 This module gives direct access to some of the internal Perl routines
25 that let you store things in arrays and hashes.
26
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.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         CC="%{__cc}" \
39         OPTIMIZE="%{rpmcflags}"
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 %doc Changes README
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
60 %{_mandir}/man3/*
This page took 0.088927 seconds and 3 git commands to generate.