]> git.pld-linux.org Git - packages/php-pear-PEAR_PackageFileManager_Cli.git/blob - php-pear-PEAR_PackageFileManager_Cli.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-PEAR_PackageFileManager_Cli.git] / php-pear-PEAR_PackageFileManager_Cli.spec
1 %define         status          alpha
2 %define         pearname        PEAR_PackageFileManager_Cli
3 Summary:        %{pearname} - a command line interface to PEAR_PackageFileManager
4 Summary(pl.UTF-8):      %{pearname} - interfejs linii poleceń do PEAR_PackageFileManager
5 Name:           php-pear-%{pearname}
6 Version:        0.4.0
7 Release:        1
8 License:        LGPL
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5:  21bf5aa87671d71a2b27875abe41a152
12 URL:            http://pear.php.net/package/PEAR_PackageFileManager_Cli/
13 BuildRequires:  php-pear-PEAR >= 1:1.4.3
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.580
16 Requires:       php(xml)
17 Requires:       php-pear
18 Requires:       php-pear-PEAR >= 1.4.3
19 Requires:       php-pear-PEAR_PackageFileManager >= 1.6.0
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 A command line interface to PEAR_PackageFileManager. Use this tool as
25 a quick alternative to writing a php script to create or edit your
26 package xml files.
27
28 In PEAR status of this package is: %{status}.
29
30 %description -l pl.UTF-8
31 Interfejs linii poleceń do PEAR_PackageFileManager. Narzędzie to może
32 być użyte jako alternatywa do tworzenia skryptów PHP zajmujących się
33 tworzeniem bądź edycją plików package.xml.
34
35 Ta klasa ma w PEAR status: %{status}.
36
37 %prep
38 %pear_package_setup
39
40 mv .%{php_pear_dir}/data/PEAR_PackageFileManager_Cli/README .
41
42 # bad os
43 rm usr/bin/scripts/pfm.bat
44 rmdir usr/bin/scripts
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 %pear_package_install
50
51 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
52 install -p ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc install.log README
60 %attr(755,root,root) %{_bindir}/pfm
61 %{php_pear_dir}/.registry/*.reg
This page took 0.061419 seconds and 3 git commands to generate.