3 %bcond_without tests # do not perform "make test"
7 Summary: Set::Array - arrays as objects with lots of handy methods
8 Summary(pl.UTF-8): Set::Array - tablice jako obiekty z wieloma poręcznymi metodami
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Set/%{pdir}-%{pnam}-%{version}.tgz
15 # Source0-md5: 7291a3b10383791dc5bc52a0d1e9113a
16 URL: http://search.cpan.org/dist/Set-Array/
17 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-Want >= 0.05
20 BuildRequires: perl-Test-Deep
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Set::Array allows you to create arrays as objects and use OO-style
28 methods on them. Many convenient methods are provided here that appear
29 in the FAQ's, the Perl Cookbook or posts from comp.lang.perl.misc. In
30 addition, there are Set methods with corresponding (overloaded)
31 operators for the purpose of Set comparison, i.e. +, ==, etc.
33 %description -l pl.UTF-8
34 Set::Array pozwala na tworzenie tablic jako obiektów i używanie na
35 nich metod. Dostępnych jest wiele wygodnych metod, które podane są w
36 FAQ-ach, Perl Cookbook oraz postach z grupy comp.lang.perl.misc.
37 Dodatkowo są metody Set z odpowiadającymi (przeciążonymi) operatorami
38 do porównywania, np. +, == itd.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
53 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %{perl_vendorlib}/%{pdir}/*.pm