]> git.pld-linux.org Git - packages/perl-Math-Units.git/blame - perl-Math-Units.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Math-Units.git] / perl-Math-Units.spec
CommitLineData
cc83d4e2 1%define pdir Math
2%define pnam Units
c0b80148 3Summary: Math::Units Perl module - unit conversion
0d8d676a 4Summary(pl.UTF-8): Moduł Perla Math::Units - przelicznie jednostek
8a2ac8cf 5Name: perl-Math-Units
ab27aff8 6Version: 1.3
7Release: 1
9f32367c 8License: GPL v1+ or Artistic
8a2ac8cf 9Group: Development/Languages/Perl
4d293add 10Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
ab27aff8 11# Source0-md5: 3674c769147eacdc0d22957d8288c104
af6ccb67 12URL: http://search.cpan.org/dist/Math-Units/
29e269c8 13BuildRequires: perl-devel >= 1:5.8.0
5d05be48 14BuildRequires: rpm-perlprov >= 4.1-13
7f47ffe2 15BuildArch: noarch
3a1b9525 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8a2ac8cf 17
18%description
9541db99
JB
19The Math::Units module converts a numeric value in one unit of
20measurement to some other unit. The units must be compatible, i.e.
21length can not be converted to volume. If a conversion can not be made
22an exception is thrown.
23
e39566b0
JR
24%description -l pl.UTF-8
25Moduł Math::Units przelicza wartości numeryczne z jednej jednostki
26miary na inną. Jednostki muszą być zgodne, tzn. długość nie może być
27przeliczona na objętość. Jeśli konwersja nie może zostać wykonana,
28rzucany jest wyjątek.
8a2ac8cf 29
30%prep
bd611ce6 31%setup -q -n %{pdir}-%{pnam}-%{version}
8a2ac8cf 32
33%build
5d05be48 34%{__perl} Makefile.PL \
20b654b4 35 INSTALLDIRS=vendor
6ca7e337 36%{__make}
8a2ac8cf 37
38%install
39rm -rf $RPM_BUILD_ROOT
ac111779 40
ec1a67a7 41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
8a2ac8cf 43
8a2ac8cf 44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
ab27aff8 49%doc README examples/convert.pl
5d05be48 50%{perl_vendorlib}/Math/Units.pm
8a2ac8cf 51%{_mandir}/man3/*
This page took 0.07906 seconds and 4 git commands to generate.