1 %include /usr/lib/rpm/macros.perl
3 %define pnam Functional
4 Summary: Language::Functional - makes Perl slightly more functional
5 Summary(pl.UTF-8): Language::Functional - uczynienie Perla nieco bardziej funkcyjnym
6 Name: perl-Language-Functional
10 License: GPL v1+ or Artistic
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5: 59c81abfd14c940f47115f19dc6288c2
14 BuildRequires: perl-devel >= 1:5.8.0
15 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Perl already contains some functional-like functions, such as `map'
21 and `grep'. The purpose of this module is to add other functional-like
22 functions to Perl, such as foldl and foldr, as well as the use of
25 %description -l pl.UTF-8
26 Perl ma zawiera trochę funkcji w stylu funkcyjnym, takich jak map czy
27 grep. Celem tego modułu jest dodanie większej liczby takich funkcji,
28 jak na przykład foldl i foldr, a także użycia nieskończonych list.
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Language/Functional.pm