%define pdir Sub
%define pnam Override
Summary: Sub::Override - Perl extension for easily overriding subroutines
-#Summary(pl):
+Summary(pl): Sub::Override - rozszerzenie Perla do ³atwego przykrywania procedur
Name: perl-Sub-Override
Version: 0.05
Release: 1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Sometimes subroutines need to be overridden. In fact, your author does
-this constantly for tests. Particularly when testing, using a Mock
+Sometimes subroutines need to be overridden. In fact, your author does
+this constantly for tests. Particularly when testing, using a Mock
Object can be overkill when all you want to do is override one tiny,
little function.
Sub::Override allows the programmer to simply name the sub to replace
and to supply a sub to replace it with.
-# %description -l pl
-# TODO
+%description -l pl
+Czasem procedura musi zostaæ przykryta. W praktyce autor robi to stale
+dla testów. W szczególno¶ci przy testowaniu u¿ywanie obiektu Mock mo¿e
+byæ nadmiarowe, gdy wszystko co chcemy, to przykryæ jedn± ma³±,
+maleñk± funkcjê.
+
+Sub::Override umo¿liwia programi¶cie prosto nazwaæ funkcjê do
+zast±pienia i dostarczyæ funkcjê do zast±pienia jej.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}