]> git.pld-linux.org Git - packages/php-pear-Gtk_FileDrop.git/blob - php-pear-Gtk_FileDrop.spec
55a3de2fca768b8033c3a3c3922f42b0c1497aed
[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
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}
10 Version:        1.0.1
11 Release:        4
12 License:        PHP 2.02
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 BuildRequires:  rpmbuild(macros) >= 1.300
20 Requires:       php-pear-MIME_Type >= 1.0.0
21 Requires:       php-pear
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
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 %package tests
41 Summary:        Tests for PEAR::%{_pearname}
42 Summary(pl):    Testy dla PEAR::%{_pearname}
43 Group:          Development/Languages/PHP
44 Requires:       %{name} = %{version}-%{release}
45 AutoReq:        no
46 AutoProv:       no
47
48 %description tests
49 Tests for PEAR::%{_pearname}.
50
51 %description tests -l pl
52 Testy dla PEAR::%{_pearname}.
53
54 %prep
55 %pear_package_setup
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}
60 %pear_package_install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc install.log
68 %doc docs/%{_pearname}/examples
69 %{php_pear_dir}/.registry/*.reg
70 %{php_pear_dir}/%{_class}/*.php
71
72 %files tests
73 %defattr(644,root,root,755)
74 %{php_pear_dir}/tests/*
This page took 0.069258 seconds and 2 git commands to generate.