Group :: Development/Other
RPM: pear-core
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: pear-core
Version: 1.10.13
Release: alt1
Summary: PHP Extension and Application Repository
License: PHP
Group: Development/Other
Url: http://pear.php.net
Packager: Denis Klimov <zver at altlinux.ru>
Source: %name-%version.tar
BuildArch: noarch
Requires: /usr/bin/php
BuildRequires: /usr/bin/php
BuildRequires: rpm-build-pear >= 0.5
Obsoletes: php-pear
Provides: php-pear
Obsoletes: pear < 1.3.4-alt1.1
Provides: pear
Provides: pear-PEAR = %version
Provides: pear-Console_Getopt = 1.4.1
Provides: pear-Structures_Graph = 1.1.1
Provides: pear-Archive_Tar = 1.4.2
Provides: pear-XML_Util = 1.4.1
Obsoletes: pear-XML_Util < 1.3
%description
PEAR is a code repository for PHP extensions and PHP library code
similar to TeX's CTAN and Perl's CPAN.
This package contains also
Console_Getopt, Structures_Graph, Archive_Tar modules.
%prep
%setup
%build
%install
INCPATH="."
XMLLIST=""
for i in PEAR Archive_Tar Structures_Graph Console_Getopt XML_Util ; do
INCPATH="$INCPATH:$i"
XMLLIST="$XMLLIST $i/package.xml"
done
INCARG="-d include_path='$INCPATH'"
php -C -q $INCARG -d output_buffering=1 -d variables_order=EGPCS -d open_basedir="" \
-d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file="" \
PEAR/scripts/pearcmd.php install --force --offline --packagingroot=%buildroot $XMLLIST
# Replace /usr/bin/* with simple scripts:
install -m 755 scripts/pear.sh %buildroot%_bindir/pear
install -m 755 scripts/pecl.sh %buildroot%_bindir/pecl
install -m 755 scripts/peardev.sh %buildroot%_bindir/peardev
%files
%pear_dir/
%_bindir/pear
%_bindir/pecl
%_bindir/peardev
%changelog
…
Full changelog you can see here
Version: 1.10.13
Release: alt1
Summary: PHP Extension and Application Repository
License: PHP
Group: Development/Other
Url: http://pear.php.net
Packager: Denis Klimov <zver at altlinux.ru>
Source: %name-%version.tar
BuildArch: noarch
Requires: /usr/bin/php
BuildRequires: /usr/bin/php
BuildRequires: rpm-build-pear >= 0.5
Obsoletes: php-pear
Provides: php-pear
Obsoletes: pear < 1.3.4-alt1.1
Provides: pear
Provides: pear-PEAR = %version
Provides: pear-Console_Getopt = 1.4.1
Provides: pear-Structures_Graph = 1.1.1
Provides: pear-Archive_Tar = 1.4.2
Provides: pear-XML_Util = 1.4.1
Obsoletes: pear-XML_Util < 1.3
%description
PEAR is a code repository for PHP extensions and PHP library code
similar to TeX's CTAN and Perl's CPAN.
This package contains also
Console_Getopt, Structures_Graph, Archive_Tar modules.
%prep
%setup
%build
%install
INCPATH="."
XMLLIST=""
for i in PEAR Archive_Tar Structures_Graph Console_Getopt XML_Util ; do
INCPATH="$INCPATH:$i"
XMLLIST="$XMLLIST $i/package.xml"
done
INCARG="-d include_path='$INCPATH'"
php -C -q $INCARG -d output_buffering=1 -d variables_order=EGPCS -d open_basedir="" \
-d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file="" \
PEAR/scripts/pearcmd.php install --force --offline --packagingroot=%buildroot $XMLLIST
# Replace /usr/bin/* with simple scripts:
install -m 755 scripts/pear.sh %buildroot%_bindir/pear
install -m 755 scripts/pecl.sh %buildroot%_bindir/pecl
install -m 755 scripts/peardev.sh %buildroot%_bindir/peardev
%files
%pear_dir/
%_bindir/pear
%_bindir/pecl
%_bindir/peardev
%changelog
…
Full changelog you can see here