]>
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} |
586f54f1 ER |
9 | Version: 2.3.4 |
10 | Release: 1 | |
bcf8efc2 | 11 | Epoch: 0 |
f66b925c PG |
12 | License: PHP 2.02 |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
586f54f1 | 15 | # Source0-md5: 5b4d51d6f955ee40e7111efe00c1d80b |
106eacbc | 16 | URL: http://pear.php.net/package/Pager/ |
e51800fd | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
dcc9bd3a | 18 | Requires: php-pear |
aa5be8ff | 19 | Obsoletes: php-pear-Pager_Sliding |
f66b925c PG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | If you have data that needs paging (ie 1-10 on page one, 11-20 on page | |
25 | two) this class can help. Pass it an array of data and it will sort it | |
26 | into pages, picking up the current page id from the url. It can also | |
27 | give you back/next and page number links taking the current url and | |
28 | adding the correct page id to it. | |
29 | ||
510e2177 | 30 | In PEAR status of this package is: %{_status}. |
cfd988b8 | 31 | |
f66b925c | 32 | %description -l pl |
cf5c3ada JB |
33 |