php-ext-zip-vl.spec 1.4 KB

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