]>
Commit | Line | Data |
---|---|---|
c5325a2b JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
5 | %include /usr/lib/rpm/macros.perl | |
6 | %define pdir Convert | |
7 | %define pnam Units | |
8 | Summary: Convert::Units::* - objects for performing unit conversions | |
9 | Summary(pl): Convert::Units::* - obiekty do przeliczania jednostek | |
10 | Name: perl-Convert-Units | |
11 | Version: 0.43 | |
12 | Release: 1 | |
13 | # same as perl | |
70f27cad | 14 | License: GPL v1+ or Artistic |
c5325a2b JB |
15 | Group: Development/Languages/Perl |
16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
17 | # Source0-md5: 4fa0ccd591bac873b8d0f32771699b3d | |
18 | BuildRequires: perl-devel >= 1:5.8.0 | |
19 | BuildRequires: rpm-perlprov >= 4.1-13 | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | The Units package is a collection of modules for parsing strings with | |
25 | unit measurements (such as "12pt" or "3 meters") and converting them | |
26 | to some other unit (such as "picas" or "inches"). | |
27 | ||
28 | It uses a base package (Units::Base) which does the dirty work. Other | |
29 | modules define what units they handle and how they are related. | |
30 | ||
31 | %description -l pl | |
32 |