3 Summary: Math::Units Perl module - unit conversion
4 Summary(pl.UTF-8): Moduł Perla Math::Units - przelicznie jednostek
8 License: GPL v1+ or Artistic
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5: 3674c769147eacdc0d22957d8288c104
12 URL: http://search.cpan.org/dist/Math-Units/
13 BuildRequires: perl-devel >= 1:5.8.0
14 BuildRequires: rpm-perlprov >= 4.1-13
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The Math::Units module converts a numeric value in one unit of
20 measurement to some other unit. The units must be compatible, i.e.
21 length can not be converted to volume. If a conversion can not be made
22 an exception is thrown.
24 %description -l pl.UTF-8
25 Moduł Math::Units przelicza wartości numeryczne z jednej jednostki
26 miary na inną. Jednostki muszą być zgodne, tzn. długość nie może być
27 przeliczona na objętość. Jeśli konwersja nie może zostać wykonana,
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc README examples/convert.pl
50 %{perl_vendorlib}/Math/Units.pm