3 %bcond_without tests # do not perform "make test"
7 Summary: Convert::Scalar - convert between different representations of perl scalars
8 Summary(pl.UTF-8): Convert::Scalar - konwersja między różnymi reprezentacjami perlowych skalarów
9 Name: perl-Convert-Scalar
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 849a207e94b7714c677f476608418199
17 URL: http://search.cpan.org/dist/Convert-Scalar/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module exports various internal perl methods that change the
24 internal representation or state of a perl scalar. All of these work
25 in-place, that is, they modify their scalar argument.
27 %description -l pl.UTF-8
28 Ten moduł eksportuje różne wewnętrzne perlowe metody zmieniające
29 wewnętrzną reprezentację lub stan perlowego skalara. Wszystko to
30 działa "na miejscu", czyli modyfikowany jest argument skalarny.
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
41 OPTIMIZE="%{rpmcflags}"
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorarch}/Convert/Scalar.pm
58 %dir %{perl_vendorarch}/auto/Convert/Scalar
59 %attr(755,root,root) %{perl_vendorarch}/auto/Convert/Scalar/Scalar.so