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