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