]> git.pld-linux.org Git - packages/perl-Data-Page.git/commitdiff
- pl
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 13 Apr 2004 19:32:33 +0000 (19:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Data-Page.spec -> 1.2

perl-Data-Page.spec

index 70bd958eba5a765c3b034fce8df961b8b8bcf9dc..78726452448f82b07769bde52d425d2e4110f92d 100644 (file)
@@ -1,11 +1,12 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Data
 %define        pnam    Page
 Summary:       Data::Page - help when paging through sets of results
+Summary(pl):   Data::Page - pomoc przy stronicowaniu zbiorów wyników
 Name:          perl-Data-Page
 Version:       1.01
 Release:       1
@@ -14,9 +15,9 @@ License:      GPL or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 9f66ce0f5e4136da71723864fc8480ea
+BuildRequires: perl-Module-Build
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-Module-Build
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,11 +27,23 @@ that a result set is returned that is larger than we want to display
 on one page.  This results in wanting to page through various pages of
 data. The maths behind this is unfortunately fiddly, hence this
 module.
+
 The main concept is that you pass in the number of total entries, the
 number of entries per page, and the current page number. You can then
 call methods to find out how many pages of information there are, and
 what number the first and last entries on the current page really are.
 
+%description -l pl
+Przy przeszukiwaniu du¿ych ilo¶ci danych zwykle zwracany zbiór wyników
+jest wiêkszy ni¿ chcieliby¶my wy¶wietliæ na jednej stronie. Powoduje
+to chêæ podzielenia danych na strony. Obliczenia przy tym s± niestety
+nietrywialne i st±d ten modu³.
+
+G³ówn± ide± jest to, ¿e przekazuje siê liczbê wszystkich elementów,
+liczbê elementów na stronie i aktualny numer strony. Mo¿na wtedy
+wywo³ywaæ metody, aby okre¶liæ liczbê stron z informacjami oraz numer
+pierwszego i ostatniego elementu na aktualnej stronie.
+
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
This page took 0.063863 seconds and 4 git commands to generate.