[-]
[+]
|
Deleted |
php-pecl-memcached-dev.changes
|
@@ -1,5 +0,0 @@
--------------------------------------------------------------------
-Fri Aug 19 06:12:17 UTC 2016 - cs@linux-administrator.com
-
-- initial import
-
|
[-]
[+]
|
Added |
php-pecl-memcached-php7.changes
^
|
|
[-]
[+]
|
Deleted |
php-pecl-memcached-dev.spec
^
|
@@ -1,546 +0,0 @@
-# remirepo spec file for php-pecl-memcached
-# With SCL compatibility, from:
-#
-# Fedora spec file for php-pecl-memcached
-#
-# Copyright (c) 2009-2016 Remi Collet
-# License: CC-BY-SA
-# http://creativecommons.org/licenses/by-sa/4.0/
-#
-# Please, preserve the changelog entries
-#
-%if 0%{?scl:1}
-%if "%{scl}" == "rh-php56"
-%global sub_prefix more-php56-
-%else
-%global sub_prefix %{scl_prefix}
-%endif
-%endif
-
-%{?scl: %scl_package php-pecl-memcached}
-%{!?scl: %global _root_prefix %{_prefix}}
-%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
-%{!?__pecl: %global __pecl %{_bindir}/pecl}
-%{!?__php: %global __php %{_bindir}/php}
-
-%global with_fastlz 1
-%global with_igbin 1
-%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
-%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
-%global pecl_name memcached
-# https://github.com/php-memcached-dev/php-memcached/commits/php7
-%global gh_commit de6b9b58b3d33965863bc657687f4dd637a20c20
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-%global gh_date 20160217
-%global gh_owner php-memcached-dev
-%global gh_project php-memcached
-#global prever RC1
-#global intver rc1
-%if "%{php_version}" < "5.6"
-# After igbinary, json, msgpack
-%global ini_name z-%{pecl_name}.ini
-%else
-# After 40-igbinary, 40-json, 40-msgpack
-%global ini_name 50-%{pecl_name}.ini
-%endif
-
-Summary: Extension to work with the Memcached caching daemon
-Name: %{?sub_prefix}php-pecl-memcached
-Version: 3.0.0
-Release: 0.1.%{gh_date}git%{gh_short}%{?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: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-# 5.2.10 required to HAVE_JSON enabled
-BuildRequires: %{?scl_prefix}php-devel >= 5.2.10
-BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: %{?scl_prefix}php-json
-%if %{with_igbin}
-BuildRequires: %{?sub_prefix}php-pecl-igbinary-devel
-%endif
-%ifnarch ppc64
-BuildRequires: %{?sub_prefix}php-pecl-msgpack-devel
-%endif
-BuildRequires: zlib-devel
-BuildRequires: cyrus-sasl-devel
-%if %{with_fastlz}
-BuildRequires: fastlz-devel
-%endif
-%if %{with_tests}
-BuildRequires: memcached
-%endif
-
-%if 0%{?scl:1} && 0%{?fedora} < 15 && 0%{?rhel} < 7 && "%{?scl_vendor}" != "remi"
-# Filter in the SCL collection
-%{?filter_requires_in: %filter_requires_in %{_libdir}/.*\.so}
-# libvent from SCL as not available in system
-BuildRequires: %{?sub_prefix}libevent-devel > 2
-Requires: %{?sub_prefix}libevent%{_isa} > 2
-BuildRequires: %{?sub_prefix}libmemcached-devel > 1
-Requires: %{?sub_prefix}libmemcached-libs%{_isa} > 1
-%if %{with_fastlz}
-Requires: fastlz%{_isa}
-%endif
-Requires: cyrus-sasl-lib%{_isa}
-%else
-BuildRequires: libevent-devel >= 2.0.2
-%if 0%{?rhel} == 5
-BuildRequires: libmemcached-devel > 1
-%else
-# To ensure use of libmemcached-last for --enable-memcached-protocol
-BuildRequires: libmemcached-devel >= 1.0.16
-%endif
-%endif
-
-Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
-Requires: %{?scl_prefix}php(api) = %{php_core_api}
-Requires: %{?scl_prefix}php-json%{?_isa}
-%if %{with_igbin}
-Requires: %{?sub_prefix}php-pecl-igbinary%{?_isa}
-%endif
-%ifnarch ppc64
-Requires: %{?sub_prefix}php-pecl-msgpack%{?_isa}
-%endif
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
-
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
-# Other third party repo stuff
-Obsoletes: php53-pecl-%{pecl_name} <= %{version}
-Obsoletes: php53u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54w-pecl-%{pecl_name} <= %{version}
-%if "%{php_version}" > "5.5"
-Obsoletes: php55u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php55w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "5.6"
-Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.0"
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
-%endif
-%endif
-
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter private shared
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
-
-
-%description
-This extension uses libmemcached library to provide API for communicating
-with memcached servers.
-
-memcached is a high-performance, distributed memory object caching system,
-generic in nature, but intended for use in speeding up dynamic web
-applications by alleviating database load.
-
-It also provides a session handler (memcached).
-
-Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
-
-
-%prep
-%setup -c -q
-mv %{gh_project}-%{gh_commit} NTS
-sed -e '/PHP_MEMCACHED_VERSION/s/3.0.0b1/%{version}-dev/' -i NTS/php_memcached.h
-%{__php} -r '
- $pkg = simplexml_load_file("NTS/package.xml");
- $pkg->date = substr("%{gh_date}",0,4)."-".substr("%{gh_date}",4,2)."-".substr("%{gh_date}",6,2);
- $pkg->version->release = "%{version}dev";
- $pkg->stability->release = "devel";
- $pkg->asXML("package.xml");
-'
-
-# Don't install/register tests
-sed -e 's/role="test"/role="src"/' \
- %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
- -i package.xml
-
-cd NTS
-%if %{with_fastlz}
-rm -r fastlz
-sed -e '/name=.fastlz/d' -i ../package.xml
-%endif
-
-# Check version as upstream often forget to update this
-extver=$(sed -n '/#define PHP_MEMCACHED_VERSION/{s/.* "//;s/".*$//;p}' php_memcached.h)
-if test "x${extver}" != "x%{version}%{?gh_date:-dev}%{?intver}"; then
- : Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?prever}%{?gh_date:-dev}.
- : Update the pdover macro and rebuild.
- exit 1
-fi
-cd ..
-
-cat > %{ini_name} << 'EOF'
-; Enable %{pecl_name} extension module
-extension=%{pecl_name}.so
-
-; ----- Options to use the memcached session handler
-
-; RPM note : save_handler and save_path are defined
-; for mod_php, in /etc/httpd/conf.d/php.conf
-; for php-fpm, in %{_sysconfdir}/php-fpm.d/*conf
-
-; Use memcache as a session handler
-;session.save_handler=memcached
-; Defines a comma separated list of server urls to use for session storage
|
[-]
[+]
|
Added |
php-pecl-memcached-php7.spec
^
|
|
|
Added |
memcached-3.0.3.tgz
^
|
|
Deleted |
php-memcached-3.0.0-6ace07d.tar.gz
^
|
|
Deleted |
php-memcached-3.0.0-de6b9b5.tar.gz
^
|