3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Crypt::Rot13 Perl module - a rotational deviator
9 Summary(pl.UTF-8): Moduł Perla Crypt::Rot13 - obrotowy dewiator
10 Name: perl-Crypt-Rot13
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/AYRNIEU/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 0898cc852619875a743678083152155a
17 URL: http://search.cpan.org/dist/Crypt-Rot13/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Rot13 provides an object into which arrays may be placed, and then
25 returned to you in altered - specifically: rotated - form. Valid
26 rot13() arguments are 0-26, though 0 and 26 do not alter the array.
28 %description -l pl.UTF-8
29 Rot13 udostępnia obiekt, w którym można umieszczać tablice, które
30 następnie są zwracane w zmodyfikowanej, a konkretnie "obróconej"
31 formie. Prawidłowy argument dla rot13() to liczba z przedziału 0-26,
32 ale 0 i 26 nie zmieniają zawartości tablicy.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
41 %{?with_tests: %{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/Crypt/Rot13.pm