Группа :: Разработка/Прочее
Пакет: pear-PEAR_Command_Packaging
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define pear_name PEAR_Command_Packaging
%define oversion 0.1.2
Name: pear-PEAR_Command_Packaging
Version: %{oversion}a
Release: alt2
Summary: make-rpm-spec command for managing RPM .spec files for PEAR packages
License: PHP
Group: Development/Other
Url: http://pear.php.net/package/%pear_name
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://download.pear.php.net/package/%pear_name-%version.tar.bz2
BuildArch: noarch
Requires: pear-core
BuildRequires: pear-core rpm-build-pear
%description
This command is an improved implementation of the standard makerpm command,
and contains several enhancements that make it far more flexible. Similar
functions for other external packaging mechanisms may be added at a later date.
Enhanced features over the original PEAR "makerpm" command include:
- Ability to define a release on the command line
- Allows more advanced customisation of the generated package name
- Allows virtual Provides/Requires that differ in format from the package name
format
- tries to intelligently distinguish between PEAR and PECL when generating
packages
This command patched for ALT Policy spec generated (see rpm-build-pear package).
%prep
%setup -c -n %pear_name-%version
# fix version
mv %pear_name-%oversion %pear_name-%version
%build
%pear_build
%install
%pear_install_std
%post
%register_pear_module
%preun
%unregister_pear_module
%files
%pear_dir/PEAR/Command/Packaging.php
%pear_dir/PEAR/Command/Packaging.xml
%pear_xmldir/%pear_name.xml
%pear_datadir/%pear_name/
%changelog
…
Полный changelog можно просмотреть здесь
%define oversion 0.1.2
Name: pear-PEAR_Command_Packaging
Version: %{oversion}a
Release: alt2
Summary: make-rpm-spec command for managing RPM .spec files for PEAR packages
License: PHP
Group: Development/Other
Url: http://pear.php.net/package/%pear_name
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://download.pear.php.net/package/%pear_name-%version.tar.bz2
BuildArch: noarch
Requires: pear-core
BuildRequires: pear-core rpm-build-pear
%description
This command is an improved implementation of the standard makerpm command,
and contains several enhancements that make it far more flexible. Similar
functions for other external packaging mechanisms may be added at a later date.
Enhanced features over the original PEAR "makerpm" command include:
- Ability to define a release on the command line
- Allows more advanced customisation of the generated package name
- Allows virtual Provides/Requires that differ in format from the package name
format
- tries to intelligently distinguish between PEAR and PECL when generating
packages
This command patched for ALT Policy spec generated (see rpm-build-pear package).
%prep
%setup -c -n %pear_name-%version
# fix version
mv %pear_name-%oversion %pear_name-%version
%build
%pear_build
%install
%pear_install_std
%post
%register_pear_module
%preun
%unregister_pear_module
%files
%pear_dir/PEAR/Command/Packaging.php
%pear_dir/PEAR/Command/Packaging.xml
%pear_xmldir/%pear_name.xml
%pear_datadir/%pear_name/
%changelog
…
Полный changelog можно просмотреть здесь