]> git.pld-linux.org Git - packages/php-pear-PEAR_Command_Packaging.git/blob - php-pear-PEAR_Command_Packaging.spec
- other channel package naming is done
[packages/php-pear-PEAR_Command_Packaging.git] / php-pear-PEAR_Command_Packaging.spec
1 # TODO
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
6 #   ->
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 %include        /usr/lib/rpm/macros.php
11 %define         _status         alpha
12 %define         _pearname       PEAR_Command_Packaging
13 Summary:        %{_pearname} - make-rpm-spec command for managing RPM .spec files for PEAR packages
14 Summary(pl.UTF-8):      %{_pearname} - polecenie make-rpm-spec do zarządzania plikami .spec pakietów PEAR-a
15 Name:           php-pear-%{_pearname}
16 Version:        0.2.0
17 Release:        7
18 License:        PHP 3.01
19 Group:          Development/Languages/PHP
20 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
21 # Source0-md5:  457881b46b8c42ba58cdb698872df2e6
22 Source1:        php-pear-PEAR-template.spec
23 Patch0:         %{name}.patch
24 URL:            http://pear.php.net/package/PEAR_Command_Packaging/
25 BuildRequires:  php-packagexml2cl
26 BuildRequires:  php-pear-PEAR >= 1:1.4.3
27 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
28 BuildRequires:  rpmbuild(macros) >= 1.571
29 Requires:       php-pear
30 Requires:       php-pear-PEAR >= 1:1.4.3
31 BuildArch:      noarch
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 This command is an improved implementation of the standard makerpm
36 command, and contains several enhancements that make it far more
37 flexible. Similar functions for other external packaging mechanisms
38 may be added at a later date.
39
40 Enhanced features over the original PEAR "makerpm" command include:
41 - Ability to define a release on the command line
42 - Allows more advanced customisation of the generated package name
43 - Allows virtual Provides/Requires that differ in format from the
44   package name format
45 - tries to intelligently distinguish between PEAR and PECL when
46   generating packages
47
48 In PEAR status of this package is: %{_status}.
49
50 %description -l pl.UTF-8
51 To polecenie to ulepszona implementacja standardowego polecenia
52 makerpm. Zawiera kilka rozszerzeń czyniących ją dużo bardziej
53 elastycznym. W przyszłości mogą być dodane podobne funkcje dla innych
54 zewnętrznych mechanizmów pakietów.
55
56 Rozszerzone możliwości w stosunku do oryginalnego polecenia PEAR-a
57 "makerpm" obejmują:
58 - możliwość definiowania pola Release z linii poleceń
59 - bardziej zaawansowane dostosowywanie nazwy generowanego pakietu
60 - dodawanie wirtualnych Provides/Requires o innym formacie niż format
61   nazwy pakietu
62 - próbę inteligentnego rozróżnienia między projektami PEAR a PECL przy
63   generowaniu pakietów
64
65 Ta klasa ma w PEAR status: %{_status}.
66
67 %prep
68 %pear_package_setup
69 %patch0 -p1
70
71 rm docs/PEAR_Command_Packaging/LICENSE
72
73 %build
74 packagexml2cl package.xml > ChangeLog
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{php_pear_dir}
79 %pear_package_install
80
81 sed -e '/^\$''Log: /,$d' %{SOURCE1} > $RPM_BUILD_ROOT%{php_pear_dir}/data/%{_pearname}/template.spec
82 echo '$''Log: $' >> $RPM_BUILD_ROOT%{php_pear_dir}/data/%{_pearname}/template.spec
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files
88 %defattr(644,root,root,755)
89 %doc install.log
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
This page took 0.057833 seconds and 4 git commands to generate.