]> git.pld-linux.org Git - packages/php-pecl-vld.git/blame - php-pecl-vld.spec
- php 5.5 rebuild
[packages/php-pecl-vld.git] / php-pecl-vld.spec
CommitLineData
f997e42d 1%define php_name php%{?php_suffix}
4afeedd9 2%define modname vld
2215304b
ER
3Summary: %{modname} - provides functionality to dump the internal representation of PHP scripts
4Summary(pl.UTF-8): %{modname} - dostarcza funkcjonalności do zrzutu wewnętrznej reprezentacji skryptów PHP
f997e42d 5Name: %{php_name}-pecl-%{modname}
4afeedd9 6Version: 0.12.0
24a4dc4f 7Release: 3
1b753bf6
AG
8License: BSD style
9Group: Development/Languages/PHP
2215304b 10Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
4afeedd9 11# Source0-md5: b2b156f1d4aae486f684872c4350b4fa
de1743a0 12URL: http://pecl.php.net/package/vld/
f997e42d
ER
13BuildRequires: %{php_name}-devel >= 3:5.0.0
14BuildRequires: rpmbuild(macros) >= 1.650
7ff8ba7a 15%{?requires_php_extension}
30968b9b 16Requires: php(core) >= 5.0.4
eb485042 17Provides: php(%{modname}) = %{version}
2215304b 18Obsoletes: php-pear-%{modname}
1b753bf6
AG
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
1b753bf6 21%description
437b10d3
ER
22The Vulcan Logic Disassembler hooks into the Zend Engine and dumps all
23the opcodes (execution units) of a script.
1b753bf6 24
1f64879d 25%description -l pl.UTF-8
f1ec1995 26Vulcan Logic Disassembler podłącza się do silnika Zend i zwraca
27wszystkie jednostki wykonawcze (tzw. opcody) danego skryptu.
1b753bf6 28
1b753bf6 29%prep
2215304b
ER
30%setup -qc
31mv %{modname}-%{version}/* .
1b753bf6
AG
32
33%build
1b753bf6
AG
34phpize
35%configure
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
5aad2d91 40install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
2215304b
ER
41install -p modules/%{modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
42cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
43; Enable %{modname} extension module
44extension=%{modname}.so
7ff8ba7a 45EOF
1b753bf6
AG
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post
5aad2d91 51%php_webserver_restart
1b753bf6 52
7ff8ba7a
ER
53%postun
54if [ "$1" = 0 ]; then
5aad2d91 55 %php_webserver_restart
1b753bf6
AG
56fi
57
58%files
59%defattr(644,root,root,755)
2215304b
ER
60%doc Changelog CREDITS
61%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
62%attr(755,root,root) %{php_extensiondir}/%{modname}.so
This page took 0.070933 seconds and 4 git commands to generate.