/
perl-Set-IntSpan.spec
72 lines (52 loc) · 1.68 KB
/
perl-Set-IntSpan.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%define upstream_name Set-IntSpan
%define upstream_version 1.19
Name: perl-%{upstream_name}
Version: %perl_convert_version 1.19
Release: 3
Summary: Manage sets of integers
License: GPL+ or Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/%{upstream_name}
Source0: http://www.cpan.org/modules/by-module/Set/Set-IntSpan-1.19.tar.gz
BuildRequires: perl-devel
BuildArch: noarch
%description
Set::IntSpan manages sets of integers. It is optimized for sets that
have long runs of consecutive integers. These arise, for example, in
.newsrc files, which maintain lists of articles:
alt.foo: 1-21,28,31
alt.bar: 1-14192,14194,14196-14221
Sets are stored internally in a run-length coded form. This provides
for both compact storage and efficient computation. In particular,
set operations can be performed directly on the encoded
representation.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make
%check
make test
%install
%makeinstall_std
%files
%doc Changes README
%{perl_vendorlib}/Set/IntSpan.pm
%{_mandir}/*/*
%changelog
* Fri Nov 12 2010 Jérôme Quelin <jquelin@mandriva.org> 1.160.0-1mdv2011.0
+ Revision: 596643
- update to 1.16
* Tue Jul 13 2010 Jérôme Quelin <jquelin@mandriva.org> 1.140.0-1mdv2011.0
+ Revision: 552631
- update to 1.14
* Tue Jul 28 2009 Jérôme Quelin <jquelin@mandriva.org> 1.130.0-1mdv2010.0
+ Revision: 401610
- rebuild using %%perl_convert_version
- fixed license field
* Fri May 15 2009 Jérôme Quelin <jquelin@mandriva.org> 1.13-2mdv2010.0
+ Revision: 375902
- rebuild
* Sun May 03 2009 Funda Wang <fwang@mandriva.org> 1.13-1mdv2010.0
+ Revision: 370912
- import perl-Set-IntSpan