]>
Commit | Line | Data |
---|---|---|
f66b925c PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Pager | |
3 | %define _pearname %{_class} | |
97b43bed PG |
4 | Summary: %{_pearname} - generic data paging class |
5 | Summary(pl): %{_pearname} - podstawowa klasa do dzielenia na strony | |
f66b925c | 6 | Name: php-pear-%{_pearname} |
97b43bed | 7 | Version: 1.0.6 |
9097c9e3 | 8 | Release: 2 |
f66b925c PG |
9 | License: PHP 2.02 |
10 | Group: Development/Languages/PHP | |
9ed81b32 | 11 | # Source0-md5: 8df0dac40a598684a513f7fbf35cb081 |
f66b925c | 12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
f66b925c | 13 | URL: http://pear.php.net/ |
9097c9e3 | 14 | BuildRequires: rpm-php-pearprov >= 4.0.2-98 |
dcc9bd3a | 15 | Requires: php-pear |
f66b925c PG |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | If you have data that needs paging (ie 1-10 on page one, 11-20 on page | |
21 | two) this class can help. Pass it an array of data and it will sort it | |
22 | into pages, picking up the current page id from the url. It can also | |
23 | give you back/next and page number links taking the current url and | |
24 | adding the correct page id to it. | |
25 | ||
26 | %description -l pl | |
cf5c3ada JB |
27 |