2 %define _pearname PEAR_PackageUpdate_Gtk2
3 Summary: %{_pearname} - A PHP-GTK 2 front end for PEAR_PackageUpdate
4 Summary(pl.UTF-8): %{_pearname} - Frontend PHP-GTK2 do PEAR_PackageUpdate
5 Name: php-pear-%{_pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5: a5f8ee6f220a110890d35cfdc5919eda
12 URL: http://pear.php.net/package/PEAR_PackageUpdate_Gtk2/
13 BuildRequires: php-pear-PEAR >= 1:1.4.8
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.300
17 Requires: php-pear-PEAR >= 1:1.4.-0.8
18 Requires: php-pear-PEAR_PackageUpdate >= 0.3.0-0.devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 PEAR_PackageUpdate (PPU) is designed to allow developers to easily
25 include auto updating features for other packages and PEAR installable
26 applications. PPU will check to see if a new version of a package is
27 available and then ask the user if they would like to update the
28 package. PPU uses PEAR to communicate with the channel server and to
31 PPU allows the end user to take some control over when they are
32 notified about new releases. The PPU Preferences allow a user to tell
33 PPU not to ask about certain types of releases (bug fixes, minor
34 releases, etc.), not to ask about certain release states (devel,
35 alpha, etc.), not to ask until the next release or not to ask again.
37 PEAR_PackgeUpdate_Gtk2 is a PHP-GTK 2 front end for PPU. It is
38 designed to be used by PHP-GTK 2 packages and applications that want
39 to include auto-updating features.
41 In PEAR status of this package is: %{_status}.
43 %description -l pl.UTF-8
44 PEAR_PackageUpdate (PPU) został zaprojektowany aby umożliwić
45 developerom dołączenie w prosty sposób automatycznej aktualizacji
46 innych pakietów PEAR lub aplikacji korzystających ze sposobu
47 instalacji PEAR. PPU sprawdzi czy jest dostępna nowa wersja i zapyta
48 użytkownika czy chciałby zaktualizować pakiet. PPU korzysta z PEAR do
49 komunikacji z serwerem kanałów oraz do wykonania aktualizacji.
51 PPU pozwala użytkownikowi końcowemu na pewną kontrolę kiedy mają być
52 powiadamiania o nowych aktualizacjach. Preferencje PPU pozwalają
53 użytkownikowi na pominięcie pewnych rodzajów aktualizacji (poprawki
54 błędów, drobne wydania), czy konkretnych statusów (devel, alpha,
55 itp.), czy polecenie PPU aby nie pytał do czasu kolejnej wersji.
57 PEAR_PackageUpdate_Gtk2 jest opartym o PHP-GTK 2 frontendem do PPU.
58 Został zaprojektowany w celu dołączenia do aplikacji korzystających z
59 PHP-GTK 2 funkcji automatycznej aktualizacji.
61 Ta klasa ma w PEAR status: %{_status}.
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{php_pear_dir}
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc install.log docs/%{_pearname}/ppuExample.php
77 %{php_pear_dir}/.registry/*.reg
78 %{php_pear_dir}/PEAR/PackageUpdate/Gtk2.php