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