]>
Commit | Line | Data |
---|---|---|
131b8527 AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Gtk | |
3 | %define _subclass FileDrop | |
d786c79c | 4 | %define _status stable |
131b8527 | 5 | %define _pearname %{_class}_%{_subclass} |
131b8527 | 6 | Summary: %{_pearname} - Make Gtk widgets accept file drops |
1a55dadc | 7 | Summary(pl.UTF-8): %{_pearname} - obsługa upuszczania plików w widżetach Gtk |
131b8527 | 8 | Name: php-pear-%{_pearname} |
aa93b229 ER |
9 | Version: 1.0.3 |
10 | Release: 1 | |
131b8527 AG |
11 | License: PHP 2.02 |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
aa93b229 | 14 | # Source0-md5: b33fa57dfcb730d66ce374852cb6a367 |
131b8527 | 15 | URL: http://pear.php.net/package/Gtk_FileDrop/ |
c7c71f23 | 16 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
2c1eab72 | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
927ea72e | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
131b8527 | 19 | Requires: php-pear |
c7c71f23 | 20 | Requires: php-pear-MIME_Type >= 1.0.0-0.beta3 |
cdb36278 | 21 | Requires: php-pear-PEAR-core >= 1:1.4.0 |
4db56b10 | 22 | Obsoletes: php-pear-Gtk_FileDrop-tests |
131b8527 AG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
2c1eab72 ER |
26 | # included in tests |
27 | %define _noautoreq 'pear(FileDrop_testcase.php)' | |
28 | ||
131b8527 AG |
29 | %description |
30 | A class which makes it easy to make a GtkWidget accept the dropping of | |
ef9e9dcd | 31 | files or folders. |
131b8527 AG |
32 | |
33 | In PEAR status of this package is: %{_status}. | |
34 | ||
ccd73e3d JR |
35 | %description -l pl.UTF-8 |
36 | Ta klasa ułatwia obsługiwanie upuszczania plików lub folderów w | |
37 | widżetach GtkWidget. | |
ef9e9dcd JB |
38 | |
39 | Ta klasa ma w PEAR status: %{_status}. | |
131b8527 AG |
40 | |
41 | %prep | |
2c1eab72 | 42 | %pear_package_setup |
131b8527 AG |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
2c1eab72 ER |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
47 | %pear_package_install | |
131b8527 AG |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
2c1eab72 ER |
54 | %doc install.log |
55 | %doc docs/%{_pearname}/examples | |
56 | %{php_pear_dir}/.registry/*.reg | |
131b8527 | 57 | %{php_pear_dir}/%{_class}/*.php |