]>
Commit | Line | Data |
---|---|---|
db36912f | 1 | %include /usr/lib/rpm/macros.php |
039d7971 | 2 | %define _class PEAR |
3 | %define _subclass PackageFileManager | |
8e80e4b8 | 4 | %define _status beta |
db36912f | 5 | %define _pearname %{_class}_%{_subclass} |
20396174 | 6 | |
db36912f | 7 | Summary: %{_pearname} - takes an existing package.xml file and updates it with a new filelist and changelog |
14c8c55d | 8 | Summary(pl.UTF-8): %{_pearname} - aktualizacja package.xml (dodanie nowej listy plików oraz listy zmian) |
db36912f | 9 | Name: php-pear-%{_pearname} |
8e80e4b8 AG |
10 | Version: 1.6.0 |
11 | Release: 0.b4.1 | |
ff89ab59 | 12 | Epoch: 0 |
db36912f AG |
13 | License: PHP 2.02 |
14 | Group: Development/Languages/PHP | |
8e80e4b8 AG |
15 | Source0: http://pear.php.net/get/%{_pearname}-%{version}b4.tgz |
16 | # Source0-md5: 44906cc9721b07e900dfdb7d873c7b3c | |
fda51a62 | 17 | URL: http://pear.php.net/package/PEAR_PackageFileManager/ |
b299ddc9 | 18 | BuildRequires: php-pear-PEAR |
9514afc7 | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
152159ed | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
db36912f | 21 | Requires: php-pear |
13c22f37 | 22 | Requires: php-pear-PEAR >= 1:1.1 |
db36912f AG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
cc6f6e58 ER |
26 | %define _noautoreq 'pear(PHP/CompatInfo.*)' 'pear(XML/Tree.*)' |
27 | ||
db36912f AG |
28 | %description |
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. | |
32 | ||
33 | Features include: | |
34 | - reads an existing package.xml file, and only changes the | |
35 | release/changelog | |
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 | |
41 | files/directories | |
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 | |
47 | ||
af7ab18b | 48 | In PEAR status of this package is: %{_status}. |
db36912f | 49 | |
14c8c55d JR |
50 | %description -l pl.UTF-8 |
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. | |
db36912f | 54 | |
14c8c55d JR |
55 | Możliwości pakietu: |
56 | - wczytuje istniejący plik package.xml i zmienia w nim tylko | |
db36912f | 57 | release/changelog |
14c8c55d JR |
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 | |
db36912f | 67 | odczytu tego pliku z dowolnego katalogu |
14c8c55d | 68 | - można określić dla pliku package.xml inną nazwę |
db36912f AG |
69 | |
70 | Ta klasa ma w PEAR status: %{_status}. | |
71 | ||
cc6f6e58 ER |
72 | %package tests |
73 | Summary: Tests for PEAR::%{_pearname} | |
14c8c55d | 74 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} |
ba2d796f | 75 | Group: Development/Languages/PHP |
fad0518e | 76 | Requires: %{name} = %{epoch}:%{version}-%{release} |
40cf055c | 77 | AutoReq: no |
6bcf5fd4 | 78 | AutoProv: no |
cc6f6e58 ER |
79 | |
80 | %description tests | |
81 | Tests for PEAR::%{_pearname}. | |
82 | ||
14c8c55d | 83 | %description tests -l pl.UTF-8 |
677ad855 ER |
84 | Testy dla PEAR::%{_pearname}. |
85 | ||
db36912f | 86 | %prep |
cc6f6e58 | 87 | %pear_package_setup |
db36912f AG |
88 | |
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
cc6f6e58 ER |
91 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
92 | %pear_package_install | |
db36912f AG |
93 | |
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %files | |
98 | %defattr(644,root,root,755) | |
8e80e4b8 | 99 | %doc install.log |
cc6f6e58 ER |
100 | %doc docs/%{_pearname}/examples |
101 | %{php_pear_dir}/.registry/*.reg | |
db36912f AG |
102 | %dir %{php_pear_dir}/%{_class}/%{_subclass} |
103 | %{php_pear_dir}/%{_class}/*.php | |
104 | %{php_pear_dir}/%{_class}/%{_subclass}/*.php | |
cc6f6e58 ER |
105 | |
106 | %files tests | |
107 | %defattr(644,root,root,755) | |
108 | %{php_pear_dir}/tests/* |