2 %define pnam Functional
3 %include /usr/lib/rpm/macros.perl
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 URL: http://search.cpan.org/dist/Language-Functional/
15 BuildRequires: perl-devel >= 1:5.8.0
16 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Perl already contains some functional-like functions, such as `map'
22 and `grep'. The purpose of this module is to add other functional-like
23 functions to Perl, such as foldl and foldr, as well as the use of
26 %description -l pl.UTF-8
27 Perl ma zawiera trochę funkcji w stylu funkcyjnym, takich jak map czy
28 grep. Celem tego modułu jest dodanie większej liczby takich funkcji,
29 jak na przykład foldl i foldr, a także użycia nieskończonych list.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/Language/Functional.pm