]> git.pld-linux.org Git - packages/perl-Array-Uniq.git/blame - perl-Array-Uniq.spec
use generic url
[packages/perl-Array-Uniq.git] / perl-Array-Uniq.spec
CommitLineData
52c6ee14 1#
7d489def
MP
2# Conditional build:
3%bcond_without tests # do perform "make test"
d858591c 4
dfad83e2 5%define pdir Array
6%define pnam Uniq
d858591c 7%include /usr/lib/rpm/macros.perl
0926580e 8Summary: Array::Uniq - pure Perl uniq module
eab646fa 9Summary(pl.UTF-8): Array::Uniq - czysto perlowy moduł uniq
7d489def
MP
10Name: perl-Array-Uniq
11Version: 0.02
7a18e354 12Release: 3
7d489def 13# same as perl
b373b3d0 14License: GPL v1+ or Artistic
7d489def
MP
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 208d737de9e0ead97df952a5d66bd406
d858591c 18URL: http://search.cpan.org/dist/Array-Uniq/
52c6ee14 19BuildRequires: perl-devel >= 1:5.8.0
7d489def 20BuildRequires: rpm-perlprov >= 4.1-13
4e068607 21BuildArch: noarch
7d489def
MP
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
d858591c
ER
25Similar functionality is available at shell prompts of *nix O/S. This
26modules is attempting to provide the same to Perl programming,
7d489def 27
d108934a
JR
28%description -l pl.UTF-8
29Podobna funkcjonalność jest dostępna z poziomu powłoki systemów
30uniksowych. Ten moduł jest próbą dostarczenia tego samego programom w
52c6ee14
JB
31Perlu.
32
7d489def
MP
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39
40%{__make}
41
42%{?with_tests:make test}
43
44%install
45rm -rf $RPM_BUILD_ROOT
52c6ee14
JB
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
7d489def
MP
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%{perl_vendorlib}/Array/Uniq.pm
56%{_mandir}/man3/*
This page took 0.084149 seconds and 4 git commands to generate.