]>
Commit | Line | Data |
---|---|---|
451f9494 | 1 | %include /usr/lib/rpm/macros.perl |
87908b30 | 2 | %define pdir Set |
3 | %define pnam IntSpan | |
09fc7c09 | 4 | Summary: Set::IntSpan - Manages sets of integers |
0c480245 | 5 | Name: perl-Set-IntSpan |
6 | Version: 1.07 | |
451f9494 | 7 | Release: 8 |
f95fa825 | 8 | License: GPL |
0c480245 | 9 | Group: Development/Languages/Perl |
d0bd4284 | 10 | Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
b947b5d4 | 11 | BuildRequires: rpm-perlprov >= 3.0.3-16 |
3956a1b9 | 12 | BuildRequires: perl >= 5.6 |
fb3584c7 | 13 | BuildArch: noarch |
12ff1742 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
0c480245 | 15 | |
16 | %description | |
09fc7c09 | 17 | C<Set::IntSpan> manages sets of integers. It is optimized for sets |
18 | that have long runs of consecutive integers. These arise, for example, | |
19 | in .newsrc files, which maintain lists of articles: | |
0c480245 | 20 | |
21 | %prep | |
451f9494 | 22 | %setup -q -n %{pdir}-%{pnam}-%{version} |
0c480245 | 23 | |
24 | %build | |
25 | perl Makefile.PL | |
42629afa | 26 | %{__make} |
0c480245 | 27 | |
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
0c480245 | 30 | |
3956a1b9 | 31 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
0c480245 | 32 | |
3956a1b9 | 33 | gzip -9nf Changes README |
0c480245 | 34 | |
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
3956a1b9 | 40 | %doc *.gz |
0c480245 | 41 | %{perl_sitelib}/Set/IntSpan.pm |
0c480245 | 42 | %{_mandir}/man3/* |