1 %include /usr/lib/rpm/macros.php
3 %define _subclass FileDrop
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - Make Gtk widgets accept file drops
8 Summary(pl): %{_pearname} - obs³uga upuszczania plików w wid¿etach Gtk
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 8c2d69f40ce3408f46cbd5dd86aad1f1
16 URL: http://pear.php.net/package/Gtk_FileDrop/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pear-MIME_Type >= 1.0.0
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _noautoreq 'pear(FileDrop_testcase.php)'
28 A class which makes it easy to make a GtkWidget accept the dropping of
31 In PEAR status of this package is: %{_status}.
34 Ta klasa u³atwia obs³ugiwanie upuszczania plików lub folderów w
37 Ta klasa ma w PEAR status: %{_status}.
40 Summary: Tests for PEAR::%{_pearname}
41 Summary(pl): Testy dla PEAR::%{_pearname}
42 Group: Development/Languages/PHP
43 Requires: %{name} = %{version}-%{release}
47 Tests for PEAR::%{_pearname}.
49 %description tests -l pl
50 Testy dla PEAR::%{_pearname}.
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{php_pear_dir}
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %doc docs/%{_pearname}/examples
67 %{php_pear_dir}/.registry/*.reg
68 %{php_pear_dir}/%{_class}/*.php
71 %defattr(644,root,root,755)
72 %{php_pear_dir}/tests/*