]> git.pld-linux.org Git - packages/perl-Set-IntSpan.git/blame - perl-Set-IntSpan.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Set-IntSpan.git] / perl-Set-IntSpan.spec
CommitLineData
5d482ff2 1#
2# Conditional build:
dff9d417 3%bcond_without tests # do not perform "make test"
5d482ff2 4#
4288e4ce 5%define pdir Set
6%define pnam IntSpan
a681d0e8 7Summary: Set::IntSpan Perl module - manages sets of integers
12f164fc 8Summary(pl.UTF-8): Moduł Perla Set::IntSpan - zarządzanie zbiorami liczb całkowitych
0c480245 9Name: perl-Set-IntSpan
554a9fa3 10Version: 1.19
32110dc2 11Release: 1
5d482ff2 12# same as perl
13License: GPL v1+ or Artistic
0c480245 14Group: Development/Languages/Perl
f0c1cfe8 15Source0: http://www.cpan.org/modules/by-module/Set/%{pdir}-%{pnam}-%{version}.tar.gz
554a9fa3 16# Source0-md5: 7c21c2fedce5b7be7d8200e2cf2bdca1
f0c1cfe8 17URL: http://search.cpan.org/dist/Set-IntSpan/
3e513603 18BuildRequires: perl-devel >= 1:5.8.0
7ea127d8 19BuildRequires: rpm-perlprov >= 4.1-13
fb3584c7 20BuildArch: noarch
12ff1742 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0c480245 22
23%description
dff9d417 24Set::IntSpan manages sets of integers. It is optimized for sets that
25have long runs of consecutive integers. These arise, for example, in
9d6e0fe0
JB
26.newsrc files, which maintain lists of articles.
27
94e0fcb5
JR
28%description -l pl.UTF-8
29Moduł Set::IntSpan zarządza zbiorami liczb całkowitych. Jest
30zoptymalizowany dla zbiorów, które mają długie ciągi kolejnych liczb.
31Jest to częste na przykład w plikach .newsrc, które zawierają listy
32artykułów.
0c480245 33
34%prep
451f9494 35%setup -q -n %{pdir}-%{pnam}-%{version}
0c480245 36
37%build
7ea127d8 38%{__perl} Makefile.PL \
fbc3af50 39 INSTALLDIRS=vendor
42629afa 40%{__make}
0c480245 41
5d482ff2 42%{?with_tests:%{__make} test}
43
0c480245 44%install
45rm -rf $RPM_BUILD_ROOT
0c480245 46
5d482ff2 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
0c480245 49
0c480245 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
9d6e0fe0 55%doc Changes README
7ea127d8 56%{perl_vendorlib}/Set/IntSpan.pm
0c480245 57%{_mandir}/man3/*
This page took 0.510642 seconds and 4 git commands to generate.