]> git.pld-linux.org Git - SPECS.git/blob - php-pear-Structures_DataGrid.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-pear-Structures_DataGrid.spec
1 %define         status          beta
2 %define         pearname        Structures_DataGrid
3 Summary:        %{pearname} - create grid like structure based on a record set of data
4 Summary(pl.UTF-8):      %{pearname} - tworzenie struktur tabel opartych na zbiorze rekordów danych
5 Name:           php-pear-%{pearname}
6 Version:        0.9.3
7 Release:        1
8 License:        PHP 2.02
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5:  108ed5caedb4b3634e214af9cb7dd968
12 URL:            http://pear.php.net/package/Structures_DataGrid/
13 BuildRequires:  php-pear-PEAR
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.580
16 Requires:       php-pear >= 4:1.0-9.5
17 Requires:       php-pear-PEAR-core >= 1:1.4.9
18 Suggests:       php-pear-File
19 Suggests:       php-pear-Net_URL_Mapper
20 Suggests:       php-pear-PHPUnit
21 Suggests:       php-sqlite
22 Obsoletes:      php-pear-Structures_DataGrid-tests
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 # exclude optional dependencies
27 %define         _noautoreq      pear(File.*) pear(Net/URL/Mapper.*) pear(PHPUnit.*)
28
29 %description
30 This package offers a toolkit to render out a datagrid in HTML format
31 as well as many other formats such as an XML Document, an Excel
32 Spreadsheet, a Smarty Template and more. It also offers paging and
33 sorting functionality to limit the data that is presented. This
34 concept is based on the .NET Framework DataGrid.
35
36 Note: With the release of Structures_DataGrid-0.7.0, all renderers and
37 datasource classes are now available as a separate packages only.
38
39 In PEAR status of this package is: %{status}.
40
41 %description -l pl.UTF-8
42 Ten pakiet oferuje zestaw narzędzi do renderowania tabel z danymi w
43 formacie HTML, a także innych formatach, takich jak np. dokumenty XML,
44 arkusze Excela czy szablony Smarty. Oferuje także funkcjonalność
45 stronicowania i sortowania, aby ograniczyć ilość prezentowanych
46 danych. Ta idea jest oparta na DataGrid ze środowiska .NET.
47
48 Uwaga: Z wydaniem wersji Structures_DataGrid-0.7.0, wszystkie klasy
49 służące do renderowania czy też do obsługi źródeł danych dostępne są
50 tylko jako oddzielne pakiety.
51
52 Ta klasa ma w PEAR status: %{status}.
53
54 %prep
55 %pear_package_setup
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}/Structures/DataGrid/{Renderer,DataSource}
60 %pear_package_install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc install.log
68 %{php_pear_dir}/.registry/*.reg
69 %{php_pear_dir}/Structures/DataGrid.php
70 %dir %{php_pear_dir}/Structures/DataGrid
71 %{php_pear_dir}/Structures/DataGrid/Column.php
72 %{php_pear_dir}/Structures/DataGrid/DataSource.php
73 %{php_pear_dir}/Structures/DataGrid/Exception.php
74 %{php_pear_dir}/Structures/DataGrid/Renderer.php
75 %dir %{php_pear_dir}/Structures/DataGrid/Renderer
76 %dir %{php_pear_dir}/Structures/DataGrid/DataSource
This page took 0.485347 seconds and 3 git commands to generate.