]> git.pld-linux.org Git - packages/perl-Clone.git/blame - perl-Clone.spec
- converted to UTF-8
[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
67b9311c 8Summary(pl.UTF-8): Clone - moduł Perla obsługujący rekursywne kopiowanie zmiennych w Perlu
90b31458 9Name: perl-Clone
27b6dd94 10Version: 0.22
90b31458 11Release: 1
65cfa140 12# same as perl
13License: GPL v1+ or Artistic
90b31458 14Group: Development/Languages/Perl
27b6dd94
JB
15Source0: http://www.cpan.org/modules/by-module/Clone/%{pdir}-%{version}.tar.gz
16# Source0-md5: f70af2c46fbb60acc4388908bfd37c2f
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} \
40 OPTIMIZE="%{rpmcflags}"
41
42%{?with_tests:%{__make} test}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changes
56%{perl_vendorarch}/Clone.pm
57%{perl_vendorarch}/auto/Clone/Clone.bs
58%attr(755,root,root) %{perl_vendorarch}/auto/Clone/Clone.so
27b6dd94 59%{perl_vendorarch}/auto/Clone/autosplit.ix
90b31458 60%{_mandir}/man3/*
This page took 0.068773 seconds and 4 git commands to generate.