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 %include /usr/lib/rpm/macros.php
15 Summary: %{pearname} - make-rpm-spec command for managing RPM .spec files for PEAR packages
16 Summary(pl.UTF-8): %{pearname} - polecenie make-rpm-spec do zarządzania plikami .spec pakietów PEAR-a
17 Name: php-pear-%{pearname}
21 Group: Development/Languages/PHP
22 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
23 # Source0-md5: 457881b46b8c42ba58cdb698872df2e6
24 Source1: php-pear-PEAR-template.spec
26 URL: http://pear.php.net/package/PEAR_Command_Packaging/
27 BuildRequires: php-packagexml2cl
28 BuildRequires: php-pear-PEAR >= 1:1.4.3
29 BuildRequires: rpm-php-pearprov >= 4.4.2-11
30 BuildRequires: rpmbuild(macros) >= 1.580
32 Requires: php-pear-PEAR >= 1:1.4.3
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 This command is an improved implementation of the standard makerpm
38 command, and contains several enhancements that make it far more
39 flexible. Similar functions for other external packaging mechanisms
40 may be added at a later date.
42 Enhanced features over the original PEAR "makerpm" command include:
43 - Ability to define a release on the command line
44 - Allows more advanced customisation of the generated package name
45 - Allows virtual Provides/Requires that differ in format from the
47 - tries to intelligently distinguish between PEAR and PECL when
50 In PEAR status of this package is: %{status}.
52 %description -l pl.UTF-8
53 To polecenie to ulepszona implementacja standardowego polecenia
54 makerpm. Zawiera kilka rozszerzeń czyniących ją dużo bardziej
55 elastycznym. W przyszłości mogą być dodane podobne funkcje dla innych
56 zewnętrznych mechanizmów pakietów.
58 Rozszerzone możliwości w stosunku do oryginalnego polecenia PEAR-a
60 - możliwość definiowania pola Release z linii poleceń
61 - bardziej zaawansowane dostosowywanie nazwy generowanego pakietu
62 - dodawanie wirtualnych Provides/Requires o innym formacie niż format
64 - próbę inteligentnego rozróżnienia między projektami PEAR a PECL przy
67 Ta klasa ma w PEAR status: %{status}.
73 rm docs/PEAR_Command_Packaging/LICENSE
76 packagexml2cl package.xml > ChangeLog
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{php_pear_dir}
83 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{php_pear_dir}/data/%{pearname}/template.spec
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
91 %{php_pear_dir}/.registry/*.reg
92 %{php_pear_dir}/PEAR/Command/Packaging.xml
93 %{php_pear_dir}/PEAR/Command/Packaging.php
94 %{php_pear_dir}/data/PEAR_Command_Packaging