source: projects/specs/branches/6/p/php-ext-zip/php-ext-zip-vl.spec @ 7918

Revision 7918, 1.4 KB checked in by tomop, 11 years ago (diff)

php5-5.5.5-1

  • Property svn:executable set to *
Line 
1Summary: A zip management extension for PHP
2Summary(ja): PHP用zip拡張
3Name: php-ext-zip
4Version: 1.12.1
5Release: 1%{_dist_release}
6Source: zip-%{version}.tgz
7License: The PHP License
8Group: Development/Languages
9BuildRequires: php5-devel zlib-devel
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11Requires: %{req_php_api}
12
13%description
14Zip is an extension to create, modify and read zip files.
15
16%description -l ja
17zipモジュールは、zipファイルの生成/変更/読み込みを行うPHP拡張です。
18
19%prep
20%setup -q -n zip-%{version}
21mv ../package.xml ./
22phpize
23
24%build
25%configure
26%__make %{?_smp_mflags}
27
28%install
29rm -rf %{buildroot}
30mkdir -p %{buildroot}%{_libdir}/php5/
31mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
32%makeinstall INSTALL_ROOT=%{buildroot}
33
34
35cat > %{buildroot}%{_sysconfdir}/php5/php.d/zip.ini <<EOF
36; Enable zip extension module
37extension=zip.so
38
39EOF
40
41
42%clean
43rm -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.