]> git.pld-linux.org Git - packages/php-pear-Gtk_FileDrop.git/blob - php-pear-Gtk_FileDrop.spec
b90a1b868b6612e4d2d180da47532173b015b6a0
[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.2
10 Release:        3
11 License:        PHP 2.02
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  9bf6c0481e8491bdd0fbfa29159e4953
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 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 %package tests
41 Summary:        Tests for PEAR::%{_pearname}
42 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
43 Group:          Development/Languages/PHP
44 Requires:       %{name} = %{version}-%{release}
45 AutoProv:       no
46 AutoReq:        no
47
48 %description tests
49 Tests for PEAR::%{_pearname}.
50
51 %description tests -l pl.UTF-8
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.052837 seconds and 3 git commands to generate.