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