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