]>
Commit | Line | Data |
---|---|---|
f4c042c6 AG |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
f4c042c6 | 5 | %define pdir Pipeline |
5992f17c | 6 | Summary: Pipeline - generic pipeline interface |
aacd3169 | 7 | Summary(pl.UTF-8): Pipeline - interfejs do obsługi potoków |
f4c042c6 AG |
8 | Name: perl-%{pdir} |
9 | Version: 3.12 | |
10 | Release: 1 | |
11 | # same as perl | |
fc41cb38 | 12 | License: GPL v1+ or Artistic |
f4c042c6 | 13 | Group: Development/Languages/Perl |
1231b069 | 14 | Source0: http://www.cpan.org/modules/by-authors/id/R/RC/RCLAMP/%{pdir}-%{version}.tar.gz |
f4c042c6 AG |
15 | # Source0-md5: 52cbc818aa18f7307dc00624741e5a73 |
16 | URL: http://search.cpan.org/dist/Pipeline/ | |
f4c042c6 | 17 | BuildRequires: perl-Class-ISA >= 0.01 |
5992f17c | 18 | BuildRequires: perl-Data-Structure-Util >= 0.04 |
19 | BuildRequires: perl-Data-UUID >= 0.01 | |
f4c042c6 AG |
20 | BuildRequires: perl-Error >= 0.15 |
21 | BuildRequires: perl-IO-Null >= 0.01 | |
22 | BuildRequires: perl-IO-String >= 0.01 | |
5992f17c | 23 | BuildRequires: perl-devel >= 1:5.8.0 |
24 | BuildRequires: rpm-perlprov >= 4.1-13 | |
f4c042c6 AG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Pipelines are a mechanism to process data. They are designed to be | |
30 | plugged together to make fairly complex operations act in a fairly | |
31 | straightforward manner, cleanly, and simply. | |
32 | ||
e52ec06b JR |
33 | %description -l pl.UTF-8 |
34 | Moduł Perla Pipelines stanowi mechanizm do przetwarzania danych. | |
35 | Został on zaprojektowany do włączania go w skomplikowane operacje, | |
36 | żeby działały one w sposób łatwy, jasny i prosty. | |
5992f17c | 37 | |
f4c042c6 AG |
38 | %prep |
39 | %setup -q -n %{pdir}-%{version} | |
40 | ||
41 | %build | |
42 | %{__perl} Makefile.PL \ | |
43 | INSTALLDIRS=vendor | |
44 | ||
45 | %{__make} | |
46 | ||
47 | %{?with_tests:%{__make} test} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc CHANGES README | |
61 | %{perl_vendorlib}/Pipeline | |
62 | %{perl_vendorlib}/Pipeline.pm | |
63 | %{_mandir}/man3/* |