]> git.pld-linux.org Git - packages/perl-Math-BaseCalc.git/blob - perl-Math-BaseCalc.spec
- should be ready for perl-5.8.0; release++
[packages/perl-Math-BaseCalc.git] / perl-Math-BaseCalc.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Math
7 %define         pnam    BaseCalc
8 Summary:        Math::BaseCalc Perl module - Convert numbers between various bases
9 Summary(pl):    Modu³ Perla Math::BaseCalc - konwertuj±cy liczby pomiêdzy systemami
10 Name:           perl-Math-BaseCalc
11 Version:        1.011
12 Release:        2
13 License:        GPL/Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl >= 5.6
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This module facilitates the conversion of numbers between various
23 number bases. You may define your own digit sets, or use any of
24 several predefined digit sets.
25
26 %description -l pl
27 Ten modu³ u³atwia przeliczanie liczb pomiêdzy ró¿nymi systemami. Mo¿na
28 zdefiniowaæ w³asne zestawy cyfr lub u¿yæ dowolnego z kilku
29 predefiniowanych.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor 
37 %{__make}
38
39 %{!?_without_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes
53 %{perl_vendorlib}/Math/BaseCalc.pm
54 %{_mandir}/man3/*
This page took 0.093649 seconds and 3 git commands to generate.