# # Conditional build: %bcond_without tests # do not perform "make test" %define pdir Math %define pnam Base36 Summary: Math::Base36 Perl module - encoding and decoding of base36 strings Summary(pl.UTF-8): Moduł Perla Math::Base36 - kodowanie i dekodowanie łańcuchów base36 Name: perl-Math-Base36 Version: 0.09 Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 3af1a961e45c0e367e78685a518f5dde URL: http://search.cpan.org/dist/Math-Base36/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This module converts to and from Base36 numbers (0..9 - A..Z). %description -l pl.UTF-8 Ten moduł konwertuje do i z liczb Base36 (w systemie o podstawie 36 - z cyframi 0..9,A..Z). %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes %{perl_vendorlib}/Math/Base36.pm %{_mandir}/man3/*