3 %bcond_without tests # do not perform "make test"
7 Summary: Text::Number Perl module - overloaded class for printing numbers
8 Summary(pl.UTF-8): Moduł Perla Text::Number - przeciążona klasa do wypisywania liczb
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: 2971d31bc21dc22ca418055ab71291aa
17 URL: http://search.cpan.org/dist/Text-Number/
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 Text::Number Perl module provides a facility for transparently
25 configuring numbers to print the way you want them to. Calculations
26 are always executed using the full precision of the number, but
27 printing is rounded to the number of places of your choosing.
29 %description -l pl.UTF-8
30 Moduł Perla Text::Number udostępnia funkcje do przezroczystego
31 konfigurowania wypisywania liczb w żądany sposób. Do obliczeń zawsze
32 używane są liczby o maksymalnej precyzji, lecz podczas wypisywania są
33 one zaokrąglane do zadanej ilości miejsc dziesiętnych.
39 %{__perl} Makefile.PL \
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_vendorlib}/Text/Number.pm