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