From 35adcaeec52f38bf11683a0767723fcab9b998eb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 27 Jan 2020 06:41:21 +0100 Subject: v1.1.2 --- php-pecl-uploadprogress.spec | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) (limited to 'php-pecl-uploadprogress.spec') diff --git a/php-pecl-uploadprogress.spec b/php-pecl-uploadprogress.spec index 543ae9c..664a038 100644 --- a/php-pecl-uploadprogress.spec +++ b/php-pecl-uploadprogress.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-uploadprogress # -# Copyright (c) 2013-2019 Remi Collet +# Copyright (c) 2013-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -21,18 +21,12 @@ Summary: An extension to track progress of a file upload Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.0.3.1 -Release: 20%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.1.2 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages -URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz - -# http://svn.php.net/viewvc/pecl/uploadprogress/trunk/LICENSE?view=co -Source1: LICENSE - -# See https://github.com/Jan-E/uploadprogress -Patch0: %{pecl_name}-php7.patch +URL: https://pecl.php.net/package/%{pecl_name} +Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -89,13 +83,10 @@ Obsoletes: php74w-pecl-%{pecl_name} <= %{version} %description -An extension to track progress of a file upload - -It is only known to work on Apache with mod_php, other SAPI implementations -unfortunately still have issues. - -See %{pecl_docdir}/%{pecl_name}/examples -for a little example. +A PHP extension to track progress of a file upload, +including details on the speed of the upload, estimated +time remaining, and access to the contents of the file +as it is being uploaded Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -107,9 +98,6 @@ mv %{pecl_name}-%{version} NTS %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} cd NTS -%patch0 -p1 -b .php7 - -cp %{SOURCE1} LICENSE # Sanity check, really often broken extver=$(sed -n '/#define PHP_UPLOADPROGRESS_VERSION/{s/.* "//;s/".*$//;p}' php_uploadprogress.h) @@ -167,7 +155,7 @@ make -C NTS install INSTALL_ROOT=%{buildroot} install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} # Install XML package description -install -D -m 644 package2.xml %{buildroot}%{pecl_xmldir}/%{name}.xml +install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %if %{with_zts} make -C ZTS install INSTALL_ROOT=%{buildroot} @@ -231,6 +219,9 @@ cd ../ZTS %changelog +* Mon Jan 27 2020 Remi Collet - 1.1.2-1 +- update to 1.1.2 + * Tue Sep 03 2019 Remi Collet - 1.0.3.1-20 - rebuild for 7.4.0RC1 -- cgit