Revision 6099,
1.3 KB
checked in by tomop, 12 years ago
(diff) |
added PHP extensions.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[6099] | 1 | Summary: A zip management extension for PHP |
---|
| 2 | Summary(ja): PHP用zip拡張 |
---|
| 3 | Name: php-ext-zip |
---|
| 4 | Version: 1.10.2 |
---|
| 5 | Release: 3%{_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 | * Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-3 |
---|
| 53 | - converted encoding to UTF-8. |
---|
| 54 | |
---|
| 55 | * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-2 |
---|
| 56 | - rebuilt with current environment. |
---|
| 57 | |
---|
| 58 | * Mon Oct 31 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.2-1 |
---|
| 59 | - initial build. |
---|
| 60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.