]> git.pld-linux.org Git - packages/perl-Array-RefElem.git/blob - perl-Array-RefElem.spec
perl 5.38.0 rebuild
[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 Summary:        Array::RefElem - set up array elements as aliases
8 Summary(pl.UTF-8):      Array::RefElem - ustawianie elementów tablicy jako aliasów
9 Name:           perl-Array-RefElem
10 Version:        1.00
11 Release:        22
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-authors/id/G/GA/GAAS/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  43ff2dd2049258634cb00697198572d1
17 URL:            http://search.cpan.org/dist/Array-RefElem/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module gives direct access to some of the internal Perl routines
24 that let you store things in arrays and hashes.
25
26 %description -l pl.UTF-8
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.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make} \
37         CC="%{__cc}" \
38         OPTIMIZE="%{rpmcflags}"
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
54 %dir %{perl_vendorarch}/Array
55 %{perl_vendorarch}/Array/*.pm
56 %dir %{perl_vendorarch}/auto/Array
57 %dir %{perl_vendorarch}/auto/Array/RefElem
58 %attr(755,root,root) %{perl_vendorarch}/auto/Array/RefElem/*.so
59 %{_mandir}/man3/*
This page took 0.077603 seconds and 4 git commands to generate.