]>
Commit | Line | Data |
---|---|---|
dd13e044 AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class PEAR | |
3 | %define _subclass PackageFileManager_Cli | |
4 | %define _status alpha | |
5 | %define _pearname PEAR_PackageFileManager_Cli | |
6 | Summary: %{_pearname} - a command line interface to PEAR_PackageFileManager | |
7 | Summary(pl.UTF-8): %{_pearname} - interfejs linii poleceń do PEAR_PackageFileManager | |
8 | Name: php-pear-%{_pearname} | |
9 | Version: 0.3.0 | |
40ae5e58 | 10 | Release: 5 |
dd13e044 AG |
11 | License: LGPL |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
14 | # Source0-md5: 3a31573f625cdf28f6aee5e08d152be5 | |
15 | URL: http://pear.php.net/package/PEAR_PackageFileManager_Cli/ | |
aa09121e | 16 | BuildRequires: php-pear-PEAR >= 1:1.4.3 |
dd13e044 | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
5f23a753 | 18 | BuildRequires: rpmbuild(macros) >= 1.574 |
40ae5e58 | 19 | Requires: php(xml) |
dd13e044 AG |
20 | Requires: php-pear |
21 | Requires: php-pear-PEAR >= 1.4.3 | |
22 | Requires: php-pear-PEAR_PackageFileManager >= 1.6.0 | |
23 | BuildArch: noarch | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | A command line interface to PEAR_PackageFileManager. Use this tool as | |
28 | a quick alternative to writing a php script to create or edit your | |
29 | package xml files. | |
30 | ||
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
33 | %description -l pl.UTF-8 | |
26b93f8f | 34 | Interfejs linii poleceń do PEAR_PackageFileManager. Narzędzie to może |
dd13e044 AG |
35 | być użyte jako alternatywa do tworzenia skryptów PHP zajmujących się |
36 | tworzeniem bądź edycją plików package.xml. | |
37 | ||
38 | Ta klasa ma w PEAR status: %{_status}. | |
39 | ||
40 | %prep | |
41 | %pear_package_setup | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_bindir}} | |
46 | cp -a ./%{php_pear_dir}/.registry/ $RPM_BUILD_ROOT%{php_pear_dir} | |
47 | install ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc install.log | |
55 | %attr(755,root,root) %{_bindir}/pfm | |
56 | %{php_pear_dir}/.registry/*.reg |