]> git.pld-linux.org Git - packages/php-pear-Gtk_FileDrop.git/blob - php-pear-Gtk_FileDrop.spec
- fix MIME_Type req to match PLD version; rel 3
[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:        3
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:  rpm-php-pearprov >= 4.4.2-11
18 Requires:       php-pear-MIME_Type >= 1.0.0
19 Requires:       php-pear
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 # included in tests
24 %define         _noautoreq 'pear(FileDrop_testcase.php)'
25
26 %description
27 A class which makes it easy to make a GtkWidget accept the dropping of
28 files or folders.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl
33 Ta klasa u³atwia obs³ugiwanie upuszczania plików lub folderów w
34 wid¿etach GtkWidget.
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %package tests
39 Summary:        Tests for PEAR::%{_pearname}
40 Summary(pl):    Testy dla PEAR::%{_pearname}
41 Group:          Development
42 Requires:       %{name} = %{version}-%{release}
43
44 %description tests
45 Tests for PEAR::%{_pearname}.
46
47 %description tests -l pl
48 Testy dla PEAR::%{_pearname}.
49
50 %prep
51 %pear_package_setup
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 %pear_package_install
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc install.log
64 %doc docs/%{_pearname}/examples
65 %{php_pear_dir}/.registry/*.reg
66 %{php_pear_dir}/%{_class}/*.php
67
68 %files tests
69 %defattr(644,root,root,755)
70 %{php_pear_dir}/tests/*
This page took 0.069976 seconds and 3 git commands to generate.