| Revision 7918,
1.4 KB
checked in by tomop, 13 years ago
(diff) |
|
php5-5.5.5-1
|
-
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.1 |
|---|
| 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 | Requires: %{req_php_api} |
|---|
| 12 | |
|---|
| 13 | %description |
|---|
| 14 | Zip is an extension to create, modify and read zip files. |
|---|
| 15 | |
|---|
| 16 | %description -l ja |
|---|
| 17 | zipモジュールは、zipファイルの生成/変更/読み込みを行うPHP拡張です。 |
|---|
| 18 | |
|---|
| 19 | %prep |
|---|
| 20 | %setup -q -n zip-%{version} |
|---|
| 21 | mv ../package.xml ./ |
|---|
| 22 | phpize |
|---|
| 23 | |
|---|
| 24 | %build |
|---|
| 25 | %configure |
|---|
| 26 | %__make %{?_smp_mflags} |
|---|
| 27 | |
|---|
| 28 | %install |
|---|
| 29 | rm -rf %{buildroot} |
|---|
| 30 | mkdir -p %{buildroot}%{_libdir}/php5/ |
|---|
| 31 | mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d |
|---|
| 32 | %makeinstall INSTALL_ROOT=%{buildroot} |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | cat > %{buildroot}%{_sysconfdir}/php5/php.d/zip.ini <<EOF |
|---|
| 36 | ; Enable zip extension module |
|---|
| 37 | extension=zip.so |
|---|
| 38 | |
|---|
| 39 | EOF |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | %clean |
|---|
| 43 | rm -rf %{buildroot} |
|---|
| 44 | |
|---|
| 45 | %files |
|---|
| 46 | %defattr(-,root,root) |
|---|
| 47 | %doc CREDITS examples |
|---|
| 48 | %{_libdir}/php5/* |
|---|
| 49 | %config(noreplace) %{_sysconfdir}/php5/php.d/* |
|---|
| 50 | |
|---|
| 51 | %changelog |
|---|
| 52 | * Tue Jun 25 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.1-1 |
|---|
| 53 | - new upstream release. |
|---|
| 54 | |
|---|
| 55 | * Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-3 |
|---|
| 56 | - converted encoding to UTF-8. |
|---|
| 57 | |
|---|
| 58 | * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-2 |
|---|
| 59 | - rebuilt with current environment. |
|---|
| 60 | |
|---|
| 61 | * Mon Oct 31 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-1 |
|---|
| 62 | - initial build. |
|---|
| 63 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.