]> git.pld-linux.org Git - packages/perl-Math-Fibonacci.git/blame - perl-Math-Fibonacci.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Math-Fibonacci.git] / perl-Math-Fibonacci.spec
CommitLineData
2d0265a1
JB
1#
2# Conditional build:
55250e3e 3%bcond_without tests # do not perform "make test"
4bd05e61 4
6b3feba1 5%define pdir Math
6%define pnam Fibonacci
2d0265a1 7Summary: Math::Fibonacci Perl module - Fibonacci numbers
83ad5ea0 8Summary(pl.UTF-8): Moduł Perla Math::Fibonacci - liczby Fibonacciego
2d0265a1
JB
9Name: perl-Math-Fibonacci
10Version: 1.5
18bb5542 11Release: 3
3bcdd642 12# same as perl
13License: GPL v1+ or Artistic
2d0265a1 14Group: Development/Languages/Perl
1ec6ea36 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
4d50b768 16# Source0-md5: 155d00ebe1a528ace70510f38959622a
4bd05e61 17URL: http://search.cpan.org/dist/Math-Fibonacci/
456432b7 18BuildRequires: perl-devel >= 1:5.8.0
71d7d6e7 19BuildRequires: rpm-perlprov >= 4.1-13
2d0265a1
JB
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module provides a few functions related to Fibonacci numbers.
25
c15de50e
JR
26%description -l pl.UTF-8
27Ten moduł udostępnia kilka funkcji związanych z liczbami Fibonacciego.
2d0265a1
JB
28
29%prep
30%setup -q -n %{pdir}-%{pnam}-%{version}
31
32%build
71d7d6e7 33%{__perl} Makefile.PL \
f379ef6b 34 INSTALLDIRS=vendor
2d0265a1
JB
35%{__make}
36
55250e3e 37%{?with_tests:%{__make} test}
2d0265a1
JB
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc Changes TODO
71d7d6e7 51%{perl_vendorlib}/Math/Fibonacci.pm
2d0265a1 52%{_mandir}/man3/*
This page took 0.067994 seconds and 4 git commands to generate.