3 %bcond_without tests # do not perform "make test"
7 Summary: CPS - manage flow of control in Continuation-Passing Style
8 Summary(pl.UTF-8): CPS - zarządzanie przepływem sterowania w stylu przekazywania kontynuacji
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/P/PE/PEVANS/%{pnam}-%{version}.tar.gz
16 # Source0-md5: 2c69c2fd383ee8f3cdc850681b39211d
17 URL: http://search.cpan.org/dist/CPS/
18 BuildRequires: perl-Test-Fatal
19 BuildRequires: perl-Test-Identity
20 BuildRequires: perl-Test-Refcount
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 CPS module allows to manage flow of control in Continuation-Passing
30 %description -l pl.UTF-8
31 Moduł CPS pozwala na zarządzanie przepływem sterowania w stylu
32 przekazywania kontynuacji (Continuation Passing).
35 %setup -q -n %{pnam}-%{version}
38 %{__perl} Makefile.PL \
42 %{?with_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %{perl_vendorlib}/CPS.pm
57 %{_mandir}/man3/CPS*.3pm*