2 # - finish ../SOURCES/php-pear-PEAR-rpmvars.patch merge
3 # - merge conflict + upper to ">": (Mail_mimeDecode)
4 # Requires: php-pear-Mail_Mime >= 1.4.0
5 # Conflicts: php-pear-Mail_Mime = 1.4.0
7 # Requires: php-pear-Mail_Mime > 1.4.0
8 # - add minimum php version used (so that the epoch does not go to nonsense for
9 # older php's, yet think that could blow up php4 only pkgs)
10 # - if external channel not installed, channel alias can not be resolved
11 # and deps get generated with full name: php-pear.docblox-project.org-DocBlox
13 %define pearname PEAR_Command_Packaging
14 Summary: %{pearname} - make-rpm-spec command for managing RPM .spec files for PEAR packages
15 Summary(pl.UTF-8): %{pearname} - polecenie make-rpm-spec do zarządzania plikami .spec pakietów PEAR-a
16 Name: php-pear-%{pearname}
20 Group: Development/Languages/PHP
21 Source0: http://download.pear.php.net/package/%{pearname}-%{version}.tgz
22 # Source0-md5: 98bb036ed762c1b99d3db0e6f8a89306
23 Source1: php-pear-PEAR-template.spec
25 URL: http://pear.php.net/package/PEAR_Command_Packaging/
26 BuildRequires: php-packagexml2cl
27 BuildRequires: php-pear-PEAR >= 1:1.4.3
28 BuildRequires: rpm-php-pearprov >= 4.4.2-11
29 BuildRequires: rpmbuild(macros) >= 1.580
31 Requires: php-pear-PEAR >= 1:1.4.3
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 This command is an improved implementation of the standard makerpm
37 command, and contains several enhancements that make it far more
38 flexible. Similar functions for other external packaging mechanisms
39 may be added at a later date.
41 Enhanced features over the original PEAR "makerpm" command include:
42 - Ability to define a release on the command line
43 - Allows more advanced customisation of the generated package name
44 - Allows virtual Provides/Requires that differ in format from the
46 - tries to intelligently distinguish between PEAR and PECL when
49 In PEAR status of this package is: %{status}.
51 %description -l pl.UTF-8
52 To polecenie to ulepszona implementacja standardowego polecenia
53 makerpm. Zawiera kilka rozszerzeń czyniących ją dużo bardziej
54 elastycznym. W przyszłości mogą być dodane podobne funkcje dla innych
55 zewnętrznych mechanizmów pakietów.
57 Rozszerzone możliwości w stosunku do oryginalnego polecenia PEAR-a
59 - możliwość definiowania pola Release z linii poleceń
60 - bardziej zaawansowane dostosowywanie nazwy generowanego pakietu
61 - dodawanie wirtualnych Provides/Requires o innym formacie niż format
63 - próbę inteligentnego rozróżnienia między projektami PEAR a PECL przy
66 Ta klasa ma w PEAR status: %{status}.
72 rm docs/PEAR_Command_Packaging/LICENSE
75 packagexml2cl package.xml > ChangeLog
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT%{php_pear_dir}
82 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{php_pear_dir}/data/%{pearname}/template.spec
85 rm -rf $RPM_BUILD_ROOT
88 %defattr(644,root,root,755)
90 %{php_pear_dir}/.registry/*.reg
91 %{php_pear_dir}/PEAR/Command/Packaging.xml
92 %{php_pear_dir}/PEAR/Command/Packaging.php
93 %{php_pear_dir}/data/PEAR_Command_Packaging