]> git.pld-linux.org Git - packages/perl-Language-Functional.git/blob - perl-Language-Functional.spec
c73e56f07bcb0bc8af06199bd1fdb9da16c4bb3b
[packages/perl-Language-Functional.git] / perl-Language-Functional.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Language
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
7 Version:        0.05
8 Release:        1
9 # same as perl
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
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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
23 infinite lists.
24
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.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
50 %{perl_vendorlib}/Language/Functional.pm
51 %{_mandir}/man3/*
This page took 0.047607 seconds and 2 git commands to generate.