]> git.pld-linux.org Git - packages/perl-Clone.git/blame - perl-Clone.spec
rebuild with perl 5.34.0
[packages/perl-Clone.git] / perl-Clone.spec
CommitLineData
90b31458
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
f36e6784 5%define pdir Clone
a0f1db15 6Summary: Clone - Perl module for recursively copying Perl datatypes
9c03c4b8 7Summary(pl.UTF-8): Clone - moduł Perla obsługujący rekursywne kopiowanie zmiennych w Perlu
90b31458 8Name: perl-Clone
2f96cdfa 9Version: 0.45
1c47d17d 10Release: 2
65cfa140 11# same as perl
12License: GPL v1+ or Artistic
90b31458 13Group: Development/Languages/Perl
27b6dd94 14Source0: http://www.cpan.org/modules/by-module/Clone/%{pdir}-%{version}.tar.gz
2f96cdfa 15# Source0-md5: b101333499b638658f89e29458cd83c0
35fc2867
JB
16URL: https://metacpan.org/release/Clone
17%if %{with tests}
2f96cdfa 18BuildRequires: perl-B-COW >= 0.004
35fc2867
JB
19BuildRequires: perl-Test-Simple
20%endif
90b31458
MP
21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
35fc2867 23BuildRequires: rpmbuild(macros) >= 1.745
90b31458
MP
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This module provides a clone() method which makes recursive copies
28of nested hash, array, scalar and reference types, including tied
29variables and objects.
30
67b9311c
JR
31%description -l pl.UTF-8
32Ten moduł dostarcza clone(), metodę służącą do rekurencyjnego
33kopiowania zagnieżdżonych tablic asocjacyjnych, tablic, skalarów i
34referencji, włącznie ze związanymi zmiennymi i obiektami.
9dcf3004 35
90b31458
MP
36%prep
37%setup -q -n %{pdir}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42
43%{__make} \
e02eb120 44 CC="%{__cc}" \
90b31458
MP
45 OPTIMIZE="%{rpmcflags}"
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes
61%{perl_vendorarch}/Clone.pm
90b31458 62%attr(755,root,root) %{perl_vendorarch}/auto/Clone/Clone.so
27b6dd94 63%{perl_vendorarch}/auto/Clone/autosplit.ix
08a640a9 64%{_mandir}/man3/Clone.3pm*
This page took 0.034887 seconds and 4 git commands to generate.