]>
Commit | Line | Data |
---|---|---|
2a3020e4 ER |
1 | %define _class DB |
2 | %define _subclass DataObject_FormBuilder_Frontend | |
3 | %define _status beta | |
4 | %define _pearname DB_DataObject_FormBuilder_Frontend | |
5 | %include %{_sourcedir}/php-pear-build-macros | |
cf62de43 | 6 | Summary: %{_pearname} - A frontend for data editing, inserting, and deleting |
62dd89e1 | 7 | Summary(pl.UTF-8): %{_pearname} - frontend do modyfikowania, dodawania i usuwania danych |
2a3020e4 ER |
8 | Name: php-pear-%{_pearname} |
9 | Version: 0.7.0 | |
cb14fc37 | 10 | Release: 0.6 |
2a3020e4 ER |
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 | |
d3298299 | 19 | Requires: php-pear-DB_DataObject_FormBuilder >= 1.0.0-2.RC5 |
2a3020e4 ER |
20 | Requires: php-pear-HTML_Table >= 1.7.3 |
21 | Requires: php-pear-PEAR-core >= 1:1.4.9 | |
d3298299 | 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 | ||
f3ac5e1b JR |
33 | %description -l pl.UTF-8 |
34 | Ten pakiet udostępnia działający szkielet edytora danych DB z obsługą | |
35 | automatycznych odnośników io superrozszerzalnością poprzez klasy | |
cf62de43 | 36 | DB_DataObject i DB_DataObject_FormBuilder. |
2a3020e4 | 37 | |
cf62de43 | 38 | Ta klasa ma w PEAR status: %{_status}. |
2a3020e4 ER |
39 | |
40 | %prep | |
41 | %pear_package_setup | |
42 | rm -f docs/%{_pearname}/docs/LGPL.txt | |
43 | ||
d3298299 ER |
44 | mv ./%{php_pear_dir}/{Pearified/DB,DB} |
45 | grep -rl Pearified/DB/DataObject/ . | xargs %{__sed} -i -e 's,Pearified/DB/DataObject/,DB/DataObject/,' | |
46 | ||
2a3020e4 ER |
47 | %install |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
50 | %pear_package_install | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc install.log | |
58 | %doc docs/%{_pearname}/docs/* | |
42f1f3d7 | 59 | #%{php_pear_dir}/.registry/*.reg |
cb14fc37 | 60 | %dir %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend |
42f1f3d7 ER |
61 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/AddRecord.php |
62 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/ChooseTable.php | |
63 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/Controller.php | |
64 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/DeleteRecords.php | |
65 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/EditRecord.php | |
66 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/LimitColumn.php | |
67 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/ShowTable.php | |
68 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend/Search.php | |
69 | %{php_pear_dir}/DB/DataObject/FormBuilder/Frontend.php |