Package pear-core: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | 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@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 * Thu Sep 09 2021 Vitaly Lipatov <lav@altlinux.ru> 1.10.13-alt1 - use /usr/bin/php - new versions: + PEAR 1.10.13 + Archive_Tar 1.4.14 + Console_Getopt 1.4.3 + XML_Util 1.4.5 * Wed Feb 13 2019 Vitaly Lipatov <lav@altlinux.ru> 1.10.1-alt2 - switch to php7 only - Obsoletes pear-XML_Util (ALT bug 34669) * Thu Feb 16 2017 Alexey Shabalin <shaba@altlinux.ru> 1.10.1-alt1 - New versions: + PEAR-1.10.1 + Console_Getopt-1.4.1 + Structures_Graph-1.1.1 + Archive_Tar-1.4.2 + XML_Util-1.4.1 - drop requires php5, allow install with php7 - replace /usr/bin/* with simple scripts * Wed Jan 07 2015 Pavel Isopenko <pauli@altlinux.org> 1.9.4-alt2 - New version Archive_Tar 1.3.13 * Thu May 31 2012 Nikolay A. Fetisov <naf@altlinux.ru> 1.9.4-alt1 - New version pear 1.9.4 and other modules (closes:#27387) * Sun Oct 03 2010 Vitaly Lipatov <lav@altlinux.ru> 1.9.1-alt1 - new version pear 1.9.1 and other modules - rearrange repo and rewrite build procedure * Fri Nov 06 2009 Sergey Alembekov <rt@altlinux.ru> 1.7.1-alt2.2 - updated modules: Archive_Tar * Wed Jul 01 2009 Boris Savelev <boris@altlinux.org> 1.7.1-alt2.1 - NMU - remove memory limit for pecl (closes:#14050) * Tue Jun 30 2009 Boris Savelev <boris@altlinux.org> 1.7.1-alt2 - NMU - remove memory limit for pear (closes:#14050) * Mon Apr 07 2008 Denis Klimov <zver@altlinux.ru> 1.7.1-alt1 - fix non canonical path in files section * Mon Jan 21 2008 Denis Klimov <zver@altlinux.ru> 1.6.2-alt6 - add versions for provides * Fri Jan 18 2008 Denis Klimov <zver@altlinux.ru> 1.6.2-alt5 - up memory limit to 15M in pear.sh * Fri Jan 18 2008 Denis Klimov <zver@altlinux.ru> 1.6.2-alt4 - install with pear.sh * Thu Jan 17 2008 Denis Klimov <zver@altlinux.ru> 1.6.2-alt3 - up memory limit in pear.sh - add testdir and dot files from pear dir * Mon Jan 14 2008 Denis Klimov <zver@altlinux.ru> 1.6.2-alt2 - add xml file for install Structures_Graph - new install method - add provides for pear-Archive_Tar, pear-Console_Getopt and pear-Structures_Graph - add BuildRequires rpm-build-pear with version * Wed Jan 09 2008 Denis Klimov <zver@altlinux.ru> 1.6.2-alt1 - add obsoletes and provides for pear, add provides for pear-PEAR - fix #13852 bug - use macroses from rpm-build-pear - change source filename format to %%name-%%version.tar * Tue Oct 02 2007 Denis Klimov <zver@altlinux.ru> 1.6.1-alt3 - add docs and tutorials for Structures_Graph * Mon Oct 01 2007 Denis Klimov <zver@altlinux.ru> 1.6.1-alt2 - remove wrong php5-base require * Tue Aug 21 2007 Denis Klimov <zver@altlinux.ru> 1.6.1-alt1 - rewrite spec file - divide to subpackages * Mon Aug 08 2005 Alexey Gladkov <legion@altlinux.ru> 1.3.4-alt1.1 - rebuild with new PHP. - Requires at php-base added. - BuildRequires at php-devel added. - Install directory changed to %%php_peardir. - Macro phpcli changed to %%_bindir/php. * Mon Jan 17 2005 Vladimir Lettiev <crux@altlinux.ru> 1.3.4-alt1 - updated modules: PEAR, XML_RPC, XML_Parser, DB, HTTP, Mail, Net_Socket, Log * Mon May 17 2004 Vladimir Lettiev <crux@altlinux.ru> 1.3.1-alt2 - new modules: Date, HTML_Common, HTML_Select - updated modules: Archive_Tar, DB, Mail, Net_SMTP, Net_Socket, XML_Parser - added tag Provides - corrected tag Summary (PEAR is not only for PHP v.4) * Thu Apr 08 2004 Vladimir Lettiev <crux@altlinux.ru> 1.3.1-alt1 - first release of PEAR separated from php |