9e622c
# Fedora spec file for php-pear
9e622c
#
9e622c
# License: MIT
9e622c
# http://opensource.org/licenses/MIT
9e622c
#
9e622c
# Please preserve changelog entries
9e622c
#
9e622c
%global peardir %{_datadir}/pear
9e622c
%global metadir %{_localstatedir}/lib/pear
9e622c
9e622c
%global getoptver 1.4.1
9e622c
%global arctarver 1.4.3
9e622c
# https://pear.php.net/bugs/bug.php?id=19367
9e622c
# Structures_Graph 1.0.4 - incorrect FSF address
9e622c
%global structver 1.1.1
9e622c
%global xmlutil   1.4.3
9e622c
%global manpages  1.10.0
9e622c
9e622c
# Tests are only run with rpmbuild --with tests
9e622c
# Can't be run in mock / koji because PEAR is the first package
9e622c
%global with_tests 0%{?_with_tests:1}
9e622c
9e622c
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
9e622c
9e622c
%{!?pecl_xmldir: %global pecl_xmldir %{_sharedstatedir}/php/peclxml}
9e622c
9e622c
Summary: PHP Extension and Application Repository framework
9e622c
Name: php-pear
9e622c
Version: 1.10.5
9e622c
Release: 9%{?dist}
9e622c
Epoch: 1
9e622c
# PEAR, PEAR_Manpages, Archive_Tar, XML_Util, Console_Getopt are BSD
9e622c
# Structures_Graph is LGPLv3+
9e622c
License: BSD and LGPLv3+
9e622c
Group: Development/Languages
9e622c
URL: http://pear.php.net/package/PEAR
9e622c
Source0: http://download.pear.php.net/package/PEAR-%{version}%{?pearprever}.tgz
9e622c
# wget https://raw.githubusercontent.com/pear/pear-core/stable/install-pear.php
9e622c
Source1: install-pear.php
9e622c
Source3: cleanup.php
9e622c
Source10: pear.sh
9e622c
Source11: pecl.sh
9e622c
Source12: peardev.sh
9e622c
Source13: macros.pear
9e622c
Source21: http://pear.php.net/get/Archive_Tar-%{arctarver}.tgz
9e622c
Source22: http://pear.php.net/get/Console_Getopt-%{getoptver}.tgz
9e622c
Source23: http://pear.php.net/get/Structures_Graph-%{structver}.tgz
9e622c
Source24: http://pear.php.net/get/XML_Util-%{xmlutil}.tgz
9e622c
Source25: http://pear.php.net/get/PEAR_Manpages-%{manpages}.tgz
9e622c
9e622c
# https://github.com/pear/pear-core/pull/71
9e622c
Patch0:   https://patch-diff.githubusercontent.com/raw/pear/pear-core/pull/71.patch
9e622c
9e622c
BuildArch: noarch
9e622c
BuildRequires: php(language) > 5.4
9e622c
BuildRequires: php-cli
9e622c
BuildRequires: php-xml
9e622c
BuildRequires: %{_bindir}/gpg
9e622c
# For pecl_xmldir macro
9e622c
BuildRequires: php-devel
9e622c
%if %{with_tests}
9e622c
BuildRequires:  %{_bindir}/phpunit
9e622c
%endif
9e622c
%if 0%{?fedora}
9e622c
BuildRequires:  php-fedora-autoloader-devel
9e622c
%endif
9e622c
9e622c
Provides: php-pear(Console_Getopt) = %{getoptver}
9e622c
Provides: php-pear(Archive_Tar) = %{arctarver}
9e622c
Provides: php-pear(PEAR) = %{version}
9e622c
Provides: php-pear(Structures_Graph) = %{structver}
9e622c
Provides: php-pear(XML_Util) = %{xmlutil}
9e622c
Provides: php-pear(PEAR_Manpages) = %{manpages}
9e622c
9e622c
Provides: php-composer(pear/console_getopt) = %{getoptver}
9e622c
Provides: php-composer(pear/archive_tar) = %{arctarver}
9e622c
Provides: php-composer(pear/pear-core-minimal) = %{version}
9e622c
Provides: php-composer(pear/structures_graph) = %{structver}
9e622c
Provides: php-composer(pear/xml_util) = %{xmlutil}
9e622c
%if 0%{?fedora}
9e622c
Provides: php-autoloader(pear/console_getopt) = %{getoptver}
9e622c
Provides: php-autoloader(pear/archive_tar) = %{arctarver}
9e622c
Provides: php-autoloader(pear/pear-core-minimal) = %{version}
9e622c
Provides: php-autoloader(pear/structures_graph) = %{structver}
9e622c
Provides: php-autoloader(pear/xml_util) = %{xmlutil}
9e622c
%endif
9e622c
9e622c
# Archive_Tar requires 5.2
9e622c
# XML_Util, Structures_Graph require 5.3
9e622c
# Console_Getopt requires 5.4
9e622c
# PEAR requires 5.4
9e622c
Requires:  php(language) > 5.4
9e622c
Requires:  php-cli
9e622c
# phpci detected extension
9e622c
# PEAR (date, spl always builtin):
9e622c
Requires:  php-ftp
9e622c
Requires:  php-pcre
9e622c
Requires:  php-posix
9e622c
Requires:  php-tokenizer
9e622c
Requires:  php-xml
9e622c
Requires:  php-zlib
9e622c
# Console_Getopt: pcre
9e622c
# Archive_Tar: pcre, posix, zlib
9e622c
Requires:  php-bz2
9e622c
# Structures_Graph: none
9e622c
# XML_Util: pcre
9e622c
# optional: overload and xdebug
9e622c
# for /var/www/html ownership
9e622c
Requires: httpd-filesystem
9e622c
%if 0%{?fedora}
9e622c
Requires: php-composer(fedora/autoloader)
9e622c
%endif
9e622c
9e622c
9e622c
%description
9e622c
PEAR is a framework and distribution system for reusable PHP
9e622c
components.  This package contains the basic PEAR components.
9e622c
9e622c
%prep
9e622c
%setup -cT
9e622c
9e622c
# Create a usable PEAR directory (used by install-pear.php)
9e622c
for archive in %{SOURCE0} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{SOURCE24} %{SOURCE25}
9e622c
do
9e622c
    tar xzf  $archive --strip-components 1 || tar xzf  $archive --strip-path 1
9e622c
    file=${archive##*/}
9e622c
    [ -f LICENSE ] && mv LICENSE LICENSE-${file%%-*}
9e622c
    [ -f README ]  && mv README  README-${file%%-*}
9e622c
9e622c
    tar xzf $archive 'package*xml'
9e622c
    [ -f package2.xml ] && mv package2.xml ${file%%-*}.xml \
9e622c
                        || mv package.xml  ${file%%-*}.xml
9e622c
done
9e622c
cp %{SOURCE1} .
9e622c
9e622c
# apply patches on PEAR needed during install
9e622c
# other patches applied on installation tree
9e622c
9e622c
sed -e 's:@BINDIR@:%{_bindir}:' \
9e622c
    -e 's:@LIBDIR@:%{_localstatedir}/lib:' \
9e622c
    %{SOURCE13} > macros.pear
9e622c
9e622c
9e622c
%build
9e622c
%if 0%{?fedora}
9e622c
# Create per package autoloader
9e622c
phpab --template fedora \
9e622c
      --output PEAR/autoload.php\
9e622c
      PEAR OS System.php PEAR.php
9e622c
9e622c
phpab --template fedora \
9e622c
      --output Structures/Graph/autoload.php \
9e622c
      Structures
9e622c
9e622c
mkdir Archive/Tar
9e622c
phpab --template fedora \
9e622c
      --output Archive/Tar/autoload.php \
9e622c
      Archive
9e622c
9e622c
mkdir Console/Getopt
9e622c
phpab --template fedora \
9e622c
      --output Console/Getopt/autoload.php \
9e622c
      Console
9e622c
9e622c
mkdir XML/Util
9e622c
phpab --template fedora \
9e622c
      --output XML/Util/autoload.php \
9e622c
      XML
9e622c
%endif
9e622c
9e622c
9e622c
%install
9e622c
export PHP_PEAR_SYSCONF_DIR=%{_sysconfdir}
9e622c
export PHP_PEAR_SIG_KEYDIR=%{_sysconfdir}/pearkeys
9e622c
export PHP_PEAR_SIG_BIN=%{_bindir}/gpg
9e622c
export PHP_PEAR_INSTALL_DIR=%{peardir}
9e622c
9e622c
# 1.4.11 tries to write to the cache directory during installation
9e622c
# so it's not possible to set a sane default via the environment.
9e622c
# The ${PWD} bit will be stripped via relocate.php later.
9e622c
export PHP_PEAR_CACHE_DIR=${PWD}%{_localstatedir}/cache/php-pear
9e622c
export PHP_PEAR_TEMP_DIR=/var/tmp
9e622c
9e622c
install -d %{buildroot}%{peardir} \
9e622c
           %{buildroot}%{_localstatedir}/cache/php-pear \
9e622c
           %{buildroot}%{_localstatedir}/www/html \
9e622c
           %{buildroot}%{_localstatedir}/lib/pear/pkgxml \
9e622c
           %{buildroot}%{_sysconfdir}/pear
9e622c
9e622c
export INSTALL_ROOT=%{buildroot}
9e622c
9e622c
%{_bindir}/php --version
9e622c
9e622c
%{_bindir}/php -dmemory_limit=64M -dshort_open_tag=0 -dsafe_mode=0 \
9e622c
         -d 'error_reporting=E_ALL&~E_DEPRECATED' -ddetect_unicode=0 \
9e622c
         install-pear.php --force \
9e622c
                 --dir      %{peardir} \
9e622c
                 --cache    %{_localstatedir}/cache/php-pear \
9e622c
                 --config   %{_sysconfdir}/pear \
9e622c
                 --bin      %{_bindir} \
9e622c
                 --www      %{_localstatedir}/www/html \
9e622c
                 --doc      %{_docdir}/pear \
9e622c
                 --test     %{_datadir}/tests/pear \
9e622c
                 --data     %{_datadir}/pear-data \
9e622c
                 --metadata %{metadir} \
9e622c
                 --man      %{_mandir} \
9e622c
                 %{SOURCE0} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{SOURCE24} %{SOURCE25}
9e622c
9e622c
# Replace /usr/bin/* with simple scripts:
9e622c
install -m 755 %{SOURCE10} %{buildroot}%{_bindir}/pear
9e622c
install -m 755 %{SOURCE11} %{buildroot}%{_bindir}/pecl
9e622c
install -m 755 %{SOURCE12} %{buildroot}%{_bindir}/peardev
9e622c
9e622c
# Sanitize the pear.conf
9e622c
%{_bindir}/php %{SOURCE3} %{buildroot}%{_sysconfdir}/pear.conf %{_datadir}
9e622c
9e622c
# Display configuration for debug
9e622c
%{_bindir}/php -r "print_r(unserialize(substr(file_get_contents('%{buildroot}%{_sysconfdir}/pear.conf'),17)));"
9e622c
9e622c
9e622c
install -m 644 -D macros.pear \
9e622c
           %{buildroot}%{macrosdir}/macros.pear
9e622c
9e622c
# apply patches on installed PEAR tree
9e622c
pushd %{buildroot}%{peardir}
9e622c
patch --no-backup --fuzz 0 -p1 < %{PATCH0}
9e622c
popd
9e622c
9e622c
# Why this file here ?
9e622c
rm -rf %{buildroot}/.depdb* %{buildroot}/.lock %{buildroot}/.channels %{buildroot}/.filemap
9e622c
9e622c
# Need for re-registrying XML_Util
9e622c
install -m 644 *.xml %{buildroot}%{_localstatedir}/lib/pear/pkgxml
9e622c
9e622c
%if 0%{?fedora}
9e622c
# install autoloaders
9e622c
for i in PEAR/autoload.php Structures/Graph/autoload.php Archive/Tar/autoload.php Console/Getopt/autoload.php XML/Util/autoload.php
9e622c
do install -Dpm 644 $i %{buildroot}%{peardir}/$i
9e622c
done
9e622c
%endif
9e622c
9e622c
9e622c
%check
9e622c
# Check that no bogus paths are left in the configuration, or in
9e622c
# the generated registry files.
9e622c
grep %{buildroot} %{buildroot}%{_sysconfdir}/pear.conf && exit 1
9e622c
grep %{_libdir} %{buildroot}%{_sysconfdir}/pear.conf && exit 1
9e622c
grep '"/tmp"' %{buildroot}%{_sysconfdir}/pear.conf && exit 1
9e622c
grep /usr/local %{buildroot}%{_sysconfdir}/pear.conf && exit 1
9e622c
grep -rl %{buildroot} %{buildroot} && exit 1
9e622c
9e622c
9e622c
%if %{with_tests}
9e622c
cp /etc/php.ini .
9e622c
echo "include_path=.:%{buildroot}%{peardir}:/usr/share/php" >>php.ini
9e622c
export PHPRC=$PWD/php.ini
9e622c
LOG=$PWD/rpmlog
9e622c
ret=0
9e622c
9e622c
cd %{buildroot}%{_datadir}/tests/pear/Structures_Graph/tests
9e622c
phpunit \
9e622c
   AllTests || ret=1
9e622c
9e622c
cd %{buildroot}%{_datadir}/tests/pear/XML_Util/tests
9e622c
%{_bindir}/php \
9e622c
   %{buildroot}/usr/share/pear/pearcmd.php \
9e622c
   run-tests \
9e622c
   | tee $LOG
9e622c
9e622c
cd %{buildroot}%{_datadir}/tests/pear/Console_Getopt/tests
9e622c
%{_bindir}/php \
9e622c
   %{buildroot}/usr/share/pear/pearcmd.php \
9e622c
   run-tests \
9e622c
   | tee -a $LOG
9e622c
9e622c
grep "FAILED TESTS" $LOG && ret=1
9e622c
9e622c
exit $ret
9e622c
%else
9e622c
echo 'Test suite disabled (missing "--with tests" option)'
9e622c
%endif
9e622c
9e622c
# Register newly installed PECL packages
9e622c
%transfiletriggerin -- %{pecl_xmldir}
9e622c
while read file; do
9e622c
  %{_bindir}/pecl install --nodeps --soft --force --register-only --nobuild "$file" >/dev/null || :
9e622c
done
9e622c
9e622c
# Unregister to be removed PECL packages
9e622c
# Reading the xml file to retrieve channel and package name
9e622c
%transfiletriggerun -- %{pecl_xmldir}
9e622c
%{_bindir}/php -r '
9e622c
while ($file=fgets(STDIN)) {
9e622c
  $file = trim($file);
9e622c
  $xml = simplexml_load_file($file);
9e622c
  if (isset($xml->channel) &&  isset($xml->name)) {
9e622c
    printf("%s/%s\n", $xml->channel, $xml->name);
9e622c
  } else {
9e622c
    fputs(STDERR, "Bad pecl package file ($file)\n");
9e622c
  }
9e622c
}' | while read  name; do
9e622c
  %{_bindir}/pecl uninstall --nodeps --ignore-errors --register-only "$name" >/dev/null || :
9e622c
done
9e622c
9e622c
9e622c
%postun
9e622c
if [ $1 -eq 0 -a -d %{metadir}/.registry ] ; then
9e622c
  rm -rf %{metadir}/.registry
9e622c
fi
9e622c
9e622c
9e622c
%files
9e622c
%{peardir}
9e622c
%dir %{metadir}
9e622c
%{metadir}/.channels
9e622c
%verify(not mtime size md5) %{metadir}/.depdb
9e622c
%verify(not mtime)          %{metadir}/.depdblock
9e622c
%verify(not mtime size md5) %{metadir}/.filemap
9e622c
%verify(not mtime)          %{metadir}/.lock
9e622c
%{metadir}/.registry
9e622c
%{metadir}/pkgxml
9e622c
%{_bindir}/*
9e622c
%config(noreplace) %{_sysconfdir}/pear.conf
9e622c
%{macrosdir}/macros.pear
9e622c
%dir %{_localstatedir}/cache/php-pear
9e622c
%dir %{_sysconfdir}/pear
9e622c
%license LICENSE*
9e622c
%doc README*
9e622c
%dir %{_docdir}/pear
9e622c
%doc %{_docdir}/pear/*
9e622c
%{_datadir}/tests/pear
9e622c
%{_datadir}/pear-data
9e622c
%{_mandir}/man1/pear.1*
9e622c
%{_mandir}/man1/pecl.1*
9e622c
%{_mandir}/man1/peardev.1*
9e622c
%{_mandir}/man5/pear.conf.5*
9e622c
9e622c
9e622c
%changelog
9e622c
* Wed May 15 2019 Joe Orton <jorton@redhat.com> - 1:1.10.5-9
9e622c
- rebuild
9e622c
9e622c
* Wed Apr 11 2018 Remi Collet <remi@remirepo.net> - 1:1.10.5-8
9e622c
- require /usr/bin/gpg instead of gnupg
9e622c
9e622c
* Tue Mar  6 2018 Remi Collet <remi@remirepo.net> - 1:1.10.5-7
9e622c
- enable autoloader only in Fedora
9e622c
9e622c
* Tue Feb 13 2018 Remi Collet <remi@remirepo.net> - 1:1.10.5-6
9e622c
- add patch for PHP 7.2 from
9e622c
  https://github.com/pear/pear-core/pull/71
9e622c
9e622c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.5-5
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9e622c
9e622c
* Tue Dec 19 2017 Remi Collet <remi@remirepo.net> - 1:1.10.5-4
9e622c
- add autoloader for each package
9e622c
9e622c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.5-3
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9e622c
9e622c
* Thu Jun 29 2017 Remi Collet <remi@remirepo.net> - 1:1.10.5-2
9e622c
- update XML_Util to 1.4.3 (no change)
9e622c
9e622c
* Wed Jun 28 2017 Remi Collet <remi@remirepo.net> 1:1.10.5-1
9e622c
- update PEAR to 1.10.5 (no change)
9e622c
9e622c
* Mon Jun 12 2017 Remi Collet <remi@remirepo.net> 1:1.10.4-2
9e622c
- update Archive_Tar to 1.4.3
9e622c
9e622c
* Thu Apr 27 2017 Remi Collet <remi@remirepo.net> 1:1.10.4-1
9e622c
- update PEAR to 1.10.4
9e622c
9e622c
* Thu Mar  9 2017 Remi Collet <remi@fedoraproject.org> 1:1.10.3-2
9e622c
- rebuild
9e622c
9e622c
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> 1:1.10.3-1
9e622c
- update PEAR to 1.10.3
9e622c
9e622c
* Thu Feb 23 2017 Remi Collet <remi@fedoraproject.org> 1:1.10.1-12
9e622c
- update XML_Util to 1.4.2
9e622c
- drop patch merged upstream
9e622c
9e622c
* Wed Feb 22 2017 Remi Collet <remi@fedoraproject.org> 1:1.10.1-11
9e622c
- add patch to fix XML_Serializer with XML_Util 1.4.1
9e622c
  from https://github.com/pear/XML_Util/pull/8
9e622c
9e622c
* Wed Feb  8 2017 Remi Collet <remi@fedoraproject.org> 1:1.10.1-10
9e622c
- update XML_Util to 1.4.1
9e622c
9e622c
* Sat Feb  4 2017 Remi Collet <remi@fedoraproject.org> 1:1.10.1-9
9e622c
- update XML_Util to 1.4.0
9e622c
9e622c
* Fri Sep 30 2016 Remi Collet <remi@fedoraproject.org> 1:1.10.1-7
9e622c
- fix https connection via a proxy
9e622c
  patch from https://github.com/pear/pear-core/pull/51
9e622c
- silent the new scriplets
9e622c
9e622c
* Fri Aug  5 2016 Remi Collet <remi@fedoraproject.org> 1:1.10.1-6
9e622c
- improve default config, to avoid change in scriptlet
9e622c
- spec cleanup and remove unneeded scriplets
9e622c
9e622c
* Thu Jun 30 2016 Remi Collet <remi@fedoraproject.org> 1:1.10.1-5
9e622c
- don't own test/doc directories for pecl packages #1351345
9e622c
9e622c
* Thu Feb 25 2016 Remi Collet <remi@fedoraproject.org> 1:1.10.1-4
9e622c
- update Archive_Tar to 1.4.2
9e622c
9e622c
* Wed Feb 10 2016 Remi Collet <remi@fedoraproject.org> 1:1.10.1-3
9e622c
- use file triggers for pecl extensions (un)registration
9e622c
- define %%pecl_install and %%pecl_uninstall as noop macro
9e622c
9e622c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.1-2
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9e622c
9e622c
* Sat Oct 17 2015 Remi Collet <remi@fedoraproject.org> 1:1.10.1-1
9e622c
- update PEAR to 1.10.1
9e622c
9e622c
* Wed Oct  7 2015 Remi Collet <remi@fedoraproject.org> 1:1.10.0-1
9e622c
- update PEAR and PEAR_Manpages to 1.10.0
9e622c
9e622c
* Tue Sep 29 2015 Remi Collet <remi@fedoraproject.org> 1:1.10.0-0.2.dev3
9e622c
- update PEAR to 1.10.0dev3
9e622c
9e622c
* Fri Jul 31 2015 Remi Collet <remi@fedoraproject.org> 1:1.10.0-0.1.dev2
9e622c
- update PEAR to 1.10.0dev2
9e622c
- drop all patches, merged upstream
9e622c
- drop man pages from sources
9e622c
- add PEAR_Manpages upstream package
9e622c
9e622c
* Tue Jul 21 2015 Remi Collet <remi@fedoraproject.org> 1:1.9.5-12
9e622c
- update Console_Getopt to 1.4.1
9e622c
- update Structures_Graph to 1.1.1
9e622c
9e622c
* Mon Jul 20 2015 Remi Collet <remi@fedoraproject.org> 1:1.9.5-10
9e622c
- update Archive_Tar to 1.4.0
9e622c
9e622c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.9.5-9
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9e622c
9e622c
* Tue Apr 14 2015 Remi Collet <remi@fedoraproject.org> 1:1.9.5-8
9e622c
- update Archive_Tar to 1.3.16 (no change)
9e622c
9e622c
* Fri Mar 13 2015 Remi Collet <remi@fedoraproject.org> 1:1.9.5-7
9e622c
- update Archive_Tar to 1.3.15 (no change)
9e622c
- add composer provides
9e622c
9e622c
* Mon Mar  2 2015 Remi Collet <remi@fedoraproject.org> 1:1.9.5-6
9e622c
- update XML_Util to 1.3.0
9e622c
9e622c
* Fri Feb 27 2015 Remi Collet <remi@fedoraproject.org> 1:1.9.5-5
9e622c
- update Structures_Graph to 1.1.0
9e622c
- update Archive_Tar to 1.3.14
9e622c
9e622c
* Mon Feb 23 2015 Remi Collet <remi@fedoraproject.org> 1:1.9.5-4
9e622c
- update Console_Getopt to 1.4.0
9e622c
- raise php minimum version to 5.4
9e622c
- cleanup registry after removal
9e622c
- drop old php-pear-XML-Util scriptlets
9e622c
- remove PHP from License, Console_Getopt is now BSD
9e622c
9e622c
* Thu Sep  4 2014 Remi Collet <remi@fedoraproject.org> 1:1.9.5-3
9e622c
- update Archive_Tar to 1.3.13
9e622c
- requires httpd-filesystem for /var/www/html ownership (F21+)
9e622c
- fix license handling
9e622c
9e622c
* Tue Aug 12 2014 Remi Collet <remi@fedoraproject.org> 1:1.9.5-2
9e622c
- update Archive_Tar to 1.3.12
9e622c
9e622c
* Tue Jul 15 2014 Remi Collet <remi@fedoraproject.org> 1:1.9.5-1
9e622c
- update PEAR to 1.9.5
9e622c
9e622c
* Sat Jun  7 2014 Remi Collet <remi@fedoraproject.org> 1:1.9.4-29
9e622c
- update XML_Util to 1.2.3
9e622c
- fix test suite (not used)
9e622c
9e622c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.9.4-28
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9e622c
9e622c
* Thu Apr 17 2014 Remi Collet <rcollet@redhat.com> 1:1.9.4-27
9e622c
- revert previous, was a bad solution
9e622c
9e622c
* Wed Apr  9 2014 Remi Collet <rcollet@redhat.com> 1:1.9.4-25
9e622c
- only enable needed extensions for pear/pecl commands
9e622c
- fix typo in pear man page
9e622c
9e622c
* Tue Feb 11 2014 Remi Collet <rcollet@redhat.com> 1:1.9.4-24
9e622c
- Expand path in macros.pear
9e622c
- Install macros to /usr/lib/rpm/macros.d where available
9e622c
9e622c
* Tue Oct 15 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-23
9e622c
- set pecl test_dir to /usr/share/tests/pecl
9e622c
9e622c
* Mon Oct 14 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-22
9e622c
- set pecl doc_dir to /usr/share/doc/pecl
9e622c
9e622c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.9.4-21
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9e622c
9e622c
* Wed Jul 10 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-20
9e622c
- add man page for pear.conf file
9e622c
9e622c
* Tue Jun 18 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-19
9e622c
- add man pages for pear, peardev and pecl commands
9e622c
9e622c
* Fri May  3 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-18
9e622c
- don't verify metadata file content
9e622c
9e622c
* Thu Apr 25 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-17
9e622c
- improve post scriptlet to avoid updating pear.conf
9e622c
  when not needed
9e622c
9e622c
* Tue Mar 12 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:1.9.4-16
9e622c
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
9e622c
  (https://fedorahosted.org/fpc/ticket/259).
9e622c
9e622c
* Sat Feb  9 2013 Remi Collet <remi@fedoraproject.org> 1:1.9.4-15
9e622c
- update Archive_Tar to 1.3.11
9e622c
- drop php 5.5 patch merged upstream
9e622c
9e622c
* Tue Dec 11 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-14
9e622c
- add explicit requires on all needed extensions (phpci)
9e622c
- fix pecl launcher (need ini to be parsed for some
9e622c
  extenstions going to be build as shared, mainly simplexml)
9e622c
- add fix for new unpack format (php 5.5)
9e622c
9e622c
* Wed Sep 26 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-13
9e622c
- move metadata to /var/lib/pear
9e622c
9e622c
* Wed Sep 26 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-12
9e622c
- drop relocate stuff, no more needed
9e622c
9e622c
* Sun Aug 19 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-11
9e622c
- move data to /usr/share/pear-data
9e622c
- provides all package.xml
9e622c
9e622c
* Wed Aug 15 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-10
9e622c
- enforce test_dir on update
9e622c
9e622c
* Mon Aug 13 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-9
9e622c
- move tests to /usr/share/tests/pear
9e622c
- move pkgxml to /var/lib/pear
9e622c
- remove XML_RPC
9e622c
- refresh installer
9e622c
9e622c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.9.4-8
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9e622c
9e622c
* Wed Apr 11 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-7
9e622c
- Update Archive_Tar to 1.3.10
9e622c
9e622c
* Wed Apr 04 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-6
9e622c
- fix Obsoletes version for XML_Util (#226295)
9e622c
- add link to upstream bug - please Provides LICENSE file
9e622c
  https://pear.php.net/bugs/bug.php?id=19368
9e622c
- add link to upstream bug - Incorrect FSF address
9e622c
  https://pear.php.net/bugs/bug.php?id=19367
9e622c
9e622c
* Mon Feb 27 2012 Remi Collet <remi@fedoraproject.org> 1:1.9.4-5
9e622c
- Update Archive_Tar to 1.3.9
9e622c
- add patch from RHEL (Joe Orton)
9e622c
- fix install-pear.php URL (with our patch for doc_dir applied)
9e622c
9e622c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.9.4-4
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9e622c
9e622c
* Sat Oct 15 2011 Remi Collet <remi@fedoraproject.org> 1:1.9.4-3
9e622c
- update Archive_Tar to 1.3.8
9e622c
- allow to build with "tests" option
9e622c
9e622c
* Sat Aug 27 2011 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.4-2
9e622c
- update to XML_RPC-1.5.5
9e622c
9e622c
* Thu Jul 07 2011 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.4-1
9e622c
- update to 1.9.4
9e622c
9e622c
* Fri Jun 10 2011 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.3-2
9e622c
- fix pecl launcher
9e622c
9e622c
* Fri Jun 10 2011 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.3-1
9e622c
- update to 1.9.3
9e622c
- sync options in launcher (pecl, pear, peardev) with upstream
9e622c
9e622c
* Wed Mar 16 2011 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.2-3
9e622c
- move %%{pear_docdir} to %%{_docdir}/pear
9e622c
  https://fedorahosted.org/fpc/ticket/69
9e622c
9e622c
* Tue Mar  8 2011 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.2-2
9e622c
- update Console_Getopt to 1.3.1 (no change)
9e622c
9e622c
* Mon Feb 28 2011 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.2-1
9e622c
- update to 1.9.2 (bug + security fix)
9e622c
  http://pear.php.net/advisory-20110228.txt
9e622c
9e622c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.9.1-7
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9e622c
9e622c
* Sun Dec 12 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.1-6
9e622c
- update Console_Getopt to 1.3.0
9e622c
- don't require php-devel (#657812)
9e622c
- update install-pear.php
9e622c
9e622c
* Tue Oct 26 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.1-5
9e622c
- update Structures_Graph to 1.0.4
9e622c
9e622c
* Fri Sep 10 2010 Joe Orton <jorton@redhat.com> - 1:1.9.1-4
9e622c
- ship LICENSE file for XML_RPC
9e622c
9e622c
* Fri Sep 10 2010 Joe Orton <jorton@redhat.com> - 1:1.9.1-3
9e622c
- require php-devel (without which pecl doesn't work)
9e622c
9e622c
* Mon Jul 05 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.1-2
9e622c
- update to XML_RPC-1.5.4
9e622c
9e622c
* Thu May 27 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.1-1
9e622c
- update to 1.9.1
9e622c
9e622c
* Thu Apr 29 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.0-5
9e622c
- update to Archive_Tar-1.3.7 (only metadata fix)
9e622c
9e622c
* Tue Mar 09 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.0-4
9e622c
- update to Archive_Tar-1.3.6
9e622c
9e622c
* Sat Jan 16 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.0-3
9e622c
- update to XML_RPC-1.5.3
9e622c
- fix licenses (multiple)
9e622c
- provide bundled LICENSE files
9e622c
9e622c
* Fri Jan 01 2010 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.0-2
9e622c
- update to Archive_Tar-1.3.5, Structures_Graph-1.0.3
9e622c
9e622c
* Sat Sep 05 2009 Remi Collet <Fedora@FamilleCollet.com> 1:1.9.0-1
9e622c
- update to PEAR 1.9.0, XML_RPC 1.5.2
9e622c
9e622c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.8.1-2
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9e622c
9e622c
* Sat May 30 2009 Remi Collet <Fedora@FamilleCollet.com> 1:1.8.1-1
9e622c
- update to 1.8.1
9e622c
- Update install-pear.php script (1.39)
9e622c
- add XML_Util
9e622c
9e622c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.7.2-3
9e622c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9e622c
9e622c
* Sun May 18 2008 Remi Collet <Fedora@FamilleCollet.com> 1:1.7.2-2
9e622c
- revert to install-pear.php script 1.31 (for cfg_dir)
9e622c
9e622c
* Sun May 18 2008 Remi Collet <Fedora@FamilleCollet.com> 1:1.7.2-1
9e622c
- update to 1.7.2
9e622c
- Update install-pear.php script (1.32)
9e622c
9e622c
* Tue Mar 11 2008 Tim Jackson <rpm@timj.co.uk> 1:1.7.1-2
9e622c
- Set cfg_dir to be %%{_sysconfdir}/pear (and own it)
9e622c
- Update install-pear.php script
9e622c
- Add %%pear_cfgdir and %%pear_wwwdir macros
9e622c
9e622c
* Sun Feb  3 2008 Remi Collet <Fedora@FamilleCollet.com> 1:1.7.1-1
9e622c
- update to 1.7.1
9e622c
9e622c
* Fri Feb  1 2008 Remi Collet <Fedora@FamilleCollet.com> 1:1.7.0-1
9e622c
- update to 1.7.0
9e622c
9e622c
* Thu Oct  4 2007 Joe Orton <jorton@redhat.com> 1:1.6.2-2
9e622c
- require php-cli not php
9e622c
9e622c
* Sun Sep  9 2007 Remi Collet <Fedora@FamilleCollet.com> 1:1.6.2-1
9e622c
- update to 1.6.2
9e622c
- remove patches merged upstream
9e622c
- Fix : "pear install" hangs on non default channel (#283401)
9e622c
9e622c
* Tue Aug 21 2007 Joe Orton <jorton@redhat.com> 1:1.6.1-2
9e622c
- fix License
9e622c
9e622c
* Thu Jul 19 2007 Remi Collet <Fedora@FamilleCollet.com> 1:1.6.1-1
9e622c
- update to PEAR-1.6.1 and Console_Getopt-1.2.3
9e622c
9e622c
* Thu Jul 19 2007 Remi Collet <Fedora@FamilleCollet.com> 1:1.5.4-5
9e622c
- new SPEC using install-pear.php instead of install-pear-nozlib-1.5.4.phar
9e622c
9e622c
* Mon Jul 16 2007 Remi Collet <Fedora@FamilleCollet.com> 1:1.5.4-4
9e622c
- update macros.pear (without define)
9e622c
9e622c
* Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 1:1.5.4-3
9e622c
- add pecl_{un,}install macros to macros.pear (from Remi)
9e622c
9e622c
* Fri May 11 2007 Joe Orton <jorton@redhat.com> 1:1.5.4-2
9e622c
- update to 1.5.4
9e622c
9e622c
* Tue Mar  6 2007 Joe Orton <jorton@redhat.com> 1:1.5.0-3
9e622c
- add redundant build section (#226295)
9e622c
- BR php-cli not php (#226295)
9e622c
9e622c
* Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 1:1.5.0-2
9e622c
- update builtin module provides (Remi Collet, #226295)
9e622c
- drop patch 0
9e622c
9e622c
* Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 1:1.5.0-1
9e622c
- update to 1.5.0
9e622c
9e622c
* Mon Feb  5 2007 Joe Orton <jorton@redhat.com> 1:1.4.11-4
9e622c
- fix Group, mark pear.conf noreplace (#226295)
9e622c
9e622c
* Mon Feb  5 2007 Joe Orton <jorton@redhat.com> 1:1.4.11-3
9e622c
- use BuildArch not BuildArchitectures (#226925)
9e622c
- fix to use preferred BuildRoot (#226925)
9e622c
- strip more buildroot-relative paths from *.reg
9e622c
- force correct gpg path in default pear.conf
9e622c
9e622c
* Thu Jan  4 2007 Joe Orton <jorton@redhat.com> 1:1.4.11-2
9e622c
- update to 1.4.11
9e622c
9e622c
* Fri Jul 14 2006 Joe Orton <jorton@redhat.com> 1:1.4.9-4
9e622c
- update to XML_RPC-1.5.0
9e622c
- really package macros.pear
9e622c
9e622c
* Thu Jul 13 2006 Joe Orton <jorton@redhat.com> 1:1.4.9-3
9e622c
- require php-cli
9e622c
- add /etc/rpm/macros.pear (Christopher Stone)
9e622c
9e622c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.4.9-2.1
9e622c
- rebuild
9e622c
9e622c
* Mon May  8 2006 Joe Orton <jorton@redhat.com> 1:1.4.9-2
9e622c
- update to 1.4.9 (thanks to Remi Collet, #183359)
9e622c
- package /usr/share/pear/.pkgxml (#190252)
9e622c
- update to XML_RPC-1.4.8
9e622c
- bundle the v3.0 LICENSE file
9e622c
9e622c
* Tue Feb 28 2006 Joe Orton <jorton@redhat.com> 1:1.4.6-2
9e622c
- set cache_dir directory, own /var/cache/php-pear
9e622c
9e622c
* Mon Jan 30 2006 Joe Orton <jorton@redhat.com> 1:1.4.6-1
9e622c
- update to 1.4.6
9e622c
- require php >= 5.1.0 (#178821)
9e622c
9e622c
* Fri Dec 30 2005 Tim Jackson <tim@timj.co.uk> 1:1.4.5-6
9e622c
- Patches to fix "pear makerpm"
9e622c
9e622c
* Wed Dec 14 2005 Joe Orton <jorton@redhat.com> 1:1.4.5-5
9e622c
- set default sig_keydir to /etc/pearkeys
9e622c
- remove ext_dir setting from /etc/pear.conf (#175673)
9e622c
9e622c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
9e622c
- rebuilt
9e622c
9e622c
* Tue Dec  6 2005 Joe Orton <jorton@redhat.com> 1:1.4.5-4
9e622c
- fix virtual provide for PEAR package (#175074)
9e622c
9e622c
* Sun Dec  4 2005 Joe Orton <jorton@redhat.com> 1:1.4.5-3
9e622c
- fix /usr/bin/{pecl,peardev} (#174882)
9e622c
9e622c
* Thu Dec  1 2005 Joe Orton <jorton@redhat.com> 1:1.4.5-2
9e622c
- add virtual provides (#173806) 
9e622c
9e622c
* Wed Nov 23 2005 Joe Orton <jorton@redhat.com> 1.4.5-1
9e622c
- initial build (Epoch: 1 to allow upgrade from php-pear-5.x)