Browse Source

added PHP extensions.

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6099 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 12 years ago
parent
commit
c189d5cfe0

+ 68 - 0
p/php-ext-apc/php-ext-apc-vl.spec

@@ -0,0 +1,68 @@
+Summary: Alternative PHP Cache
+Name: php-ext-apc
+Version: 3.1.10
+Release: 1%{_dist_release}
+Source: APC-%{version}.tgz
+License: The PHP License
+Group: Development/Languages
+BuildRequires: php5-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: %{req_php_api}
+
+%description
+APC is the Alternative PHP Cache. It was conceived of to provide a free,
+open, and robust framework for caching and optimizing PHP intermediate code.
+
+apc.php is placed into %{_docdir}/%{name}-%{version}.
+
+%package devel
+Summary: A header file to serialize with APC
+Group: Development/Libraries
+Requires: php5-devel
+Requires: %{name} = %{version}
+
+%description devel
+This package contains definitions of apc.serializer hooks.
+
+%prep
+%setup -q -n APC-%{version}
+mv ../package.xml ./
+phpize
+
+%build
+%configure --with-apc=shared --enable-mmap --enable-sem
+%__make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/php5/
+mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
+%makeinstall INSTALL_ROOT=%{buildroot}
+
+
+cat > %{buildroot}%{_sysconfdir}/php5/php.d/apc.ini <<EOF
+; Enable APC extension module
+extension="apc.so"
+
+EOF
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc CHANGELOG INSTALL LICENSE NOTICE TODO TECHNOTES.txt apc.php
+%{_libdir}/php5/*
+%config(noreplace) %{_sysconfdir}/php5/php.d/*
+
+%files devel
+%{_includedir}/php5/ext/apc
+
+%changelog
+* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.10-1
+- new upstream release.
+
+* Wed Mar 11 2009 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 3.0.19-1
+- initial build.
+

+ 70 - 0
p/php-ext-clearsilver/php-ext-clearsilver-vl.spec

@@ -0,0 +1,70 @@
+Summary: ClearSilver extension for PHP
+Summary(ja): PHP用ClearSilverモジュール
+Name: php-ext-clearsilver
+Version: 0.4
+Release: 3%{_dist_release}
+URL: http://www.geodata.soton.ac.uk/software/php_clearsilver/
+Source: php-clearsilver-%{version}.tar.gz
+License: The PHP License
+Group: Development/Languages
+BuildRequires: clearsilver, php5-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Provides: php5-ext-clearsilver
+Requires: %{req_php_api}
+
+%description
+This module adds ClearSilver functions to PHP.
+
+%description -l ja
+このモジュールはPHPにClearSilverテンプレート機能を追加します。
+
+%prep
+%setup -q -n php-clearsilver-%{version}
+##perl -pi -e 's/refcount/refcount__gc/s' clearsilver.c
+
+%build
+aclocal
+autoconf
+phpize
+libtoolize --copy --force
+%configure
+%__make %{_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/php5/
+mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
+
+install -m644 modules/clearsilver.so %{buildroot}%{_libdir}/php5/
+
+cat > %{buildroot}%{_sysconfdir}/php5/php.d/clearsilver.ini <<EOF
+; Enable clearsilver extension module
+extension=clearsilver.so
+EOF
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc CREDITS INSTALL LICENSE README doc
+%{_libdir}/php5/*
+%{_sysconfdir}/php5/php.d/*
+
+%changelog
+* Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-3
+- converted encoding to UTF-8.
+
+* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-2
+- added an API version macro to "Requires:".
+
+* Sat Dec 12 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-1
+- new upstream release.
+ 
+* Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1-2
+- fixed for php-5.3.0.
+
+* Mon Apr 28 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.1-1
+- initial build.
+

+ 72 - 0
p/php-ext-memcache/php-ext-memcache-vl.spec

@@ -0,0 +1,72 @@
+Summary: memcache extension for PHP
+Summary(ja): PHP用memcache拡張
+Name: php-ext-memcache
+Version: 2.2.6
+Release: 3%{_dist_release}
+Source: memcache-%{version}.tgz
+Patch0: memcache-2.2.6-session_strict.patch
+License: The PHP License
+Group: Development/Languages
+BuildRequires: php5-devel
+BuildRequires: zlib-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: %{req_php_api}
+
+%description
+This module enable to access memcached in PHP scripts.
+
+%description -l ja
+このモジュールは、PHPスクリプト中でmemcachedにアクセスできるようにします。
+
+%prep
+%setup -q -n memcache-%{version}
+%patch0 -p1 -b .session_strict
+mv ../package.xml ./
+phpize
+
+%build
+%configure --enable-memcache-session=yes
+%__make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/php5/
+mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
+%makeinstall INSTALL_ROOT=%{buildroot}
+
+
+cat > %{buildroot}%{_sysconfdir}/php5/php.d/memcache.ini <<EOF
+; Enable memcache extension module
+extension=memcache.so
+
+memcache.allow_failover = 1
+memcache.max_failover_attempts = 20
+memcache.chunk_size = 16384
+memcache.default_port = 11211
+memcache.hash_function = crc32
+memcache.hash_strategy = consistent
+EOF
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc CREDITS README
+%{_libdir}/php5/*
+%config(noreplace) %{_sysconfdir}/php5/php.d/*
+
+%changelog
+* Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-3
+- converted encoding to UTF-8.
+
+* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-2
+- rebuilt with current environment.
+
+* Mon Dec 13 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
+- new upstream release.
+
+* Fri Jul 10 2009 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.4-1
+- initial build.
+

+ 65 - 0
p/php-ext-mysqlnd_ms/php-ext-mysqlnd_ms-vl.spec

@@ -0,0 +1,65 @@
+Summary: The mysqlnd replication and load balancing plugin
+Summary(ja): mysqlnd レプリケーション・ロードバランスプラグイン
+Name: php-ext-mysqlnd_ms
+Version: 1.3.2
+Release: 2%{_dist_release}
+URL: http://pecl.php.net/package/mysqlnd_ms
+Source: mysqlnd_ms-%{version}.tgz
+License: The PHP License
+Group: Development/Languages
+BuildRequires: php5-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: php5-mysql
+Requires: %{req_php_api}
+
+%description
+ The mysqlnd replication and load balancing plugin (mysqlnd_ms) adds
+easy to use MySQL replication support to all PHP MySQL extensions that
+use mysqlnd.
+
+%description -l ja
+  mysqlnd レプリケーション・ロードバランスプラグインは、mysqlndを使用
+している全てのPHP MySQL拡張に対し、簡単なMySQLレプリケーション機能の
+サポートを追加します。
+
+%prep
+%setup -q -n mysqlnd_ms-%{version}
+rm -f ../package.xml
+
+/usr/bin/phpize
+
+%build
+%configure
+%__make %{_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/php5/
+mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
+%makeinstall INSTALL_ROOT=%{buildroot}
+
+cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_ms.ini <<EOF
+; Enable mysqlnd_ms extension module
+extension=mysqlnd_ms.so
+EOF
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc CHANGES CREDITS LICENSE README
+%{_libdir}/php5/*
+%{_sysconfdir}/php5/php.d/*
+
+%changelog
+* Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-2
+- converted encoding to UTF-8.
+
+* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
+- new upstream release.
+
+* Sun Oct 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
+- initial build.
+

+ 61 - 0
p/php-ext-mysqlnd_qc/php-ext-mysqlnd_qc-vl.spec

@@ -0,0 +1,61 @@
+Summary: A query cache plugin for mysqlnd
+Summary(ja): mysqlnd クエリキャッシュプラグイン
+Name: php-ext-mysqlnd_qc
+Version: 1.1.1
+Release: 1%{_dist_release}
+URL: http://pecl.php.net/package/mysqlnd_qc
+Source: mysqlnd_qc-%{version}.tgz
+License: The PHP License
+Group: Development/Languages
+BuildRequires: php5-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: php5-mysql
+Requires: %{req_php_api}
+
+%description
+ The mysqlnd query result cache plugin is a mysqlnd plugin. It adds basic
+client side result set caching to all PHP MySQL extensions (ext/mysql,
+ext/mysqli, PDO_MySQL). if they are compiled to use mysqlnd. It does not
+change the API of the MySQL extensions and thus it operates virtually
+transparent for applications."
+
+%description -l ja
+ このプラグインは、mysqlndを利用している全てのMySQL拡張(mysql, mysqli,
+pdo_mysql)に、クライアント側での結果セットのキャッシュ機能を追加します。
+また、MySQL拡張のAPIは変えることなく、透過的に動作します。
+
+%prep
+%setup -q -n mysqlnd_qc-%{version}
+rm -f ../package.xml
+
+/usr/bin/phpize
+
+%build
+%configure
+%__make %{_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/php5/
+mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
+%makeinstall INSTALL_ROOT=%{buildroot}
+
+cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_qc.ini <<EOF
+; Enable mysqlnd_qc extension module
+extension=mysqlnd_qc.so
+EOF
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc CHANGES CREDITS LICENSE README web
+%{_libdir}/php5/*
+%{_sysconfdir}/php5/php.d/*
+
+%changelog
+* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
+- initial build.
+

+ 60 - 0
p/php-ext-zip/php-ext-zip-vl.spec

@@ -0,0 +1,60 @@
+Summary: A zip management extension for PHP
+Summary(ja): PHP用zip拡張
+Name: php-ext-zip
+Version: 1.10.2
+Release: 3%{_dist_release}
+Source: zip-%{version}.tgz
+License: The PHP License
+Group: Development/Languages
+BuildRequires: php5-devel zlib-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Requires: %{req_php_api}
+
+%description
+Zip is an extension to create, modify and read zip files.
+
+%description -l ja
+zipモジュールは、zipファイルの生成/変更/読み込みを行うPHP拡張です。
+
+%prep
+%setup -q -n zip-%{version}
+mv ../package.xml ./
+phpize
+
+%build
+%configure
+%__make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libdir}/php5/
+mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
+%makeinstall INSTALL_ROOT=%{buildroot}
+
+
+cat > %{buildroot}%{_sysconfdir}/php5/php.d/zip.ini <<EOF
+; Enable zip extension module
+extension=zip.so
+
+EOF
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc CREDITS examples
+%{_libdir}/php5/*
+%config(noreplace) %{_sysconfdir}/php5/php.d/*
+
+%changelog
+* Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-3
+- converted encoding to UTF-8.
+
+* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-2
+- rebuilt with current environment.
+
+* Mon Oct 31 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-1
+- initial build.
+