]>
Commit | Line | Data |
---|---|---|
01a43b96 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
5 | %include /usr/lib/rpm/macros.perl | |
6 | %define pdir Set | |
7 | %define pnam Infinite | |
8 | Summary: Set::Infinite - Sets of intervals | |
51d59500 | 9 | Summary(pl.UTF-8): Set::Infinite - zbiory przedziałów |
01a43b96 | 10 | Name: perl-Set-Infinite |
3ed505f5 | 11 | Version: 0.65 |
f4419264 | 12 | Release: 1 |
01a43b96 | 13 | # same as perl |
14 | License: GPL v1+ or Artistic | |
15 | Group: Development/Languages/Perl | |
16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
3ed505f5 | 17 | # Source0-md5: d7577c5ed8fceb2ebd1247a4c4a3e825 |
5568e4f5 | 18 | URL: http://search.cpan.org/dist/Set-Infinite/ |
01a43b96 | 19 | BuildRequires: perl-devel >= 1:5.8.0 |
20 | BuildRequires: rpm-perlprov >= 4.1-13 | |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Set::Infinite is a Set Theory module for infinite sets. | |
26 | ||
01b86ced ER |
27 | A set is a collection of objects. The objects that belong to a set are |
28 | called its members, or "elements". | |
01a43b96 | 29 | |
01b86ced | 30 | As objects we allow (almost) anything: reals, integers, and objects |
01a43b96 | 31 | (such as dates). |
32 | ||
33 | We allow sets to be infinite. | |
34 | ||
01b86ced ER |
35 | There is no account for the order of elements. For example, {1,2} = |
36 | {2,1}. | |
01a43b96 | 37 | |
b6829373 JR |
38 | %description -l pl.UTF-8 |
39 | Set::Infinite to moduł teorii zbiorów dla zbiorów nieskończonych. | |
5568e4f5 | 40 | |
b6829373 | 41 | Zbiór to kolekcja obiektów. Obiekty należące do zbioru są nazywane |
5568e4f5 JB |
42 | jego elementami. |
43 | ||
44 | Jako obiekty dopuszczone jest (prawie) wszystko: liczby rzeczywiste, | |
b6829373 | 45 | całkowite i obiekty (takie jak daty). |
5568e4f5 | 46 | |
b6829373 | 47 | Ten moduł dopuszcza zbiory nieskończone. |
5568e4f5 | 48 | |
b6829373 | 49 | Nie ma porządku elementów. Na przykład {1,2} = {2,1}. |
01a43b96 | 50 | |
51 | %prep | |
52 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
53 | ||
54 | %build | |
55 | %{__perl} Makefile.PL \ | |
56 | INSTALLDIRS=vendor | |
57 | %{__make} | |
58 | ||
59 | %{?with_tests:%{__make} test} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %doc Changes README TODO | |
73 | %{perl_vendorlib}/Set/*.pm | |
74 | %{perl_vendorlib}/Set/Infinite | |
75 | %{_mandir}/man3/* |