1 %include /usr/lib/rpm/macros.php
3 %define _subclass PackageFileManager
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - takes an existing package.xml file and updates it with a new filelist and changelog
8 Summary(pl): %{_pearname} - aktualizacja package.xml (dodanie nowej listy plików oraz listy zmian)
9 Name: php-pear-%{_pearname}
14 Group: Development/Languages/PHP
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}b4.tgz
16 # Source0-md5: 44906cc9721b07e900dfdb7d873c7b3c
17 URL: http://pear.php.net/package/PEAR_PackageFileManager/
18 BuildRequires: php-pear-PEAR
19 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 BuildRequires: rpmbuild(macros) >= 1.300
22 Requires: php-pear-PEAR >= 1:1.1
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _noautoreq 'pear(PHP/CompatInfo.*)' 'pear(XML/Tree.*)'
29 This package revolutionizes the maintenance of PEAR packages. With a
30 few parameters, the entire package.xml is automatically updated with a
31 listing of all files in a package.
34 - reads an existing package.xml file, and only changes the
36 - a plugin system for retrieving files in a directory. Currently two
37 plugins exist, one for standard recursive directory content listing,
38 and one that reads CVS/Entries and generates a file listing based on
39 the contents of a checked out CVS repository
40 - incredibly flexible options for assigning install roles to
42 - ability to ignore any file based on a * ? wildcard-enabled string
43 - ability to manage dependencies
44 - can output the package.xml in any directory, and read in the
45 package.xml from any directory
46 - can specify a different name for the package.xml file
48 In PEAR status of this package is: %{_status}.
51 Ten pakiet rewolucjonizuje zarz±dzanie pakietami PEAR. Za pomoc± kilku
52 parametrów mo¿liwe jest automatyczne zaktualizowanie package.xml o
53 listê plików danego pakietu.
56 - wczytuje istniej±cy plik package.xml i zmienia w nim tylko
58 - system wtyczek s³u¿±cych do skompletowania listy plików w katalogu.
59 Aktualnie istniej± dwie takie wtyczki - jedna do standardowego
60 rekursywnego przegl±dania katalogów, druga do odczytu do generowania
61 listy plików na podstawie CVS/Entries.
62 - niesamowicie elastyczne opcje do okre¶lania roli podczas instalacji
63 dla plików/katalogów [FIXME?]
64 - mo¿liwo¶æ ignorowania plików na podstawie wildcardów * ?
65 - mo¿liwo¶æ do zarz±dzania zale¿no¶ciami
66 - mo¿liwo¶æ zapisu pliku package.xml do dowolnego katalogu oraz
67 odczytu tego pliku z dowolnego katalogu
68 - mo¿na okre¶liæ dla pliku package.xml inn± nazwê
70 Ta klasa ma w PEAR status: %{_status}.
73 Summary: Tests for PEAR::%{_pearname}
74 Summary(pl): Testy dla PEAR::%{_pearname}
75 Group: Development/Languages/PHP
76 Requires: %{name} = %{epoch}:%{version}-%{release}
81 Tests for PEAR::%{_pearname}.
83 %description tests -l pl
84 Testy dla PEAR::%{_pearname}.
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT%{php_pear_dir}
95 rm -rf $RPM_BUILD_ROOT
98 %defattr(644,root,root,755)
100 %doc docs/%{_pearname}/examples
101 %{php_pear_dir}/.registry/*.reg
102 %dir %{php_pear_dir}/%{_class}/%{_subclass}
103 %{php_pear_dir}/%{_class}/*.php
104 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
107 %defattr(644,root,root,755)
108 %{php_pear_dir}/tests/*