| Revision 8141,
1.6 KB
checked in by tomop, 13 years ago
(diff) |
|
updated php extentions.
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | Summary: A zip management extension for PHP |
|---|
| 2 | Summary(ja): PHP用zip拡張 |
|---|
| 3 | Name: php-ext-zip |
|---|
| 4 | Version: 1.12.3 |
|---|
| 5 | Release: 1%{_dist_release} |
|---|
| 6 | Source: zip-%{version}.tgz |
|---|
| 7 | License: The PHP License |
|---|
| 8 | Group: Development/Languages |
|---|
| 9 | BuildRequires: php5-devel zlib-devel |
|---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 11 | |
|---|
| 12 | %if "%{?req_php_api}" != "" |
|---|
| 13 | Requires: %{req_php_api} |
|---|
| 14 | %endif |
|---|
| 15 | |
|---|
| 16 | Vendor: Project Vine |
|---|
| 17 | Distribution: Vine Linux |
|---|
| 18 | Packager: tomop |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | Zip is an extension to create, modify and read zip files. |
|---|
| 22 | |
|---|
| 23 | %description -l ja |
|---|
| 24 | zipモジュールは、zipファイルの生成/変更/読み込みを行うPHP拡張です。 |
|---|
| 25 | |
|---|
| 26 | %prep |
|---|
| 27 | %setup -q -n zip-%{version} |
|---|
| 28 | mv ../package.xml ./ |
|---|
| 29 | phpize |
|---|
| 30 | |
|---|
| 31 | %build |
|---|
| 32 | %configure |
|---|
| 33 | %__make %{?_smp_mflags} |
|---|
| 34 | |
|---|
| 35 | %install |
|---|
| 36 | rm -rf %{buildroot} |
|---|
| 37 | mkdir -p %{buildroot}%{_libdir}/php5/ |
|---|
| 38 | mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d |
|---|
| 39 | %makeinstall INSTALL_ROOT=%{buildroot} |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | cat > %{buildroot}%{_sysconfdir}/php5/php.d/zip.ini <<EOF |
|---|
| 43 | ; Enable zip extension module |
|---|
| 44 | extension=zip.so |
|---|
| 45 | |
|---|
| 46 | EOF |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %clean |
|---|
| 50 | rm -rf %{buildroot} |
|---|
| 51 | |
|---|
| 52 | %files |
|---|
| 53 | %defattr(-,root,root) |
|---|
| 54 | %doc CREDITS examples |
|---|
| 55 | %{_libdir}/php5/* |
|---|
| 56 | %config(noreplace) %{_sysconfdir}/php5/php.d/* |
|---|
| 57 | |
|---|
| 58 | %changelog |
|---|
| 59 | * Thu Jan 09 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.3-1 |
|---|
| 60 | - new upstream release. |
|---|
| 61 | |
|---|
| 62 | * Tue Jun 25 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.1-1 |
|---|
| 63 | - new upstream release. |
|---|
| 64 | |
|---|
| 65 | * Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-3 |
|---|
| 66 | - converted encoding to UTF-8. |
|---|
| 67 | |
|---|
| 68 | * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-2 |
|---|
| 69 | - rebuilt with current environment. |
|---|
| 70 | |
|---|
| 71 | * Mon Oct 31 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-1 |
|---|
| 72 | - initial build. |
|---|
| 73 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.