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