]>
Commit | Line | Data |
---|---|---|
2a3020e4 ER |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class DB | |
3 | %define _subclass DataObject_FormBuilder_Frontend | |
4 | %define _status beta | |
5 | %define _pearname DB_DataObject_FormBuilder_Frontend | |
6 | %include %{_sourcedir}/php-pear-build-macros | |
7 | Summary: %{_pearname} - A frontend for data editing, inserting, and deleting based on DB_DataObject_FormBuilder and Structures_DataGrid | |
8 | Name: php-pear-%{_pearname} | |
9 | Version: 0.7.0 | |
10 | Release: 0.1 | |
11 | License: LGPL | |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pearified.com/get/%{_pearname}-%{version}.tgz | |
14 | # Source0-md5: 8763423e6173f74f827b9bb5f95d7b43 | |
15 | URL: http://pearified.com/package/DB_DataObject_FormBuilder_Frontend/ | |
16 | BuildRequires: php-pear-PEAR >= 1:1.4.9 | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | Requires: php-pear | |
19 | Requires: php-pear-DB_DataObject_FormBuilder >= 1.0.0RC5 | |
2a3020e4 ER |
20 | Requires: php-pear-HTML_Table >= 1.7.3 |
21 | Requires: php-pear-PEAR-core >= 1:1.4.9 | |
42b4bb3b | 22 | Requires: php-pear-Structures_Datagrid >= 0.7.1 |
2a3020e4 ER |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
42b4bb3b ER |
27 | This package gives a working framework for a DB data editor with |
28 | automatic link support and super-extensibility through DB_DataObject | |
29 | and DB_DataObject_FormBuilder. | |
2a3020e4 ER |
30 | |
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
33 | %package tests | |
34 | Summary: Tests for PEAR::%{_pearname} | |
35 | Summary(pl): Testy dla PEAR::%{_pearname} | |
36 | Group: Development/Languages/PHP | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | AutoReq: no | |
39 | AutoProv: no | |
40 | ||
41 | %description tests | |
42 | Tests for PEAR::%{_pearname}. | |
43 | ||
44 | %description tests -l pl | |
45 | Testy dla PEAR::%{_pearname}. | |
46 | ||
47 | %prep | |
48 | %pear_package_setup | |
49 | rm -f docs/%{_pearname}/docs/LGPL.txt | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
54 | %pear_package_install | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc install.log | |
62 | %doc docs/%{_pearname}/docs/* | |
63 | %{php_pear_dir}/.registry/*.reg | |
64 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/AddRecord.php | |
65 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/ChooseTable.php | |
66 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/Controller.php | |
67 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/DeleteRecords.php | |
68 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/EditRecord.php | |
69 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/LimitColumn.php | |
70 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/ShowTable.php | |
71 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend/Search.php | |
72 | %{php_pear_dir}/Pearified/DB/DataObject/FormBuilder/Frontend.php |