]>
Commit | Line | Data |
---|---|---|
eb5d9425 | 1 | %include /usr/lib/rpm/macros.php |
58388512 | 2 | %define _status stable |
eb5d9425 ER |
3 | %define _pearname Net_Growl |
4 | Summary: %{_pearname} - Send notifications to Growl from PHP on MACOSX | |
5 | Name: php-pear-%{_pearname} | |
e9690200 ER |
6 | Version: 2.6.0 |
7 | Release: 1 | |
eb5d9425 ER |
8 | License: BSD |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
e9690200 | 11 | # Source0-md5: c5826d72e85c2ccd1940e21f0d68ccf6 |
eb5d9425 ER |
12 | URL: http://pear.php.net/package/Net_Growl/ |
13 | BuildRequires: php-packagexml2cl | |
14 | BuildRequires: php-pear-PEAR | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.571 | |
afc3427a ER |
17 | Requires: php(mbstring) |
18 | Requires: php(pcre) | |
19 | Requires: php(spl) | |
eb5d9425 | 20 | Requires: php-pear |
58388512 | 21 | Requires: php-pear-PEAR-core >= 1:1.3.3 |
eb5d9425 ER |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
58388512 ER |
26 | Growl is a MACOSX application that listen to notifications sent by |
27 | applications and displays them on the desktop using different display | |
eb5d9425 | 28 | styles. Net_Growl offers the possibility to send notifications to |
58388512 ER |
29 | Growl from your PHP application through network communication using |
30 | UDP. | |
31 | ||
eb5d9425 ER |
32 | In PEAR status of this package is: %{_status}. |
33 | ||
34 | %prep | |
35 | %pear_package_setup | |
36 | ||
37 | %build | |
38 | packagexml2cl package.xml > ChangeLog | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
43 | %pear_package_install | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc ChangeLog install.log | |
51 | %{php_pear_dir}/.registry/*.reg | |
52 | %{php_pear_dir}/Net/Growl.php | |
53 | %{php_pear_dir}/Net/Growl |