source: projects/specs/trunk/p/php-ext-zip/php-ext-zip-vl.spec @ 8141

Revision 8141, 1.6 KB checked in by tomop, 10 years ago (diff)

updated php extentions.

  • Property svn:executable set to *
Line 
1Summary: A zip management extension for PHP
2Summary(ja): PHP用zip拡張
3Name: php-ext-zip
4Version: 1.12.3
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
11
12%if "%{?req_php_api}" != ""
13Requires: %{req_php_api}
14%endif
15
16Vendor: Project Vine
17Distribution: Vine Linux
18Packager: tomop
19
20%description
21Zip is an extension to create, modify and read zip files.
22
23%description -l ja
24zipモジュールは、zipファイルの生成/変更/読み込みを行うPHP拡張です。
25
26%prep
27%setup -q -n zip-%{version}
28mv ../package.xml ./
29phpize
30
31%build
32%configure
33%__make %{?_smp_mflags}
34
35%install
36rm -rf %{buildroot}
37mkdir -p %{buildroot}%{_libdir}/php5/
38mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
39%makeinstall INSTALL_ROOT=%{buildroot}
40
41
42cat > %{buildroot}%{_sysconfdir}/php5/php.d/zip.ini <<EOF
43; Enable zip extension module
44extension=zip.so
45
46EOF
47
48
49%clean
50rm -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.