]> git.pld-linux.org Git - packages/perl-Math-BaseCalc.git/blobdiff - perl-Math-BaseCalc.spec
- updated to 1.013
[packages/perl-Math-BaseCalc.git] / perl-Math-BaseCalc.spec
index 3bb36ab19e43bdecd6af31d235c2964103fd869c..4ca7f0a505b82c654b2b0b0ea682bebb44449923 100644 (file)
@@ -1,20 +1,22 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Math
 %define                pnam    BaseCalc
-Summary:       Math::BaseCalc Perl module - Convert numbers between various bases
-Summary(pl):   Modu³ Perla Math::BaseCalc - konwertuj±cy liczby pomiêdzy systemami
+Summary:       Math::BaseCalc Perl module - convert numbers between various bases
+Summary(pl.UTF-8):     Moduł Perla Math::BaseCalc - konwersja liczb pomiędzy systemami o różnych podstawach
 Name:          perl-Math-BaseCalc
-Version:       1.011
+Version:       1.013
 Release:       1
-License:       GPL/Artistic
+# 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
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+# Source0-md5: 4af5782210388314ecb7d1a89e9885b7
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,19 +25,20 @@ This module facilitates the conversion of numbers between various
 number bases. You may define your own digit sets, or use any of
 several predefined digit sets.
 
-%description -l pl
-Ten modu³ u³atwia przeliczanie liczb pomiêdzy ró¿nymi systemami. Mo¿na
-zdefiniowaæ w³asne zestawy cyfr lub u¿yæ dowolnego z kilku
+%description -l pl.UTF-8
+Ten moduł ułatwia przeliczanie liczb pomiędzy różnymi systemami. Można
+zdefiniować własne zestawy cyfr lub użyć dowolnego z kilku
 predefiniowanych.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,5 +52,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes
-%{perl_sitelib}/Math/BaseCalc.pm
+%{perl_vendorlib}/Math/BaseCalc.pm
 %{_mandir}/man3/*
This page took 0.06408 seconds and 4 git commands to generate.