]>
Commit | Line | Data |
---|---|---|
29fc3fd8 AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Structures | |
3 | %define _subclass DataGrid_Renderer_Flexy | |
4 | %define _status alpha | |
5 | %define _pearname Structures_DataGrid_Renderer_Flexy | |
6 | Summary: %{_pearname} - renderer driver using Flexy | |
7 | Summary(pl.UTF-8): %{_pearname} - sterownik renderera wykorzystujący Flexy | |
8 | Name: php-pear-%{_pearname} | |
9 | Version: 0.1.3 | |
10 | Release: 1 | |
11 | License: PHP License | |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
14 | # Source0-md5: dabe6e44be276e6a9091dea03bc8aec5 | |
15 | URL: http://pear.php.net/package/Structures_DataGrid_Renderer_Flexy/ | |
16 | BuildRequires: php-pear-PEAR | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | Requires: php-pear | |
19 | Requires: php-pear-PEAR >= 1.4.9 | |
20 | Requires: php-pear-Structures_DataGrid >= 0.7.1 | |
21 | Requires: php-pear-Structures_DataGrid_Renderer_Pager >= 0.1.0 | |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | This is a Renderer driver for Structures_DataGrid using | |
27 | HTML_Template_Flexy. It adds a couple of variables to a Flexy instance | |
28 | and adds paging functionality. This renderer also enables customised | |
29 | result messages, customised column labels and a column label | |
30 | formatter. | |
31 | ||
32 | In PEAR status of this package is: %{_status}. | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | Ten pakiet dostarcza sterownik renderara dla Structures_DataGrid | |
36 | korzystający z HTML_Template_Flexy. Dodaje kilka dodatkowych zmiennych | |
37 | do instancji Flexy oraz możliwość podziału na strony. Renderer pozwala | |
38 | takze na kofnigurowanie wyników, etykiet oraz formatowaina kolumn. | |
39 | ||
40 | Ta klasa ma w PEAR status: %{_status}. | |
41 | ||
42 | %prep | |
43 | %pear_package_setup | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
48 | %pear_package_install | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc install.log docs/Structures_DataGrid_Renderer_Flexy/examples/ | |
56 | %{php_pear_dir}/.registry/*.reg | |
57 | %{php_pear_dir}/Structures/DataGrid/Renderer/Flexy.php |