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