]> git.pld-linux.org Git - SPECS.git/blob - perl-Array-Compare.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Array-Compare.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Array
6 %define         pnam    Compare
7 Summary:        Array::Compare - Perl extension for comparing arrays
8 Summary(pl.UTF-8):      Array::Compare - rozszerzenie Perla do porównywania tablic
9 Name:           perl-Array-Compare
10 Version:        2.02
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Array/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  a1e5f3bc8a2dd4a27f65890a7c45dd05
17 URL:            http://search.cpan.org/dist/Array-Compare/
18 BuildRequires:  perl-Module-Build >= 0.20
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-Moose
23 BuildRequires:  perl-Test-NoWarnings
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 If you have two arrays and you want to know if they are the same or
30 different, then Array::Compare Perl module will be useful to you.
31
32 %description -l pl.UTF-8
33 Moduł Perla Array::Compare jest przeznaczony dla posiadaczy dwóch
34 tablic, którzy chcieliby wiedzieć czy są one identyczne, czy różne.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 perl Build.PL \
41         installdirs=vendor \
42         destdir=$RPM_BUILD_ROOT
43 ./Build
44
45 %{?with_tests:./Build test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 ./Build install
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %{perl_vendorlib}/Array/Compare.pm
59 %{_mandir}/man3/Array::Compare.3pm*
This page took 0.089317 seconds and 3 git commands to generate.